[ 5 posts ]

alexlebek

  • Joined: Fri Nov 13, 2009 1:47 am
  • Posts: 67
  • Offline
  • Profile

IE6 node-menunav problem with mouse events

Post Posted: Fri Aug 20, 2010 5:49 am
+0-
Hi,

I have a problem figuring out why mouse events are not working with node-menunav in IE6 (key nav works ok).
No problems in IE8 and Firefox.

The problem can be seen in IE6 in this site:
http://www.gledhow.leeds.sch.uk/gps_v2/index.php

Any pointers/help appreciated as site users are unlikely to warm to upgrades or browser changes - and I am hoping to avoid going back to YUI2 for menus.

Thanks
Alex

alexlebek

  • Joined: Fri Nov 13, 2009 1:47 am
  • Posts: 67
  • Offline
  • Profile

Re: IE6 node-menunav problem with mouse events

Post Posted: Tue Aug 24, 2010 12:14 pm
+0-
Hi,
Sorry to come back on this but does it ring any bells with anyone? I've looked through tickets and can't see a match. Just wondered if IE6 not expected to work - I don't have access to IE7 so not sure about that. I'm not sure whether to go back to yui2 node menunav. Thanks.

Alex

alexlebek

  • Joined: Fri Nov 13, 2009 1:47 am
  • Posts: 67
  • Offline
  • Profile

Re: IE6 node-menunav problem with mouse events

Post Posted: Wed Aug 25, 2010 7:05 am
+0-
ok - The split nav dropdown menunav yui3 example works in this website with IE6. Looks like this is my problem. I should have thought to check that first. Soz.

Alex

alexlebek

  • Joined: Fri Nov 13, 2009 1:47 am
  • Posts: 67
  • Offline
  • Profile

Re: IE6 node-menunav problem with mouse events

Post Posted: Thu Aug 26, 2010 12:51 am
+0-
OK - I now know what is causing the problem but no idea why.

I have set up 2 test menus using node menunav plugin (see example at http://www.gledhow.leeds.sch.uk/gps_v2/index.php ) like so:

Y.on('domready', function() {
// first menu
var demomenu1 = Y.one("#productsandservices1");
demomenu1.plug(Y.Plugin.NodeMenuNav, { autoSubmenuDisplay: false, mouseOutHideDelay: 0 });

// second menu
demomenu2 = Y.one("#productsandservices2");
demomenu2.set('innerHTML', demoshtml);
demomenu2.plug(Y.Plugin.NodeMenuNav, { autoSubmenuDisplay: false, mouseOutHideDelay: 0 });

The first menu, productsandservices1, is created from markup already in the page. No problems there.

The markup for the second root menu node - productsandservices2 - is inserted as a string of html when the 'domready' event is fired.

I have the website menus using the second method as the menu item urls are set dynamically on load. Setting the menu content in this way is what appears to be causing the problem in IE6. It is as though the plugin's event listeners are not set up.

Any idea what is going on here? Or why all is fine in Firefox, IE8, Chrome ...?

Thanks
Alex

Ryan Grove

YUI Developer

  • Username: rgrove
  • Joined: Tue Dec 09, 2008 9:55 pm
  • Posts: 275
  • Location: Portland, OR
  • Twitter: yaypie
  • GitHub: rgrove
  • Gists: rgrove
  • IRC: rgrove
  • YUI Developer
  • Offline
  • Profile

Re: IE6 node-menunav problem with mouse events

Post Posted: Mon Aug 30, 2010 11:28 am
+0-
Can you provide a reduced test case that reproduces this issue? This will make it much easier to debug.
  [ 5 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum