TinyPortal

Development => Support => Topic started by: Reality12 on April 10, 2007, 10:32:49 PM

Title: Drop Down Menu, How Do I?
Post by: Reality12 on April 10, 2007, 10:32:49 PM
How do I create drop down menus, like we have set up here?
Title: Re: Drop Down Menu, How Do I?
Post by: IchBin on April 10, 2007, 10:53:17 PM
They are made from scripts like suckerfish. Google suckerfish and you'll find these types of menu's.
Title: Re: Drop Down Menu, How Do I?
Post by: Reality12 on April 10, 2007, 10:56:22 PM
Is there a 'how to' on how someone can incorporate suckerfish into the SMF/TP combo?
Title: Re: Drop Down Menu, How Do I?
Post by: IchBin on April 10, 2007, 10:58:50 PM
No how-to's that I've seen. Best thing you can do is look at a theme that has one. TPStyle in the downloads has this built in.
Title: Re: Drop Down Menu, How Do I?
Post by: soMzE on April 10, 2007, 11:02:29 PM
Is there any how-to for making such a menu script work in a phpbox/scriptbox?  :) I'd tried to search for it on google and here on TP, but no luck.

Something like a vertical menu?
Title: Re: Drop Down Menu, How Do I?
Post by: Reality12 on April 10, 2007, 11:07:57 PM
I like soMzE's idea too.
Title: Re: Drop Down Menu, How Do I?
Post by: IchBin on April 10, 2007, 11:11:13 PM
I haven't seen anything of the sort. Therefor, I challenge you guys to do it! :D I'll add it to my list of to do's, but no promises at all.
Title: Re: Drop Down Menu, How Do I?
Post by: Reality12 on April 11, 2007, 07:00:12 AM
Got it.

I would have gone for the top menu, but I like the left better.  :uglystupid2:
Title: Re: Drop Down Menu, How Do I?
Post by: G6Cad on April 11, 2007, 07:32:40 AM
Quote from: IchBinâ„¢ on April 10, 2007, 10:58:50 PM
No how-to's that I've seen. Best thing you can do is look at a theme that has one. TPStyle in the downloads has this built in.

No it have not ;)
Title: Re: Drop Down Menu, How Do I?
Post by: Reality12 on April 11, 2007, 04:10:49 PM
what do you think of it?
Title: Re: Drop Down Menu, How Do I?
Post by: bigdog on September 13, 2007, 07:55:29 PM
someone should make a "menu" package, that allows for the creation of a TP block.

It's frustrating that you can only have one "menu", but multiple menu blocks.  Each block only shows the same menu, over and over......no good.

It would also be nice if this menu block could also incorporate dropdowns/dropsides as it is in this theme.

Would be nice.
Title: Re: Drop Down Menu, How Do I?
Post by: bigdog on March 19, 2008, 05:13:08 PM
this is what we developed (long ago, but figured I'd spread the wealth).

<div id="ttpddnav">
<ul id="ttpddmenu">
    <li><a href="http://www.texasteamplayers.com/index.php?action=forum">Forums</a></li>
    <li><a href="http://www.texasteamplayers.com/index.php?page=48">FAQ's</a></li>
    <li><a href="http://www.texasteamplayers.com/index.php?page=7">Contact Us</a></li>
    <li><a href="http://www.texasteamplayers.com/index.php?page=96">Advertising</a></li>
    <li><a href="http://www.texasteamplayers.com/index.php?topic=11316.0">Reserved Slots</a></li>
    <li><a href="http://www.texasteamplayers.com/index.php?topic=45.0">Clan Residency</a></li>
    <li><a href="http://www.cafepress.com/teamplayers" target="_blank">TTP: Gear</a></li>
    <li><a href="javascript:void()">TTP: Networking »</a>
    <ul>
        <li><a href="http://steamcommunity.com/groups/teamplayers" target="_blank">TTP: Steam</a></li>
        <li><a href="http://www.myspace.com/texasteamplayers" target="_blank">TTP: Myspace</a></li>
        <li><a href="http://www.facebook.com/group.php?gid=7799355658" target="_blank">TTP: Facebook</a></li>
    </ul>
    </li>
    <li><a href="http://www.texasteamplayers.com/index.php?page=83">Donations</a></li>
    <li><a href="http://www.texasteamplayers.com/index.php?action=tpmod;dl">Downloads</a></li>
    <li><a href="http://www.texasteamplayers.com/index.php?page=91">Game Servers</a></li>
    <li><a href="http://www.texasteamplayers.com/index.php?action=gallery">User Image Gallery</a></li>
    <li><a href="javascript:void()">Articles »</a>
    <ul>
        <li><a href="http://www.texasteamplayers.com/index.php?cat=47">Off Topic</a></li>       
        <li><a href="http://www.texasteamplayers.com/index.php?cat=33">PC Gaming News</a></li>
        <li><a href="http://www.texasteamplayers.com/index.php?cat=56">PC Hardware News</a></li>
        <li><a href="http://www.texasteamplayers.com/index.php?cat=30">Game Reviews</a></li>
        <li><a href="http://www.texasteamplayers.com/index.php?cat=102">Hardware Reviews</a></li>
    </ul>
    </li>
    <li>
    <h2>TTP Games</h2>
    </li>
    <li><a href="javascript:void()">Counter-Strike »</a>
    <ul>
        <li><a href="steam:%20%22-applaunch%20240%20-game%20cstrike%20+connect%2064.182.81.109:27015%22">Connect CSS</a></li>
        <li><a href="steam:%20%22-applaunch%20240%20-game%20cstrike%20+connect%2064.182.81.109:27018%22">Connect CSS: GG</a></li>
        <li><a href="steam:%20%22-applaunch%20240%20-game%20cstrike%20+connect%2064.182.81.109:27017%22">Connect CSS: Top5</a></li>
        <li><a href="http://www.texasteamplayers.com/index.php?board=4.0">CSS Forum</a></li>
        <li><a href="http://www.steampowered.com/v/index.php?area=news&AppId=240" target="_blank">CSS News</a></li>
        <li><a href="http://67.19.3.130/css_stats/index.php" target="_blank">Psychostats</a></li>
        <li><a href="http://67.19.3.130/gg_stats/index.php" target="_blank">Psychostats: GG</a></li>
        <li><a href="http://67.19.3.130/t5_stats/index.php" target="_blank">Psychostats: Top5</a></li>
        <li><a href="http://www.texasteamplayers.com/index.php?cat=52">CSS Articles</a></li>
    </ul>
    </li>
    <li><a href="javascript:void()">Day of Defeat »</a>
    <ul>
        <li><a href="steam:%20%22-applaunch%20300%20-game%20dod%20+connect%2064.182.81.109:27016%22">Connect DoDS</a></li>
        <li><a href="http://www.texasteamplayers.com/index.php?board=18.0">DoDS Forum</a></li>
        <li><a href="http://www.steampowered.com/v/index.php?area=news&AppId=300" target="_blank">DoDS News</a></li>
        <li><a href="http://67.19.3.130/dods_stats/index.php" target="_blank">Psychostats</a></li>
    </ul>
    </li>
    <li><a href="javascript:void()">Battlefield 2 »</a>
    <ul>
        <li><a href="http://www.texasteamplayers.com/index.php?board=11.0">BF2 Forum</a></li>
        <li><a href="http://www.texasteamplayers.com/index.php?board=76.0">BF2: PR Forum</a></li>
        <li><a href="http://battlefield.ea.com/battlefield/bf2/battlefieldnews.aspx" target="_blank">BF2 News</a></li>
        <li><a href="http://battlefield.ea.com/battlefield/bf2/playersearch.aspx" target="_blank">BF2 Player Stats</a></li>
        <li><a href="http://www.texasteamplayers.com/index.php?cat=50">BF2 Articles</a></li>
    </ul>
    </li>
    <li><a href="javascript:void()">Battlefield 2142 »</a>
    <ul>
        <li><a href="http://www.texasteamplayers.com/index.php?board=59.0">BF2142 Forum</a></li>
        <li><a href="http://battlefield.ea.com/battlefield/bf2142/battlefieldnews.aspx?Lang=us&PID=&SrchName=&Profiles=" target="_blank">2142 News</a></li>
        <li><a href="http://battlefield.ea.com/battlefield/bf2142/Leaderboards.aspx?Lang=us&PID=&SrchName=&Profiles=" target="_blank">2142 Player Stats</a></li>
        <li><a href="http://www.texasteamplayers.com/index.php?cat=51">2142 Articles</a></li>
    </ul>
    </li>
    <li><a href="javascript:void()">ArmA:CO »</a>
    <ul>
        <li><a href="http://www.texasteamplayers.com/index.php?board=80.0">ArmA Forum</a></li>
        <li><a href="http://www.armedassault.com/us_index.html" target="_blank">ArmA News</a></li>
        <li><a href="teamspeak://72.233.44.146:9001/?password=C0mb@t">ArmA TeamSpeak</a></li>
    </ul>
    </li>
    <li><a href="javascript:void()">Team Fortress 2 »</a>
    <ul>
        <li><a href="steam:%20%22-applaunch%20440%20-game%20tf2%20+connect%2069.12.25.158:27015%22">Connect TF2</a></li>
        <li><a href="http://www.texasteamplayers.com/index.php?board=53.0">TF2 Forum</a></li>
        <li><a href="http://www.steampowered.com/v/index.php?area=news&AppId=440" target="_blank">TF2 News</a></li>
        <li><a href="http://67.19.3.130/tf2_stats/index.php" target="_blank">Psychostats</a></li>
        <li><a href="http://www.texasteamplayers.com/index.php?cat=101">TF2 Articles</a></li>
    </ul>
    </li>
    <li><a href="javascript:void()">Call of Duty 4 »</a>
    <ul>
        <li><a href="http://www.texasteamplayers.com/index.php?board=109.0">CoD4 Forum</a></li>
        <li><a href="http://www.steampowered.com/v/index.php?area=news&AppId=7940" target="_blank">CoD4 News</a></li>
<li><a href="http://67.19.3.130/cod4_stats/index.php" target="_blank">UltraStats</a></li>
        <li><a href="http://www.texasteamplayers.com/index.php?cat=130">CoD4 Articles</a></li>
    </ul>
    </li>
</ul>
</div>


you'll have to make some changes to get the hovering to work in IE6, but for firefox and IE7, I think it works fine.  Feel free to use it.
Title: Re: Drop Down Menu, How Do I?
Post by: Reality12 on March 22, 2008, 11:02:28 PM
looking at that code, i think i have a general idea of how it will look, but do you have an example?
Title: Re: Drop Down Menu, How Do I?
Post by: anyoldcard on March 22, 2008, 11:11:02 PM
Why don't you post the CSS? It would cut down on time. LOL.
Title: Re: Drop Down Menu, How Do I?
Post by: bigdog on March 24, 2008, 02:12:23 PM
www.texasteamplayers.com
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg398.imageshack.us%2Fimg398%2F7769%2Fpicture1wu0.png&hash=2579a4b7d4125ae0091dd10c8ac258d3db8d6b71)
Title: Re: Drop Down Menu, How Do I?
Post by: Talliostro on April 03, 2008, 07:21:40 AM
I really like this kind of menu, but can't get it to work.
So, my questions are:
Where do I add the code? I think it's a html Box, correct?
The problem atm is the javascript:void, because if I add the code to a html box and correct the links to my categories, the menu displays:
News>>
XY News
YZ news

Articles>>
Hobby
Models

and so on, so no mouseover effect like in your menu for the subcategories. Do I have to add something to the css file of my theme or what little aspect of coding am I missing here? ;)
Title: Re: Drop Down Menu, How Do I?
Post by: IchBin on April 03, 2008, 04:11:37 PM
Its because you don't have the CSS that he is using. Either he'll have to post it, or you'll have to go to his site and view it to copy it.
Title: Re: Drop Down Menu, How Do I?
Post by: bigdog on April 03, 2008, 04:24:18 PM
yup.  we had to make a special csshover and other changes to enable it.  I'd suggest just copying it off my site.  I don't have access to that file right now.
Title: Re: Drop Down Menu, How Do I?
Post by: Crip on April 03, 2008, 04:30:38 PM
Lots of menus here to play with,
I used a few of  them.
http://cssmenumaker.com/index.php
Title: Re: Drop Down Menu, How Do I?
Post by: Talliostro on April 04, 2008, 08:35:07 AM
okay thanks alot guys, I will look over them tomorrow :)