onChange without using select?

E

Evolution

I've been googling for at least a coupe of hours trying to find
something that must not exist. I want to replace a pull-down menu
with a horizontal menu where the horizontal menu does not employ drop-
downs.

Thus: 1 2 3 instead of a vertical drop-down of 1 2 3.

<select id="beatles" onchange="updateBeatles()">
<option value="john">John</option>
<option value="paul">Paul</option>
<option value="george">George</option>
<option value="ringo">Ringo</option>
</select>

The onchange is necessary. The horizontal menu should resemble those
in e.g. Apple's Security System Pref where one may choose between
General, FileVault or Firewall.

If anyone can provide a link with a demo or 'try it yourself',
that is all I need. Many thanks.
 
J

Jeff North

On Mon, 30 May 2011 21:04:53 -0700 (PDT), in comp.lang.javascript
Evolution <[email protected]>
| I've been googling for at least a coupe of hours trying to find
| something that must not exist. I want to replace a pull-down menu
| with a horizontal menu where the horizontal menu does not employ drop-
| downs.
|
| Thus: 1 2 3 instead of a vertical drop-down of 1 2 3.
|
| <select id="beatles" onchange="updateBeatles()">
| <option value="john">John</option>
| <option value="paul">Paul</option>
| <option value="george">George</option>
| <option value="ringo">Ringo</option>
| </select>
|
| The onchange is necessary. The horizontal menu should resemble those
| in e.g. Apple's Security System Pref where one may choose between
| General, FileVault or Firewall.
|
| If anyone can provide a link with a demo or 'try it yourself',
| that is all I need. Many thanks.

Do you mean something like these:
http://www.cssplay.co.uk/menus/cssplay-pushpull.html

Have a look at some of the drop-line menus.
 

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

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top