Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
OnMouseOver Show More Options
Old 12-18-2009, 12:46 PM OnMouseOver Show More Options
MoForce's Avatar
Super Talker

Posts: 145
Name: Jack Shalt
Trades: 0
I have a dropdown box and I'd like to have it such that if the mouse goes over one option, more options appear... is that possible?

EXAMPLE:

Test 1
Test 2

When mouse moves over "Test 1" a new set of options appears

Test 1
>blah
>blah
>blah
Test 2

Thanks

Last edited by MoForce; 12-18-2009 at 01:07 PM..
MoForce is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-18-2009, 04:50 PM Re: OnMouseOver Show More Options
Average Talker

Posts: 20
Trades: 0
Check out w3schools.com. They have many javascript examples, and I believe that this is very similar to one of them.
trafficke.com is offline
Reply With Quote
View Public Profile
 
Old 12-18-2009, 06:25 PM Re: OnMouseOver Show More Options
MoForce's Avatar
Super Talker

Posts: 145
Name: Jack Shalt
Trades: 0
I don't think they do... I don't mean dropdown menu

I mean with one of these...
Code:
                <select id="qqq" name="qqq">
                <option value="Test1">Test1</option>
                <option value="Test2">Test2</option>
                </select>
MoForce is offline
Reply With Quote
View Public Profile
 
Old 12-18-2009, 06:56 PM Re: OnMouseOver Show More Options
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
http://www.devcurry.com/2009/04/usin...down-html.html
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-18-2009, 09:03 PM Re: OnMouseOver Show More Options
MoForce's Avatar
Super Talker

Posts: 145
Name: Jack Shalt
Trades: 0
okay... to clear things up i made an image... hopefully now this'll make some sense

MoForce is offline
Reply With Quote
View Public Profile
 
Old 12-19-2009, 06:39 AM Re: OnMouseOver Show More Options
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Why not just use the optgroup tag for what it is intended?
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-20-2009, 11:01 AM Re: OnMouseOver Show More Options
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Just thought I'd have a play with this.

http://www.modtalk.co.uk/_site/code/...t-sub-options/

Behaves perfectly in Firefox and SeaMonkey.

Doesn't work at all in IE8 and presumably lower. No surprises there then! but does leave it as it would be "normally"

Opera and Chrome set the sub options as hidden in the list, but Chrome will show them when selected??
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-20-2009, 05:24 PM Re: OnMouseOver Show More Options
Brian07002's Avatar
Defies a Status

Posts: 2,162
Name: ...
Location: ...
Trades: 0
Google never fails with this kind of stuff:

http://www.google.com/webhp?hl=en#hl...6c7832dbb01be6
__________________
Made2Own

Please login or register to view this content. Registration is FREE
Brian07002 is offline
Reply With Quote
View Public Profile
 
Old 12-20-2009, 05:27 PM Re: OnMouseOver Show More Options
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
They are LINKED select boxes which is not what the OP seems to be after
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to OnMouseOver Show More Options
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.28290 seconds with 12 queries