This Message Forum is no longer in use

Please use the new Bravenet Help Forums FOUND HERE

General Forum
This Forum is Locked
Author
Comment
Button problems

Hi,
I downloaded butttons I made on an online service, but I have the mouse-over button separate to the
normal button. How do I link the original button and the mouse-over button?

Thankyou and please excuse my ignorance.
RJager

Browser: rjagr@iprimus.com.au,3

Re: Button problems

The normal and mouse over buttons should be separate images. What you do is define the normal image to be use at startup, and then define mouse events to switch the images. In the example below, The tag sets the normal image and the mouse events do the switching.

My HomePage

As indicated by the highlighted names, each link must contain a unique name and, of course, the images can be named anything you want. Pay careful attention to the use of single and double quotes. A missing quote will kill you.

You may see some initial delay, the first time you place the mouse over a button. But once the images are loaded the switch will be quick. You can eliminate that delay by including a Javacript proload script. I think Bravenet has one or two in their script archive.