Drop Down Menu
4 posters
Page 1 of 1
Drop Down Menu
I copied this code and changed the parts of it that I needed to. The only problem I have is everytime I click on one of the options it don't open in a new tab page.
Is this something that can be rectified easily.
Thanks for any help and suggestions
Newport
Code
<div id="EchoTopic">
<form name="jump2">
<select name="menu" onchange="location=document.jump2.menu.options[document.jump2.menu.selectedIndex].value;" value="GO">
<option value="">Quick Jump</option>
<option value="https://www.forumotion.com/">Forumotion</option>
<option value="https://help.forumotion.com/">Support Forum</option>
</select>
</form>
</div>
Is this something that can be rectified easily.
Thanks for any help and suggestions
Newport
Code
<div id="EchoTopic">
<form name="jump2">
<select name="menu" onchange="location=document.jump2.menu.options[document.jump2.menu.selectedIndex].value;" value="GO">
<option value="">Quick Jump</option>
<option value="https://www.forumotion.com/">Forumotion</option>
<option value="https://help.forumotion.com/">Support Forum</option>
</select>
</form>
</div>
newport- Forumember
- Posts : 46
Reputation : 0
Language : english
Re: Drop Down Menu
well it is going to the page.. and fast for me too.
but yes it dose not open a new tab.. but if you hit the back arrow it will take you back to the page where the menu was.
i think because it's a jump box so that whats it's it jumps directly to the page.
i will pm rono and see if he knows how to get it to open in a separate tab.
but yes it dose not open a new tab.. but if you hit the back arrow it will take you back to the page where the menu was.
i think because it's a jump box so that whats it's it jumps directly to the page.
i will pm rono and see if he knows how to get it to open in a separate tab.
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Re: Drop Down Menu
Edit the onchange code to: onchange="window.open(this.options[this.selectedIndex].value,'_blank')" Add style to change background and font color: style="background-color:#FFFFD7;color:black" |
- Code:
<div id="EchoTopic">
<form name="jump2">
<select name="menu" style="background-color:#FFFFD7;color:black" onchange="window.open(this.options[this.selectedIndex].value,'_blank')">
<option value="none">Quick Jump</option>
<option value="http://www.forumotion.com/">Forumotion</option>
<option value="http://help.forumotion.com/">Support Forum</option>
</select>
</form>
</div>
Here's another form style... You can add a button to open a new tab/window. (example with colors & text) |
- Code:
<form name="jump2">
<select name="menu" style="background-color:#ffffd7;color:black">
<option value="http://www.forumotion.com/">Forumotion</option>
<option value="http://help.forumotion.com/forum.htm">Support Forum</option>
<option value="http://en.hitskin.com/">Hitskin</option>
</select><input type="button" value="Go!" onclick="ob=this.form.menu;window.open(ob.options[ob.selectedIndex].value)"><br>
<i>Jump to (select location)</i>
</form>
Re: Drop Down Menu
Thanks very much Rono. I really appreciate the help you have given to us.
Newport
Newport
newport- Forumember
- Posts : 46
Reputation : 0
Language : english
Re: Drop Down Menu
Since this thread appears to be solved, I will lock this thread and mark it as solved.
Sanket
Sanket
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum