Topic: onmousemove event problem, conflict with select? (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=27740" title="Pages that link to Topic: onmousemove event problem, conflict with select? (Page 1 of 1)" rel="nofollow" >Topic: onmousemove event problem, conflict with select? <span class="small">(Page 1 of 1)</span>\

 
H][RO
Bipolar (III) Inmate

From: Australia
Insane since: Oct 2002

posted posted 04-06-2006 09:07

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*

H][RO
Bipolar (III) Inmate

From: Australia
Insane since: Oct 2002

posted posted 04-07-2006 03:16

No one?

Ugh... i hate these form selects, they seem to be the root of many problems.

Anyone know the best term to look up regarding form selects in google etc? The term 'select' is too broad, they must be known as something else.

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 04-07-2006 12:41

The Select Frame in IE <= 6 is actually a windows control and does not behave in any coherent way in relation to the other controls.

I'm afraid you're mostly out of luck, either built your own drop down select or wait for IE 7.

H][RO
Bipolar (III) Inmate

From: Australia
Insane since: Oct 2002

posted posted 04-08-2006 02:31

Damn oh well... at least i know not to chase my tail then


I see you call it the Select Frame ? is there a reason for that 'frame' ?



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu