homepage Welcome to WebmasterWorld Guest from 54.166.159.110
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Onmouseover / out in Firefox status bar
array element display - works like clock in IE - no luck in Firefox
Vork

10+ Year Member



 
Msg#: 3440 posted 6:47 pm on Mar 25, 2005 (gmt 0)

Hi guys,

would appreciate some help here...

I have a JS array, call it Links where i am storing all absolute external urls to other domains that I want to JS redirect thru window.open() later on page

the array is stored within an internal script and is invoked in the following way:

<A onmouseover="window.status=Links[0];return true" onclick=window.open(Links[0]) onmouseout="window.status=''; return true" href="javascript:void(0)">some anchor</A>

the strangest thing is:

Firefox understands Links[0] as first element of this array at onclick and opens a window for this url BUT doesnt recognize it for onmouseover!

to make it even funnier if you call alert(Links[0]) at onmouseover - it bloody works fine :)

any clues guys?

i cant believe it's a firefox bug - should be my lame hands:)

 

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved