Forum Moderators: open

Message Too Old, No Replies

Jump menus

An example please

         

Nick_W

4:09 pm on Aug 6, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi everyone,

I need an example of a jump menu please. I recently got paid for doing one of these but I've completely forgotten it and can't find the original code or remember the site url I did it for...

Such a pillock sometimes!

Nick

moonbiter

4:44 pm on Aug 6, 2002 (gmt 0)

10+ Year Member



Plenty of samples here [javascript.internet.com]. Try looking at some of the "pulldown menus" for examples.

ergophobe

6:00 pm on Aug 6, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Okay, I've got to ask - can you define a "jump menu" for me?

Tom

tedster

6:06 pm on Aug 6, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It a dropdown select list which automatically jumps to the chosen page when you change the default. It keeps lists of nav choices out of view, which can be good or bad for usability, depending on how and where it's used.

In earlier days, people were using them just to show off their newly acquired javascript savvy - and it drove me nuts because I couldn't see what my choices were just by looking at the page. I felt like a prisoner!

But used well, and for a supporting purpose (a list of references, clearly labeled as such, for instance) it can decrease page clutter and help usability.

Nick_W

6:26 pm on Aug 6, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



So can someone pleeeeease post a simple example...

Nick

korkus2000

6:28 pm on Aug 6, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



We are all a little weary after this discussion.
[webmasterworld.com...]

korkus2000

6:34 pm on Aug 6, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There is an example in msg #7 by NFFC
[webmasterworld.com...]

Nick_W

7:40 pm on Aug 6, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks everyone. Actually I just found my original one. It looks quite a bit simpler than the one you mentioned..

<form method="post" action="" onsubmit="return false;">
<select class="select" onchange="location.href=this.value;">
<option value="/optimization/">Test link one</option>
<option value="/database/">Test link two</option>
<option value="/contact/">Test link three</option>
<option value="/design/">Test link four</option>
<option value="/articles/">Test link five</option>
<option value="/about/">Test link six</option>
</select></p>
</form>

Nick

tedster

8:07 pm on Aug 6, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



That's coding efficiency at work - I like it! I think that's a common enough function that it belongs in the generic javascript thread [webmasterworld.com].

Nick_W

8:30 pm on Aug 6, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Right. That does it!

I'm going to bloody well read that O'Reilly JS book my mum got me for xmas... ;) I't high time I got to grips with it. I've learn't PHP pretty good, how hard can JS be?

Nick