Log in

View Full Version : Dropdown menu problems



ModernRevolutions
04-15-2009, 03:07 PM
Okay, I am trying to change my theme changer so its a drop down menu, instead of the picture/icons I am using now. (Here (http://www.modernrevolutions.vivid-avenue.net) is the theme changer)

Here is the code I have for the drop down menu:

<form method="post" name="nameform"> <font color="#000000"
size="2" face="Georgia"><select name="tanyasmenu" size="1" style="BACKGROUND: #ffffff; border:1px solid #000000; FONT-FAMILY:
Georgia; FONT-SIZE: 12px">

<option selected value="#" onclick="setActiveStyleSheet('Monroe');
return false;">Monroe</option>

<option value="#">Directory</option>

<option value="#">Design</option>
</select>
<input type="button" value="Switch" onclick="location
= document.nameform.tanyasmenu.options [document.nameform.tanyasmenu.selectedIndex].value;"
style="BACKGROUND: #ffffff; COLOR: #000000; FONT-FAMILY: Georgia;
FONT-SIZE: 12px"> </form>

As you can see, I tried it with the first option, however it didn't work, how would I make such a drop down menu that I am trying to achieve?

ModernRevolutions
04-21-2009, 05:19 PM
anyone have any ideas?

Snookerman
04-21-2009, 05:28 PM
I used your code and it worked just fine. Please post a link to the page where you actually have this code. If you don't have it anywhere, please create a test page so we can take a look.

amutha
04-22-2009, 09:13 AM
Hi

Your code is working well. give the link in option tag value

for example

<option value="link">Satellites</option>

if you given the link and it working well, check it...... :)

ModernRevolutions
04-23-2009, 03:05 AM
Wow I feel dumb >.< lol
Its working now, however, I would like it so they have to click a button to switch the theme after they choose. How would I do that. Right now, if you click the dropdown bar and then click on it changes the theme, i want them to use the drop down, then click a button and THEN it changes.


Here (http://www.modernrevolutions.vivid-avenue.net) under "Theme Changer" is where the drop down menu is, thanks :D