Forum Moderators: open

Message Too Old, No Replies

Help with onmouseover (status bar)

         

jaffstar

9:01 am on Feb 18, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I am trying to hide a long affiliate url by using the onmousever command to reflect a short url in the status bar. It all seems to work fine, except! When you hover over the url, the url is reflected correctly in the status bar (test.com), but when you take your mouse off the url it does not go blank like it should .

This is the code I am using:

<a href="http://www.test.com/aff=123" onMouseOver="window.status='http://www.test.com';return true;"onMouseOut="window.status=";return true;">cool widgets</a>

Bernard Marx

2:07 pm on Feb 18, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



<a href="http://www.test.com/aff=123" onMouseOver="window.status='http://www.test.com';return true;" onMouseOut="window.status=[blue]''[/blue];return true;">cool widgets</a> 

- There was 1 double quote where there should be 2 single quotes
- There was no space between the end of the onmouseover and the onmouseout (although you can sometimes get away with it)

jaffstar

4:06 pm on Feb 18, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks. Got it working