Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 8th, 2006, 07:09 PM
Registered User
 
Join Date: Aug 2006
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.


 
Old August 8th, 2006, 11:35 PM
Registered User
 
Join Date: Aug 2006
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/

 
Old August 14th, 2006, 07:34 PM
Registered User
 
Join Date: Aug 2006
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






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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.