Wheel mouse problem?

A

Alex567

My website gathers users information from a form. It includes several drop
down list boxes that deliberately contain test information so that, using
scripts for the change event, the site can decide whether the client is
suitable. The unacceptable options are always placed at the bottom of the
list. However, the input form is longer than the screen size and the user has
to scroll down. If he uses his scroll wheel when a drop down list still has
focus the options list is scrolled to the unacceptable items at the bottom
and the change event is immediately triggered, without a click of the mouse.
This has the effect of rejecting potential customers by mistake. Is there any
way I can disable the scroll wheel while the user is on that page? Any other
ideas?
 
T

Tom [Pepper] Willett

Study this page:

http://www.frontpagewebmaster.com/m-229326/tm.htm
--
===
Tom [Pepper] Willett
Microsoft MVP - FrontPage
---
FrontPage Support:
http://www.frontpagemvps.com/
===
| My website gathers users information from a form. It includes several drop
| down list boxes that deliberately contain test information so that, using
| scripts for the change event, the site can decide whether the client is
| suitable. The unacceptable options are always placed at the bottom of the
| list. However, the input form is longer than the screen size and the user
has
| to scroll down. If he uses his scroll wheel when a drop down list still
has
| focus the options list is scrolled to the unacceptable items at the bottom
| and the change event is immediately triggered, without a click of the
mouse.
| This has the effect of rejecting potential customers by mistake. Is there
any
| way I can disable the scroll wheel while the user is on that page? Any
other
| ideas?
 
A

Alex567

Thanks Tom, sadly this doesn't really work. While the onMouseWheel code
prevents the mouse wheel from use while the user is selecting from the list
as soon as he has made his selection the protection disappears. While the
DDList still keeps focus, after selection any movement of the mousewheel
changes the selection again. I tried appling the onMouseWheel code to the
whole form but that didn't work either. Is their any way of forcing the focus
to move after the user makes his selection?
 
T

Tom [Pepper] Willett

Try Googling, which is where I came up with this. From what I've seen, it
can't be done.
--
===
Tom [Pepper] Willett
Microsoft MVP - FrontPage
---
FrontPage Support:
http://www.frontpagemvps.com/
===
| Thanks Tom, sadly this doesn't really work. While the onMouseWheel code
| prevents the mouse wheel from use while the user is selecting from the
list
| as soon as he has made his selection the protection disappears. While the
| DDList still keeps focus, after selection any movement of the mousewheel
| changes the selection again. I tried appling the onMouseWheel code to the
| whole form but that didn't work either. Is their any way of forcing the
focus
| to move after the user makes his selection?
|
| "Tom [Pepper] Willett" wrote:
|
| > Study this page:
| >
| > http://www.frontpagewebmaster.com/m-229326/tm.htm
| > --
| > ===
| > Tom [Pepper] Willett
| > Microsoft MVP - FrontPage
| > ---
| > FrontPage Support:
| > http://www.frontpagemvps.com/
| > ===
| > | > | My website gathers users information from a form. It includes several
drop
| > | down list boxes that deliberately contain test information so that,
using
| > | scripts for the change event, the site can decide whether the client
is
| > | suitable. The unacceptable options are always placed at the bottom of
the
| > | list. However, the input form is longer than the screen size and the
user
| > has
| > | to scroll down. If he uses his scroll wheel when a drop down list
still
| > has
| > | focus the options list is scrolled to the unacceptable items at the
bottom
| > | and the change event is immediately triggered, without a click of the
| > mouse.
| > | This has the effect of rejecting potential customers by mistake. Is
there
| > any
| > | way I can disable the scroll wheel while the user is on that page? Any
| > other
| > | ideas?
| >
| >
| >
 
K

Kevin Spencer

I believe you could use the "onmouseout" event of the select element to set
the focus on the document:

<select ... onmouseout="document.focus()" ...>

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Show me your certification without works,
and I'll show my certification
*by* my works.

Alex567 said:
Thanks Tom, sadly this doesn't really work. While the onMouseWheel code
prevents the mouse wheel from use while the user is selecting from the
list
as soon as he has made his selection the protection disappears. While the
DDList still keeps focus, after selection any movement of the mousewheel
changes the selection again. I tried appling the onMouseWheel code to the
whole form but that didn't work either. Is their any way of forcing the
focus
to move after the user makes his selection?

Tom [Pepper] Willett said:
Study this page:

http://www.frontpagewebmaster.com/m-229326/tm.htm
--
===
Tom [Pepper] Willett
Microsoft MVP - FrontPage
---
FrontPage Support:
http://www.frontpagemvps.com/
===
| My website gathers users information from a form. It includes several
drop
| down list boxes that deliberately contain test information so that,
using
| scripts for the change event, the site can decide whether the client is
| suitable. The unacceptable options are always placed at the bottom of
the
| list. However, the input form is longer than the screen size and the
user
has
| to scroll down. If he uses his scroll wheel when a drop down list still
has
| focus the options list is scrolled to the unacceptable items at the
bottom
| and the change event is immediately triggered, without a click of the
mouse.
| This has the effect of rejecting potential customers by mistake. Is
there
any
| way I can disable the scroll wheel while the user is on that page? Any
other
| ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top