473,387 Members | 1,464 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

New Tabs code working with Drop Down Menus

1
Hi,
can anyone help, I'm trying to get a drop down menu to open in a new tab, instead of a new WINDOW.
this is what i have

<form name="jump">
<select name="menu" onChange="window.open(jump.menu.options[document.jump.menu.selectedIndex].value)" value="GO">
<option value="#">Please select </option>
<option value="http://www.etc etc">Link</option>
</select>
</form>


so what do i substute window .open with for the new tab.

Thanks
Nov 20 '07 #1
1 1013
stepterr
157 100+
Hi,
can anyone help, I'm trying to get a drop down menu to open in a new tab, instead of a new WINDOW.
this is what i have

<form name="jump">
<select name="menu" onChange="window.open(jump.menu.options[document.jump.menu.selectedIndex].value)" value="GO">
<option value="#">Please select </option>
<option value="http://www.etc etc">Link</option>
</select>
</form>


so what do i substute window .open with for the new tab.

Thanks

Unfortunately, I don't believe this is possible. I think the user would have to have this setup in their own browser settings. Plus then it wouldn't work for older browsers that do not have the options of tabs. Check out this site it will give you some more insight.
Dec 1 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Nanos | last post by:
For the form I need to create drop down select with say five different options. There also should be possibility to enter own option if one is not listed. How can I do it.? Thank you in advance...
10
by: Haines Brown | last post by:
I've implemented the horizontal drop down menu discussed recently in this newsgroup, and it works nicely under Galeon and Mozilla, but not IE 5.0. Here are the problems: Under IE 5.0, the...
3
by: JS | last post by:
I have two drop/down menus that are dependant on each other. When I have made a choice in both of these menus and press a button I get to a page depending on the choice made. On this page there is...
2
by: pantagruel | last post by:
I have an old web application I did where browsers with dynamic capabilities received a drop down menu on the top of the page and a fold out on the left hand side of the page and non-dynamic...
4
by: laredotornado | last post by:
Hello, I am looking for some recommendations for JS/HTML code that will allow me to generate drop down menus, sort of like the ones here http://travelocity.com/ where you can see the drop down...
3
by: bruce | last post by:
Hi... Never used python, but I have a question regarding Drop Down Menus. Does Python allow me to create a website, that will permit the user to create Drop Down menus that can be initiated with...
1
by: ReGenesis0 | last post by:
I am doing drop-down menus for a site I'm developing (not my idea, neadless to say.) I have a nice robust Javascript that handles it, and it actually WORKS, works across browsers even! How...
2
by: laredotornado | last post by:
Hi, I want to create roll-over drop down menus on my site using HTML/JS. The menu will appear a fixed amount from the top, but a relative amount to the right of another element. I have found...
1
by: nishac | last post by:
I am using the Content Management tool typo3 to create my website.In that I am including several menus and sub menus.I need the main menus to drop down and show its submenus.Does anyone know how this...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.