OZONE Asylum
Forums
DHTML/Javascript
onmousemove event problem, conflict with select?
This page's ID:
27740
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Hi all... well i have a little bit of hair left after finally finding the problem. Basically i have a number of iframes, some which show ontop of others - in one that was infront i was trying to capture mouse positions for a color picker. Should have been pretty straight forward. However.... it wasnt registering when the mouse moved, i set a div mousemove event to be handled by some function, and it only seemed to register each time i left the div, however when i left it printed out a backlog of the mouse positions - so it was actually recording them - just not giving me the positions on the fly. The best way to explain is to show you - made some examples: How it should work: http://iisoft.biz/cms/rtetest3.php How it is working: http://iisoft.biz/cms/rtetest2.php Basically i tracked the problem down to this: If you have an iframe above an element which has a forms <select> element - then you will get the problem. There lies the problem, as that is what I have - anyone see a way around this, or why it happens in the first place? The iframe that is on top merely has to be touching the bottom frame with the <select> element and it causes a problem. I tried changing the mousemove event of the select element to null, but that didnt help either. Also the problem only happens if the select element is scrolled into view, so basically if the top iframe touches the select element at all. Crazy *cry*
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »