Top Tutorials
This page has two floating layers. The first one is fixed to its location as defined by the inline code and the second is defined to float at the bottom of the screen by calculating an offset at load time. The strict doctype is require for it to work, otherwise you have to deal with quirks mode and the browsers do the positioning calculation differently and not to standard in quirks mode. The mouse scrollwheel will not work for some drivers. You have to use the slider on the screen
|
Trackback
|
Tags:
web
programming
dhtml
css
javascript
All
| Add this link to...
Add to: My Bookmarks | del.icio.us | Spurl | Blinklist
This will put the current date and time in a text field as a running clock. Also a button to set the clock will grab the current time and just display it as a static value; useful when you are timing an event. The clock string can be formatted any way you want it. It is just a matter of extracting the desired pieces from the date object. Because it is in a form field, it also means you can include the exact date of submission right off the form as well.
|
Trackback
|
Tags:
programming
forms
web
All
| Add this link to...
Add to: My Bookmarks | del.icio.us | Spurl | Blinklist
There are many examples of client side validation of date fields. Writing code to validate a date in JavaScript can turn into a large an ugly experience. That is why there are so many examples. Without a doubt, the fastest and best way to validate a field is by use of JavaScript's regular expression object. The hard part is coming up with a good regular expression to validate a date.
|
Trackback
|
Tags:
web
programming
forms
All
| Add this link to...
Add to: My Bookmarks | del.icio.us | Spurl | Blinklist