Mouse over message display

X

Xsive85

i require some help... my company used to have VERY terrible link managements
so i have changed the code so anyone (even my boss) can change it in the
future because the companies that used to do it for him used to charge an arm
and a leg for not even doing what he asked for.
my problem, boss wants on his site when u click on the menu links at the
bottom left where "done" appears for the link text to appear.

eg when hovering over "Home" in the links at the bottom left where done it
instead of the site url appearing the words "Home Page" to appear. my current
coding is a follows.

loadImage9 = new Image();
loadImage9.src = "http://www.mdhs.com.au/links/Homepage2.gif";
staticImage9 = new Image();
staticImage9.src = "http://www.mdhs.com.au/links/Homepage.gif";

<a href="http://www.mdhs.com.au" onmouseover="image9.src=loadImage9.src;"
onmouseout="image9.src=staticImage9.src;">
<img name="image9" src="http://www.mdhs.com.au/links/HomePage.gif" border=0
width="189" height="26"></a>

can anyone please help!!
 
R

Ronx

Convince your boss to think again. The Status bar text is protected in
modern browsers (IE7, FireFox) which can be set to ignore any attempt to
change that text.

You could use a title attribute in the link to pop-up some text on
mouseover describing the target page.

<a href="http://www.mdhs.com.au" title="Home Page"
onmouseover="image9.src=loadImage9.src;"
onmouseout="image9.src=staticImage9.src;">
<img name="image9" src="http://www.mdhs.com.au/links/HomePage.gif"
border=0 width="189" height="26" alt="Home Page"></a>

Note that the images should have alt attributes for those browsers that
do not render images.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top