By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,987 Members | 1,552 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,987 IT Pros & Developers. It's quick & easy.

Drop down menu

P: n/a
Curious, trying to find some "quick and easy" code to make a drop down menu
system for my website. Using my own graphics for the main tool bar of
course.

Thanks.
Jan 29 '06 #1
Share this Question
Share on Google+
8 Replies


P: n/a
Daniel Kaplan wrote:
Curious, trying to find some "quick and easy" code to make a drop down menu
system for my website. Using my own graphics for the main tool bar of
course.


<SELECT style="background-color:fuchsia">
<OPTION>1
<OPTION>2
<OPTION>3
<OPTION>4
</SELECT>

Mick
Jan 29 '06 #2

P: n/a

If you mean site map?
<form onsubmit="return false">
<select
onchange="top.location=this.options[this.selectedIndex].value">
<option value="PAGE1.html"> THIS IS MY PAGE ONE </option>
<option value="PAGE2.html"> THIS IS MY PAGE TWO </option>
<option value="PAGE3.html"> THIS IS MY PAGE THREE </option>
<option value="PAGE4.html"> THIS IS MY PAGE FOUR </option>
<option value="PAGE5.html"> THIS IS MY PAGE FIVE </option>
...
</select>

</form>

Jan 29 '06 #3

P: n/a
mick white wrote:
Daniel Kaplan wrote:
Curious, trying to find some "quick and easy" code to make a drop down
menu system for my website. Using my own graphics for the main tool bar
of course.


<SELECT style="background-color:fuchsia">
<OPTION>1
<OPTION>2
<OPTION>3
<OPTION>4
</SELECT>


That is quick and _dirty_ and does not allow for "own graphics for the main
tool bar".
PointedEars
Jan 29 '06 #4

P: n/a
Danny wrote:
If you mean site map?
<form onsubmit="return false">
<select
onchange="top.location=this.options[this.selectedIndex].value">
<option value="PAGE1.html"> THIS IS MY PAGE ONE </option>
<option value="PAGE2.html"> THIS IS MY PAGE TWO </option>
<option value="PAGE3.html"> THIS IS MY PAGE THREE </option>
<option value="PAGE4.html"> THIS IS MY PAGE FOUR </option>
<option value="PAGE5.html"> THIS IS MY PAGE FIVE </option>
...
</select>

</form>


Users without client-side script support will not be able to navigate, and
as I said it also does not fulfill the OP's requirement of "using [...] own
graphics for the main tool bar".
PointedEars
Jan 29 '06 #5

P: n/a
JRS: In article <17****************@PointedEars.de>, dated Sun, 29 Jan
2006 14:58:30 remote, seen in news:comp.lang.javascript, Thomas
'PointedEars' Lahn <Po*********@web.de> posted :

Users without client-side script support will not be able to navigate,


An ill-considered remark.

The provision of scripted drop-down navigation in no way precludes the
provision of navigation by ordinary links.

--
John Stockton, Surrey, UK. ??*@merlyn.demon.co.uk Turnpike v4.00 MIME.
Web <URL:http://www.merlyn.demon.co.uk/> - FAQish topics, acronyms, & links.
Check boilerplate spelling -- error is a public sign of incompetence.
Never fully trust an article from a poster who gives no full real name.
Jan 30 '06 #6

P: n/a
Dr John Stockton wrote:
[...] Thomas 'PointedEars' Lahn [...] posted :
Users without client-side script support will not be able to navigate,
An ill-considered remark.


Definitely not. People suggesting and/or using this are often not aware
that such a `select' element is useless to those users.
The provision of scripted drop-down navigation in no way precludes the
provision of navigation by ordinary links.


Of course it does not. I was merely referring to the `select' element's
event handler.
PointedEars
Jan 30 '06 #7

P: n/a
Daniel Kaplan wrote:
Curious, trying to find some "quick and easy" code to make a drop down menu
system for my website. Using my own graphics for the main tool bar of
course.
Try some of these:

<URL:
http://search.atomz.com/search/?sp-q...p=All&sp-k=All

--
Rob
Jan 31 '06 #8

P: n/a
JRS: In article <12****************@PointedEars.de>, dated Mon, 30 Jan
2006 19:48:48 remote, seen in news:comp.lang.javascript, Thomas
'PointedEars' Lahn <Po*********@web.de> posted :
Dr John Stockton wrote:
[...] Thomas 'PointedEars' Lahn [...] posted :
Users without client-side script support will not be able to navigate,


An ill-considered remark.


Definitely not. People suggesting and/or using this are often not aware
that such a `select' element is useless to those users.


It's a pity that you can write English better than you can read it.

If you consider your remark intelligently, you will see that it
expresses a valid thought in an inaccurate manner. Granted that those
without script enabled will not be able to navigate by the script-
energised control; but that does not mean that they will not be able to
navigate if other means are provided.
The provision of scripted drop-down navigation in no way precludes the
provision of navigation by ordinary links.


Of course it does not. I was merely referring to the `select' element's
event handler.


That may have been your intention; it was not what you achieved. You
were, as is your custom, over-dogmatic.

You expect others to pay attention to what you write; you really should
do the same yourself before you expose it to the public gaze.
Your attributions still do not comply with recent thinking by Usenet
experts; it is inappropriate to apply ancient German-newsgroup rulings
here.

Your articles lack a validly-separated signature.

--
John Stockton, Surrey, UK. ??*@merlyn.demon.co.uk Turnpike v4.00 MIME.
Web <URL:http://www.merlyn.demon.co.uk/> - FAQish topics, acronyms, & links.
Check boilerplate spelling -- error is a public sign of incompetence.
Never fully trust an article from a poster who gives no full real name.
Jan 31 '06 #9

This discussion thread is closed

Replies have been disabled for this discussion.