How do you add dropdown hyperlinks to web page using Publisher?

L

LFalzone

I am trying to add dropdown hyperlinks to my web page using Publisher. I
have hyperlinks for the main subjects (About Us, Contact Us, etc.) which I do
not want. I want dropdowns (additonal subjects) under each of these with
their own hyperlinks. How do I go about this?
 
D

Don Schmidt

Here is the code fragment that was given to me by John Inzner which works
well. You will need to substitute, add or delete some the data to meet your
requirements.

--
Don
Vancouver USA



<script language="JavaScript">
function goToPage(url)
{
if (url != "")
{
window.open(url);
}
}
</script>

<form name="dropdown">
<label>Websites of O.S.I.A.
<select name="list" accesskey="W">
<option selected>Please select one</option>
<option value="http://www.osiaglnw.org/localunitsite.cfm?LCID=1" >Beaverton
Lodge #2645</option<http://www.osiaglnw.org/localunitsite.cfm?LCID=1>
<option value="http://www.osiaglnw.org/localunitsite.cfm?LCID=3" >Bella
Rosa Portland
#2734</option<http://www.osiaglnw.org/localunitsite.cfm?LCID=3>
<option value="http://www.iinet.com/~k1294lodge/" >Camelia-Columbo Lodge
#1294</option<http://www.iinet.com/~k1294lodge//>
<option value="http://www.osiaglnw.org/localunitsite.cfm?LCID=13" >Mille
Cugini Lodge
#2659</option<http://www.osiaglnw.org/localunitsite.cfm?LCID=13>
<option value="http://www.vanusa.org/" >The Wine
Cellar</option<http://www.vanusa.org/>
</select>
<button onclick="goToPage(document.dropdown.list.options(
document.dropdown.list.selectedIndex).value)">Go</button>
</form>
 
Top