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

 

hyperlink from drop down 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 >> Microsoft FrontPage Help >> hyperlink from drop down menu
Page: [1]
 
bsolismt

 

Posts: 2
Joined: 9/16/2003
Status: offline

 
hyperlink from drop down menu - 9/16/2003 5:04:16   
I'm trying to get a hyperlink to come out of a drop-down menu. I've gotten it to work on pages posted on the www but I can't get my own pages save in the folder to show up.

Here is my html I'm working on:


<select name="Manual" size="1" onchange="window.open(this.options[this.selectedIndex].value,'_top')">
<option value="http://www.yahoo.com" selected>Yahoo</option>
<option value="/page1.html">Page 1</option>
</select>
bobby

 

Posts: 11394
Joined: 8/15/1969
From: Seattle WA USA
Status: offline

 
RE: hyperlink from drop down menu - 9/16/2003 12:55:18   
quote:

<option value="/page1.html">Page 1</option>


Try removing the "/"

<option value="page1.html">Page 1</option>

That will point to page1.htm in the current directory...

If you're linking to a page that is "up one level" in your directory tree... then you might use "../page1.htm"

_____________________________

If con is the opposite of pro, is Congress the opposite of progress?


:)

(in reply to bsolismt)
groundzero2010

 

Posts: 17
Joined: 9/16/2003
From: Kansas
Status: offline

 
RE: hyperlink from drop down menu - 9/17/2003 2:23:52   
I tried the

<option value="page1.html">Page 1</option>

I also tried moving my page into a folder and tried the

"../page1.html"

and that didn't work either. Any other ideas?

(in reply to bsolismt)
groundzero2010

 

Posts: 17
Joined: 9/16/2003
From: Kansas
Status: offline

 
RE: hyperlink from drop down menu - 9/17/2003 2:31:20   
I tried something... I noticed when I used "http://yahoo.com" as a link it worked fine. So I used

<option value ="page1.html">Page 1</option>

And placed both pages on my test website. It worked. But in FrontPage it wouldn't work right. Why would this be?

(in reply to bsolismt)
groundzero2010

 

Posts: 17
Joined: 9/16/2003
From: Kansas
Status: offline

 
RE: hyperlink from drop down menu - 9/19/2003 16:41:10   
quote:


<select name="Manual" size="1" onchange="window.open(this.options[this.selectedIndex].value,'_top')">
<option value="http://www.yahoo.com" selected>Yahoo</option>
<option value="/page1.html">Page 1</option>
</select>


My home page is a frames page it has a header and left side bar and a main window page(main.html). How do I target the drop down menu hyperlinks to open up in main.html?

(in reply to bsolismt)
Page:   [1]

All Forums >> Web Development >> Microsoft FrontPage Help >> hyperlink from drop down 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