Solved

drop down lists in frontpage 2002

Posted on 2004-04-19
5
192 Views
Last Modified: 2013-12-24
Hi - I have a very simple 10 page website that was designed in frontpage 2002. My question is: how can i add some simple drop down lists on my homepage that link to the other pages in the site?

Can frontpage do it or do I need some third party add in?

thanks !!
0
Comment
Question by:DatMicro
  • 2
5 Comments
 
LVL 12

Accepted Solution

by:
rcmb earned 125 total points
ID: 10867602
Here is some code that will create a drop down list to select some pages and when the user clicks on go they will be directed to the page selected.

<form name="MyForm">
<p>
<select name="Selection">
             <option>Select from the List Below</option>
             <option value="mypage1.htm">Page 1</option>
       <option value="mypage2.htm">Page 2</option>
            <option value="mypage3.htm">Page 3</option>
            <option value="mypage4.htm">Page 4</option>
            <option value="mypage5.htm">Page 5</option>
            <option value="mypage6.htm">Page 6</option>
      <option value="mypage7.htm">Page 7</option>
</select>
<input type="button" onClick="location=document.MyForm.Selection.options[document.MyForm.Selection.slectedIndex].value;" value="GO"></p>
</form>

RCMB
0
 
LVL 12

Expert Comment

by:rcmb
ID: 10867659
Or if you desire to have the user just click the drop-down and have it navigate automatically for you:

<script>
// Pull-Down Menu Naviagtion Function
function PageChanger(page) {
      document.location=page;
      document.NavForm.PullDown.options[0].selected=true;
}
</script>
<p>
<select name="Pulldown" onChange="PageChanger(this.options[this.selectedIndex].value)">
             <option>Select from the List Below</option>
             <option value="mypage1.htm">Page 1</option>
      <option value="mypage2.htm">Page 2</option>
            <option value="mypage3.htm">Page 3</option>
            <option value="mypage4.htm">Page 4</option>
            <option value="mypage5.htm">Page 5</option>
            <option value="mypage6.htm">Page 6</option>
      <option value="mypage7.htm">Page 7</option>
</select>
</p>

Enjoy.

RCMB
0
 

Author Comment

by:DatMicro
ID: 10869163
thanks RCMB,

I'll give this a shot and post back in a day.

thanks again,

Dat Micro
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ColdFusion Web Service/WSDL Connection Issue 2 89
Resizing code128 barcode using cold fusion 14 154
Visual Studio Community 2015 vs. Expression Web 4 8 255
Facebook custom search 4 156
Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now