Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0
This is the forum to discuss the Wrox book Professional JavaScript for Web Developers by Nicholas C. Zakas; ISBN: 9780764579080
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 8th, 2006, 07:09 PM
Registered User
 
Join Date: Aug 2006
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to albeik Send a message via MSN to albeik Send a message via Yahoo to albeik
Default Safari does not trigger onmouseout

Hi everyone,

First of all -- the book is an excellent resource! Excellent work Nicholas.

I just wanted to quickly note that this works fine in IE5+,IE6+,Firefox,Opera but not Safari.

The problem can be seen here: http://albeik.com/js/

When hovering (in and out) over the "text" inside the DIVs, the onmouseout event for the text's DIV does not get triggered in Safari.

The source is pretty simple and easy to read:
 - on load generate divs
 - attach divs to mouseover and mouseout handlers

Make sure to hover the mouse above the text inside the DIVs. When you move out of the DIV -- the DIV's onmouseout doesn't get triggered. :(

Anyone have any recommendation as to why this is happening or what one would suggest to further debug this problem? Any help would be appreciated.


Reply With Quote
  #2 (permalink)  
Old August 8th, 2006, 11:35 PM
Registered User
 
Join Date: Aug 2006
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to albeik Send a message via MSN to albeik Send a message via Yahoo to albeik
Default

I did a debug text-area...

Looks like in Safari it triggers an "undefined" tagName -- I think it is referring to the TextNode inside the Div.
Does anyone know how can this be handled?

I updated the page with debug if that helps... http://albeik.com/js/

Reply With Quote
  #3 (permalink)  
Old August 14th, 2006, 07:34 PM
Registered User
 
Join Date: Aug 2006
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to albeik Send a message via MSN to albeik Send a message via Yahoo to albeik
Default

Anyone? :-P

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
javascript in safari arafat.eajaz Javascript 0 September 5th, 2008 02:06 AM
OnMouseOver & OnMouseOut tal Javascript How-To 4 July 19th, 2007 02:29 PM
OnMouseOut for definitions of names. Possible? gilgalbiblewheel Java Databases 1 September 18th, 2004 02:00 PM
tell about safari -n- konqueror anshul HTML Code Clinic 2 August 26th, 2004 09:32 PM
Safari Browser Larson HTML Code Clinic 0 February 11th, 2004 10:55 PM



All times are GMT -4. The time now is 12:27 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.