Solved

drop down lists in frontpage 2002

Posted on 2004-04-19
5
195 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
This webpage has a redirect loop 4 61
Intranet for business 4 138
Facebook custom search 4 183
Search on a site 5 103
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
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 add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
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…

776 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