An effective way to advertise or promote a product is the Catfish pop-up, so
called because it lies on the bottom of the browser. Less annoying than fullblown pop-ups and to me much better than adverising embedded within content. I’ve mocked up two example pages a transparency example and an example form.
This Javascript code will add a handler to a cancel button on a form, so that when the button is clicked the user is returned to the page that requested the form.
This is useful when you have more than one route to a form, such as an edit link on a table or an edit [...]
Make “Copyright 2006″ become “Copyright 2006-2007″ when 2007 arrives.
Rather than update copyright dates by hand or with server side code, it’s sometimes useful to use Javascript.
This JavaScript will pick up the users timezone offset and place it nto a cookie. This is useful for when you want to diaply times in your web application taking the users location into account.
As the timezone is placed in a cookie it can be extracted by any serverside scripting technology. Javascript returns the timezone [...]