navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Drop down jump menu

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> Drop down jump menu
Page: [1]
 
BillCo

 

Posts: 4
From: San Angelo, TX, USA
Status: offline

 
Drop down jump menu - 2/22/2001 17:46:00   
What do you change to have a new window open up when the drop down menu jump box is used ?
I used the one at http://www.outfront.net/FAQ.htm .

Dixiedi

 

Posts: 130
From: Cincinnati
Status: offline

 
RE: Drop down jump menu - 2/22/2001 19:04:00   
For a link to open in a new window you must have a link similar to this:
<a href="page.htm" target="blank">link</a>

You should be able to go into the HTML and edit the link for that particular link to include the target.

In a drop down menu, your links will look something like:
<option value="page.htm">link</option>

So you would have to have:
<option value="page.htm" target="blank">link</option>


------------------
Webmaster Resources Made Easy. http://www.webdesigns-4-you.com


(in reply to BillCo)
BillCo

 

Posts: 4
From: San Angelo, TX, USA
Status: offline

 
RE: Drop down jump menu - 2/23/2001 20:16:00   
I tried adding the target="blank", it's not working ?
I think it might have something to do with the javascript ?
Any other ideas ?

(in reply to BillCo)
Dixiedi

 

Posts: 130
From: Cincinnati
Status: offline

 
RE: Drop down jump menu - 2/23/2001 20:17:00   
Sorry, that is the only possible way for it to have worked.

Sorry also that I did not give it a try before I posted it, I usually do test anything that "shoud" work to make sure that it will work.

------------------
Webmaster Resources Made Easy. http://www.webdesigns-4-you.com


(in reply to BillCo)
BillCo

 

Posts: 4
From: San Angelo, TX, USA
Status: offline

 
RE: Drop down jump menu - 2/23/2001 16:36:00   
Does anyone have any ideas how to open a new window using the jump menu ? This is the same one suggested on the FAQ page.

(in reply to BillCo)
Goober

 

Posts: 1156
From: Pennsylvania USA
Status: offline

 
RE: Drop down jump menu - 2/23/2001 19:51:00   
See if putting an underscore in front of the word, "blank" makes any difference...<...target="_blank">

?????
Sandy

------------------
www.alleghenyweb.com


(in reply to BillCo)
BillCo

 

Posts: 4
From: San Angelo, TX, USA
Status: offline

 
RE: Drop down jump menu - 2/25/2001 22:11:00   
I tried target="_blank" , it did not work ?
Any other ideas ?
Thanks.

(in reply to BillCo)
Da New Guy

 

Posts: 13
From: None
Status: offline

 
RE: Drop down jump menu - 4/2/2001 20:06:00   
BillCo
Below is a slice of code taken from one of my sites that is currently performing the task about which you asked. This is one way of doing it, there may be others, but this way works for me.

This code goes before the <option values begin. I hope this is of some help to you. Please be sure to post back and let us know how you come out on this matter. Good luck.

DNG


<select size="1" name="NAME YOU HAVE CHOSEN" onchange="window.open(this.options[this.selectedIndex].value,'_blank')">


(in reply to BillCo)
MystikPrince

 

Posts: 1
Joined: 12/7/2007
Status: offline

 
RE: Drop down jump menu - 12/7/2007 15:42:28   
Using FrontPage 2003 go to FORMAT menu > click on BEHAVIORS > then on the right hand side, double click the "onchange jump menu" > for each entry, click/highlight and then using the drop-down menu on the right of "Open URLs in:" select NEW WINDOW.

Here is an example of the code FrontPage generates:

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
<script language="JavaScript">
<!--
function FP_jumpMenu(el,frm,sel) {//v1.0
var href=el.options[el.selectedIndex].value; if(sel) el.selectedIndex=0;
if('_new'==frm) open(href); else eval(frm+".location='"+href+"'");
}
// -->
</script>
</head>

<body>

<p>
<select size="1" onchange="FP_jumpMenu(this,'_new',false)" id="id1" name="links">
<option value>Links</option>
<option value="http://www.yahoo.com">yahoo</option>
<option value="http://www.google.com">google</option>
</select></p>

</body>

</html>

(in reply to Da New Guy)
jaybee

 

Posts: 14175
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Drop down jump menu - 12/7/2007 17:22:17   
Whilst it's very nice of you to give that answer, the thread is almost 7 years old. I sincerely hope he's figured it out by now.
:)

Welcome to Outfront. :)

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to MystikPrince)
kdy

 

Posts: 1
Joined: 3/17/2008
Status: offline

 
RE: Drop down jump menu - 3/17/2008 13:26:50   
Hey, it may have been seven years ago, but I just asked the question today and was very happy to find the answer! I say leave it up.

I had tried the target=_blank, I had gone to the behaviors dialogue box and sat there looking at the available options, but what I never would have figured out is to double-click on jumpmenu.

(in reply to jaybee)
Page:   [1]

All Forums >> Web Development >> General Web Development >> Drop down jump menu
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts