JoshHartnettGrl
01-25-2003, 10:45 AM
hi, i have a problem. you know how in some drop down menus, there are "categories"? like under "webmistress" there will be info, surveys, etc? i want to do that and have the category name in a different color, but it's not working! someone please help!
here's the code:
<script language="javascript">
function jump(form) {
var myindex=form.menu.selectedIndex
if (form.menu.options[myindex].value != "0")
{
window.open(form.menu.options[myindex].value,
target="frame");
}
}
//-->
</script>
<form name="lissamenu2">
<select name="menu" style="background-color: #000000;
font size=10 ; font-family: verdana; color:#FFFFFF"
size="1" onchange="jump(this.form)">
<option value="0">navigation</option>
<option value="0"></option>
<option value="0" style=background-color: #191970>the girl</option>
<option value="me.html">basic info</option>
<option value="awards.html">awards</option>
<option value="wishlist.html">wishlist</option>
<option value="contact.html">contact</option>
<option value="fansigns.html">fansigns</option>
<option value="0" style=background-color: #191970>the site</option>
<option value="site.html">about</option>
<option value="past.html">past</option>
<option value="sisters.html">sisters</option>
<option value="0" style=background-color: #191970>the visitor</option>
<option value="sitetips.html">site tips</option>
<option value="sitelinks.html">site addons</option>
<option value="friendscrossword.html">friends crossword</option>
<option value="simpsonscrossword.html">simpsons crossword</option>
<option value="neopetscrossword.html">neopets crossword</option>
<option value="guessceleb.html">guess the celeb</option>
<option value="guesscartoon.html">guess the cartoon network character</option>
<option value="guessdisney.html">guess the disney character</option>
<option value="quotes.html">quotes</option>
<option value="azn.html">asian pride</option>
<option value="fwd1.html">state mottoes</option>
<option value="fwd3.html">fun ways to order pizza</option>
<option value="fwd2.html">funny questions</option>
<option value="0" style=background-color: #191970>the exit</option>
<option value="leave.html">credits</option>
<option value="http://nyluv.signmyguestbook.com" target=_new">sign/view guestbook</option>
</select>
</form>
in this cade, the drop down's bg is black, font is white, and i want the category names (the girl, the site, the visitor, the exit) to be dark blue (#191970). HELP SOMEBODY! (by the way, the category names aren't supposed to link anywhere, they're just supposed to organize the links and stuff)
here's the code:
<script language="javascript">
function jump(form) {
var myindex=form.menu.selectedIndex
if (form.menu.options[myindex].value != "0")
{
window.open(form.menu.options[myindex].value,
target="frame");
}
}
//-->
</script>
<form name="lissamenu2">
<select name="menu" style="background-color: #000000;
font size=10 ; font-family: verdana; color:#FFFFFF"
size="1" onchange="jump(this.form)">
<option value="0">navigation</option>
<option value="0"></option>
<option value="0" style=background-color: #191970>the girl</option>
<option value="me.html">basic info</option>
<option value="awards.html">awards</option>
<option value="wishlist.html">wishlist</option>
<option value="contact.html">contact</option>
<option value="fansigns.html">fansigns</option>
<option value="0" style=background-color: #191970>the site</option>
<option value="site.html">about</option>
<option value="past.html">past</option>
<option value="sisters.html">sisters</option>
<option value="0" style=background-color: #191970>the visitor</option>
<option value="sitetips.html">site tips</option>
<option value="sitelinks.html">site addons</option>
<option value="friendscrossword.html">friends crossword</option>
<option value="simpsonscrossword.html">simpsons crossword</option>
<option value="neopetscrossword.html">neopets crossword</option>
<option value="guessceleb.html">guess the celeb</option>
<option value="guesscartoon.html">guess the cartoon network character</option>
<option value="guessdisney.html">guess the disney character</option>
<option value="quotes.html">quotes</option>
<option value="azn.html">asian pride</option>
<option value="fwd1.html">state mottoes</option>
<option value="fwd3.html">fun ways to order pizza</option>
<option value="fwd2.html">funny questions</option>
<option value="0" style=background-color: #191970>the exit</option>
<option value="leave.html">credits</option>
<option value="http://nyluv.signmyguestbook.com" target=_new">sign/view guestbook</option>
</select>
</form>
in this cade, the drop down's bg is black, font is white, and i want the category names (the girl, the site, the visitor, the exit) to be dark blue (#191970). HELP SOMEBODY! (by the way, the category names aren't supposed to link anywhere, they're just supposed to organize the links and stuff)