News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

Drop Down Sub Menu Buttons

Started by Alan S, April 19, 2006, 09:35:40 AM

Previous topic - Next topic

Alan S

would it be possible to add a drop down sub menu to the smf menu like they have in vB so you would have your normal menu button and when you click on it a list of other things drops down

Quote from: Eliana Tamerin on August 23, 2008, 04:10:10 PM
SMF 7 is where it gets good. That has time travel. You can go back and post before the guy who flamed you. :P

teenagegluesniffer

You'll need to make drop down menus.

http://www.alistapart.com/articles/horizdropdowns

It's pretty simple.
Here's an example:

<form name="menu1">
<select name="externallinks" onChange="location=document.menu1.externallinks.options.value">
<option value="#">Select a great links!</option>
<option value="http://link1.com">link1</option>
<option value="http://link2.com">link2</option>
<option value="http://link3.com">link3</option>
<option value="http://link4.com">link4</option>
</select>
</form>


You could use that, as reference.
Hope that helps.
If you have any questions, just ask and i'll do my best to help.

Bigguy

There is code around for this somewhere

Sverre

Quote from: Bigguy on April 20, 2006, 02:16:22 AM
There is code around for this somewhere

I remember there were a few people working on something like this right after RC2 was released, but I don't know if they ever finished it.

http://www.simplemachines.org/community/index.php?topic=63378.0

Advertisement: