Four different button resources are created in the example below. Each one is used to create a button control. From left to right: normal button, checkbox, web-button and signal.
In IE 5 and later browsers, clicking the link opens
the dialog to set the current page as the visitor's
homepage. An IE conditional comment prevents the link
from showing in other browsers that do not support this.
Browsers: IE 5 and later (degrades gracefully in others)
We first need to understand how this script should work. At first sight it looks quite elementary: Whenever the user moves the mouse pointer over the button, the button changes own state (one picture is replaced with another).
Insert the below anywhere into the section of your page Change the two image names in function "change2()" to reflect the ones used above. Change the target URLs in function "jumpto()" to your own (ie:http://www.yahoo.com):
This is a Cross Browser Javascript Button Ticker that ticks a number of messages on a button.You can change the direction in which the message ticks. (i.e the order in which the message ticks).
This ticker is very easy to customise. You can add any number of messages and their corresponding URLs. Messages must be added to the array ticker_msg and the URLs must be added to the array ticker_url.
This ticker ticks the messages on a button. You can change the style of the button easily.
The ticker speed can be changed easily by changing the value of the variable ticker_speed. (Here it is 1, which means that the message would change every 1 second.)
To use this script, you just have to copy the
Join Mailing List
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.