RSS Forums RSS
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 11347 | Replies: 6 | Thread Tools  Display Modes
Reply
Join Date: Sep 2004
Posts: 4
Reputation: khoomy is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
khoomy khoomy is offline Offline
Newbie Poster

<select> options selection on mouse over

  #1  
Sep 2nd, 2005
hey ppls
i hv a list embeded in div . it will be filled by ajax and shown on that time under a text field just like Google Suggest.

All i want to do is to select its options while mouse is moving around its options.

<div id="list" class="hide">
<select multiple=true onmouseover="tell me the script">
</select>
</div>

plz help me

thnx
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2004
Posts: 1,592
Reputation: tgreer is an unknown quantity at this point 
Rep Power: 8
Solved Threads: 35
Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: <select> options selection on mouse over

  #2  
Sep 2nd, 2005
Your question isn't clear. A user selects options by clicking the mouse. I'm sure you know that, but that appears to be what you're asking. Please be more specific, and it would help tremendously if you would use real words and complete sentences. Otherwise people have to struggle to understand your message.
Reply With Quote  
Join Date: Aug 2005
Posts: 20
Reputation: cppforlife is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
cppforlife cppforlife is offline Offline
Newbie Poster

Re: <select> options selection on mouse over

  #3  
Sep 3rd, 2005
I think he meant how to do the drop down list like when you typing in the google sugest search ( http://www.google.com/webhp?complete=1&hl=en ).
Reply With Quote  
Join Date: Sep 2004
Posts: 4
Reputation: khoomy is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
khoomy khoomy is offline Offline
Newbie Poster

Re: <select> options selection on mouse over

  #4  
Sep 7th, 2005
i want to navigate/select in the drop down list on taking mouse pointer on the list as you can see it in Google Suggest
when a drop down list is opened after typing some character(s), then take mouse pointer on the drop down list it will select the options of the list on which mouse pointer points. i want to do this thing. i have done all stuff excluding this mouse over effect.
i hope i made you clear now.
if not then do tell me please
thnx
bye
Reply With Quote  
Join Date: Dec 2004
Posts: 1,592
Reputation: tgreer is an unknown quantity at this point 
Rep Power: 8
Solved Threads: 35
Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: <select> options selection on mouse over

  #5  
Sep 7th, 2005
I'm still not clear what you want to do. If you already have a working select list, then a user selects an option by clicking that option. Surely you don't want to select an option when the user "hovers" over an option. That would render your select list unusable, as a user could never browse through the option list. The first one they touch would get "selected".

If you code the "onmouseover" handler for the select control, the user won't even be able to see any of the options. The event will fire as soon as the mouse enters the control; none of the options will have a chance to display.

That leaves you with coding "onmouseover" for the individual options. You can do that, but again, the first one the user touches will trigger the event, making the control virtually useless.

That isn't how Google Suggest works.

Please try another explanation. Use short, clear sentences. Explain each step. Tell us what you have already have working, and what isn't working. Show us small code sections to illustrate.

If you'd like to do me a personal favor, please capitalize "I" in your postings.
Reply With Quote  
Join Date: Nov 2006
Posts: 1
Reputation: smithasathyam is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
smithasathyam smithasathyam is offline Offline
Newbie Poster

Re: <select> options selection on mouse over

  #6  
Nov 10th, 2006
Originally Posted by tgreer View Post
I'm still not clear what you want to do. If you already have a working select list, then a user selects an option by clicking that option. Surely you don't want to select an option when the user "hovers" over an option. That would render your select list unusable, as a user could never browse through the option list. The first one they touch would get "selected".

If you code the "onmouseover" handler for the select control, the user won't even be able to see any of the options. The event will fire as soon as the mouse enters the control; none of the options will have a chance to display.

That leaves you with coding "onmouseover" for the individual options. You can do that, but again, the first one the user touches will trigger the event, making the control virtually useless.

That isn't how Google Suggest works.

Please try another explanation. Use short, clear sentences. Explain each step. Tell us what you have already have working, and what isn't working. Show us small code sections to illustrate.

If you'd like to do me a personal favor, please capitalize "I" in your postings.
hi,

my issue is also the same, all i want is a mouseover on the options, i mean to say my <select> box is filled with values from DB using ajax. on mouse over of the options i need to display the options full text. as i have restricted the select box.
Reply With Quote  
Join Date: Jul 2006
Location: Deptford, London
Posts: 989
Reputation: MattEvans has a spectacular aura about MattEvans has a spectacular aura about MattEvans has a spectacular aura about 
Rep Power: 6
Solved Threads: 52
Moderator
Featured Poster
MattEvans's Avatar
MattEvans MattEvans is offline Offline
Posting Shark

Re: <select> options selection on mouse over

  #7  
Nov 10th, 2006
do you want the box to appear intelligent and assume one of the values from the options is what the user is typing?

http://www.devarticles.com/c/a/JavaS...-AutoComplete/

don't know if it works, if it doesn't, search for "javascript autocomplete select" on a searchengine, without the quotes.
Plato forgot the nullahedron..
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 8:15 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC