The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Drop Down Menu

4 posters

Go down

Solved Drop Down Menu

Post by newport May 14th 2010, 12:50 am

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>
avatar
newport
Forumember

Male Posts : 46
Reputation : 0
Language : english

Back to top Go down

Solved Re: Drop Down Menu

Post by kirk May 14th 2010, 4:20 am

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.
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Solved Re: Drop Down Menu

Post by RoNo May 14th 2010, 10:25 am

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>

Drop Down Menu Break_gray1

Here's another form style...

You can add a button to open a new tab/window.
(example with colors & text)
Drop Down Menu Jumpbox01

Drop Down Menu Jumpbox02
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>
RoNo
RoNo
Active Poster

Male Posts : 1270
Reputation : 135
Language : English
Location : Laguna Beach, California

http://bf2mercenaries.forumotion.com/

Back to top Go down

Solved Re: Drop Down Menu

Post by newport May 14th 2010, 11:33 am

Thanks very much Rono. I really appreciate the help you have given to us.

Newport
avatar
newport
Forumember

Male Posts : 46
Reputation : 0
Language : english

Back to top Go down

Solved Re: Drop Down Menu

Post by Sanket May 14th 2010, 8:32 pm

Since this thread appears to be solved, I will lock this thread and mark it as solved.
Drop Down Menu 2j4t5a8

Sanket Smile
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum