Timothy E. Archer

System.out.println("Hello World!");

Browsing Posts in Web (HTML, CSS, Javascript)

After I installed Drupal and established this blog, I noticed that when I showed you a code snippet surrounded by a PRE tag the text in it would not wrap. Instead if it was wider than your screen you would have to scroll your browser horizontally. The solution was to use CSS to tell the browser to wrap text that is displayed within the PRE tag. In my stylesheet, I set the following for the PRE tag:

continue reading…

One useful tool for web applications is a simple calendar control that you can call from your date input form fields. Having the ability to popup a calendar and select the date makes it easier for users who have to enter dates for future appointments, tasks, and reminders. By doing this the user doesn’t have to look at a separate calendar outside of your web application. Years ago I spent hours writing my own calendar control to do this, and quite frankly, I lost the code and didn’t want to have to rewrite it for my most recent project. So off to Google I went to begin my search. Within a few minutes I had found a control that does exactly what I want from Matt Kruse’s Javascript Toolbox.

Matt Kruse’s examples are very easy to follow, and I think his JavaScript tools are top notch material. I intend to integrate his JavaScript table sorting code into my application next. Below I will detail the steps I performed to get the calendar control working: continue reading…

Powered by WordPress Web Design by SRS Solutions © 2012 Timothy E. Archer Design by SRS Solutions