I have a list of items on a page with a set of controls for MoveUp, MoveDown, and Delete.
The controls are located at the top of the list, hidden by default. When you hover over the item line, I select the controls with jquery
//doc ready function: .. var tools = $('#tools'); $('#moveup').click(MoveUp); $('#movedn').click(MoveDn); $('#delete').click(Delete); .. $('li.item').mouseover(function(){ $(this).prepend(tools); });
This works fine in Firefox .. the tools jump to the current line, and click events call ajax functions. However, in IE6 and IE7 there is no click. I tried to untie with the mouse and bandage on each tip .. to no avail.
I also looked at various reasons outside of javascript (e.g. transparent conflicts png, z-index, position: absolute) .. also no solutions were found.
In the end, I needed to add a toolbar to each element and show / hide the mouse. It works just as well - the only drawback is that I have a lot more “tools” on my page.
Does anyone know why IE ignores / rolls / kills mouse events after moving objects (using prepend)? And why does re-triggering an event also have no effect? The annoyance calmed me for almost 2 hours before I gave up.
misteraidan
source share