help me please to create a drop down menu such on pointing at a text menu, a list of sub menu links appear where i can click on one to move to another page.
Because it is difficult to understand what you want to do from your explanation alone, I will assume that you want to hide and show certain links according to the values selected in a drop down menu in which case I will proceed to suggest that you give all your anchors(links some ids). You then write a function perhaps called showLinks(select) which accepts a select box. Here you define your show/hide rules with
var selectedValue = select.options[select.options.selectedIndex].value;
- if(value == links1) {
-
document.getElementById("link1").style.display = "block";
-
........
-
[size=2]You set the style for each link according to your show and hide rules.[/size]
[size=2]You call the function onChange of the select as in[/size]
[HTML]
<SELECT name = "mySelect" onChange = "showLinks(this)">
[/HTML] [size=2]...
[/size]