Solved

drop down lists in frontpage 2002

Posted on 2004-04-19
5
202 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

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.
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

751 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