drop down menus

A

Andy

help would really be appriciated on this little problem.I have drop down menus on my site and i just cant get them to work http://www.goffal.com.
This is the code for them.
Please help
Thanks




<tr><td align="center" valign="top" width="954" height="1" colspan="3"><p align="left"><b>&nbsp;&nbsp;&nbsp; </b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;<!--webbot bot="Validation" s-display-name="zimnews" b-value-required="TRUE" --><select name="D1" size="1" style="background-color: #FFFFFF; color: #000000; border-style: solid; border-color: #0000FF"><option selected>Zim Newspapers </option><option value="http://www.dailynews.co.za">Daily News</option><option value="http://www.chronicle.co.zw ">The Chronicle</option><option value="http://www.fingaz.co.zw ">Financial Gazette</option><option value="http://www.herald.co.zw ">The Herald</option><option value="http://www.mweb.co.zw/zimin ">The Independent</option><option value="http://www.africaonline.co.zw/mirror ">The Mirror</option><option value="http://www.sundaymail.co.zw ">Sunday Mail</option><option value="http://www.zbc.co.zw/news.cfm ">Newsnet</option><option value="http://www.thestandard.co.zw ">The Standard</option><option value="http://www.zimbabwepost.com ">Zimbabwean Post</option></select><input type="button" value="Go" Name="ZimPaper" onClick="javascript:eek:penWin(this)">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<!--webbot bot="Validation" s-display-name="inter news" b-value-required="TRUE" --><select name="D2" size="1" style="background-color: #FFFFFF; color: #000000; border-style: solid; border-color: #0000FF"><option selected>International News </option><option value="http://www.africadaily.com">African Daily</option><option value="http://allafrica.com/southernafrica">All Africa News</option><option value="http://www.ananova.com/ ">Ananova</option><option value="http://news.bbc.co.uk/hi/english/world/africa/default.stm ">BBC</option><option value="http://www.cnn.com/WORLD/#africa ">cnn</option><option value="http//www.foxnews.com ">Fox News</option><option value="http://www.channel4.com/news/ ">I.T.N</option><option value="http://www.reuters.com/news.jhtml?type=default ">Reuters</option><option value="http://www.sabcnews.com/africa/0,1009,,00.html ">Sabc</option><option value="http://www.sky.com/skynews/home ">Sky News</option></select><input type="button" value="Go" name="IntNews" onClick="javascript:eek:penWin(this)">&nbsp;&nbsp;&nbsp;
<font color="#000000"><!--webbot bot="Validation" s-display-name="radio stations" b-value-required="TRUE" --><select name="D3" size="1" style="background-color: #FFFFFF; border-style: solid; border-color: #0000FF"><option>Radio Stations</option><option value="http://www.zbc.co.zw/radio.htm ">Radio 3</option><option value="http://www.choicefm.net/ ">Choice Fm (UK)</option><option value="http://www.ministryofsound.co.uk/radio/index.php ">Ministry of
Sound</option><option value="http://www.jazzfm.com ">Jazz Fm(UK)</option><option value="http://www.kissonline.co.uk ">Kiss fm (UK)</option><option value="http://www.kissonline.co.uk ">Radio 1 (UK)</option><option value="http://www.galaxy102.co.uk ">Galaxy fm (UK)</option><option value="http://www.solarradio.com ">Solar R&amp;B (UK)</option><option value="http://www.stormlive.com ">Storm </option></select></font><input type="button" value="Go" name="RadioStation" onClick="javascript:eek:penWin(this)">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<!--webbot bot="Validation" s-display-name="goffal webs" b-value-required="TRUE" --><select name="D4" size="1" style="background-color: #FFFFFF; color: #000000; list-style-type: disc; border-style: solid; border-color: #0000FF"><option>goffal websites</option><option value="http://www.bruin-ou.com/">Bruin-ou</option><option value="http://www.mbanje.com/">mbanje.com</option><option value="http://www.golive24-7.com/naac/">N.A.A.C</option><option value="http://www.rozalla.com/">Rozalla.com</option><option value="http://www.mixedfolks.com/">Mixed Folks</option></select><input type="button" value="Go" name="Goffal Websites" onClick="javascript:eek:penWin(this)">&nbsp;&nbsp;&nbsp;

</td></tr><center></table></center></div><p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</p></html>
 
R

Robert \(Bob\) Taubman

They look OK to me.

Andy said:
help would really be appriciated on this little problem.I have drop down
menus on my site and i just cant get them to work http://www.goffal.com.
This is the code for them.
Please help
Thanks




<tr><td align="center" valign="top" width="954" height="1" colspan="3"><p align="left"><b>&nbsp;&nbsp;&nbsp;
</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
bsp;&nbsp;&nbsp;
&nbsp;&nbsp;<!--webbot bot="Validation" s-display-name="zimnews"
b-value-required="TRUE" --><select name="D1" size="1"
style="background-color: #FFFFFF; color: #000000; border-style: solid;
border-color: #0000FF"><option selected>Zim Newspapers </option><option
value="http://www.dailynews.co.za">Daily News</option><option
value="http://www.chronicle.co.zw ">The Chronicle</option><option
value="http://www.fingaz.co.zw ">Financial Gazette</option><option
value="http://www.herald.co.zw ">The Herald</option><option
value="http://www.mweb.co.zw/zimin ">The Independent</option><option
value="http://www.africaonline.co.zw/mirror ">The Mirror</option><option
value="http://www.sundaymail.co.zw ">Sunday Mail</option><option
value="http://www.zbc.co.zw/news.cfm ">Newsnet</option><option
value="http://www.thestandard.co.zw ">The Standard</option><option
value="http://www.zimbabwepost.com ">Zimbabwean Post</option></select><input
type="button" value="Go" Name="ZimPaper"
onClick="javascript:eek:penWin(this)">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<!--webbot bot="Validation" s-display-name="inter news"
b-value-required="TRUE" --><select name="D2" size="1"
style="background-color: #FFFFFF; color: #000000; border-style: solid;
border-color: #0000FF"><option selected>International News </option><option
value="http://www.africadaily.com">African Daily</option><option
value="http://allafrica.com/southernafrica">All Africa News</option><option
value="http://www.ananova.com/ ">Ananova</option><option
value="http://news.bbc.co.uk/hi/english/world/africa/default.stm
">BBC</option><option value="http://www.cnn.com/WORLD/#africa
">cnn</option><option value="http//www.foxnews.com ">Fox
News</option><option value="http://www.channel4.com/news/
">I.T.N</option><option
value="http://www.reuters.com/news.jhtml?type=default
">Reuters</option><option
value="http://www.sabcnews.com/africa/0,1009,,00.html ">Sabc</option><option
value="http://www.sky.com/skynews/home ">Sky News</option></select><input
type="button" value="Go" name="IntNews"
onClick="javascript:eek:penWin(this)">&nbsp;&nbsp;&nbsp;
<font color="#000000"><!--webbot bot="Validation" s-display-name="radio
stations" b-value-required="TRUE" --><select name="D3" size="1"
style="background-color: #FFFFFF; border-style: solid; border-color:
#0000FF"><option>Radio Stations</option><option
value="http://www.zbc.co.zw/radio.htm ">Radio 3</option><option
value="http://www.choicefm.net/ ">Choice Fm (UK) said:
Sound</option><option value="http://www.jazzfm.com ">Jazz
Fm(UK)</option><option value="http://www.kissonline.co.uk ">Kiss fm
(UK)</option><option value="http://www.kissonline.co.uk ">Radio 1
(UK)</option><option value="http://www.galaxy102.co.uk ">Galaxy fm
(UK)</option><option value="http://www.solarradio.com ">Solar R&amp;B
(UK)</option><option value="http://www.stormlive.com ">Storm
</option></select></font><input type="button" value="Go" name="RadioStation"
onClick="javascript:eek:penWin(this)">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<!--webbot bot="Validation" s-display-name="goffal webs"
b-value-required="TRUE" --><select name="D4" size="1"
style="background-color: #FFFFFF; color: #000000; list-style-type: disc;
border-style: solid; border-color: #0000FF"><option>goffal
websites</option><option
value="http://www.bruin-ou.com/">Bruin-ou</option><option
value="http://www.mbanje.com/">mbanje.com</option><option
value="http://www.golive24-7.com/naac/">N.A.A.C</option><option
value="http://www.rozalla.com/">Rozalla.com</option><option
value="http://www.mixedfolks.com/">Mixed Folks</option></select><input
type="button" value="Go" name="Goffal Websites"
onClick="javascript:eek:penWin(this)">&nbsp;&nbsp;&nbsp;
 
S

Steve Easton

Well, for starters, your drop down boxes are validation forms.
You need to use select boxes.

try something like this:

<script TYPE="text/javascript">
<!--
function dropdown(mySel)
{
var myWin, myVal;
myVal = mySel.options[mySel.selectedIndex].value;
if(myVal)
{
if(mySel.form.target)myWin = parent[mySel.form.target];
else myWin = window;
if (! myWin) return true;
myWin.location = myVal;
}
return false;
}
//-->
</script>


<form METHOD="POST" onSubmit="return dropdown(this.gourl)">
<p><select NAME="gourl" size="1">
<option VALUE>Choose a Destination... </option>
<option VALUE="http://www.yahoo.com"> Yahoo </option>
<option VALUE=http://www.google.com"> Google </option>
<option VALUE=http://www.altavista.com/> AltaVista </option>
</select> <input TYPE="submit" VALUE="Go"></p>
</form>

Each form will have to have it's own NAME= and you will also have to change
the name reference
in the onSubmit= function.


hth


--
95isalive
This site is best viewed..................
...............................with a computer
Andy said:
help would really be appriciated on this little problem.I have drop down
menus on my site and i just cant get them to work http://www.goffal.com.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top