>
>
>
> $(document).ready(function() {
>     $("#main #welcome a").hover(
>         function() {
>             var href = $(this).attr('href');
>             var a1 = href.split("DURL=");
>             if (a1 != href) {
>                 window.status = a1[1];
>             }
>         }
>     );
> });
>
>
> On mouseover, the status bar display is not affected.  On mouseout,  
> FireBug reports the following error message:
>
>
> g has no properties
> handleHover(mouseout clientX=0, clientY=0 )jquery-packed.js (line 1)
> e( mouseout clientX=0, clientY=0)jquery-packed.js (line 1)
> e ()jquery-packed.js (line 1)
>  eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/ 
> a)))+((c=c%a...

hover() requires two functions as arguments: one for mouseover and one  
for mouseout. Use mouseover instead
$("#main #welcome a").mouseover(

However, a lot of Web browsers don't let you change the status bar.  
Firefox (at least version 2) has disabled the option to control the  
status bar with JavaScript--your end users will have to have purposely  
opened their Firefox preferences and enabled the option for your  
script to work.

I just tested in Safari 3 and it also won't allow script control of  
the status bar

--dave

Reply via email to