I had a similar problem with a menu I created once. It sounds like you are getting a mouse event firing where you did not expect it. The fact that it occurs only sometimes tells me that the object you're having trouble with is probably a container that only exposes a pixel or two. Depending on how fast you move the mouse and timing you may or may not get an event triggering on that container. Try moving your mouse VERY slowly and see if you can get the error repeatedly.
Warren wrote: > I created a menu that pops up a certain target is clicked. The menu > remains visible until the user clicks a selection from the menu, or > moves the mouse away from the menu - implimented with onmouseleave. It > works swimmingly - almost. I messed with it for a long time because I > was so happy to see it work. (I love Mochikit.Signal - great job Bob!) > Then I happened to do something just right to make it break. If I move > the mouse pointer down off the bottom of the div - I can occasionally > get this error: > > node.tagName has no properties - DOM.js (line 343) > > That's right. I said Occasionally. It behaves differently on different > runs. Sometimes it works. Sometimes it errors. That is making it very > hard for me to debug. The menu is a div with each menu item being a div > nested inside it. The outer div has the onleave signal set to hide the > menu. Each menu element has an onclick signal set to make the > selection, then hide. > > I am using Mochikit 1.4 and Firefox on Linux. All events are handled > with Mochikit.Signal. I know 1.4 hasn't been 'released' yet. Perhaps > this is still being worked out. Perhaps I did something wrong. > > I can post relevant source if necessary, but its long, spread over > several files. > > Any help would be appreciated. > > Warren --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MochiKit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit -~----------~----~----~----~------~----~------~--~---
