Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   dropdown menu? (http://www.mysidiaadoptables.com/forum/showthread.php?t=3415)

AlexC 12-27-2011 02:02 PM

dropdown menu?
 
sorry if this is the wrong section, but I was wondering if someone can help me create a dropdown menu for my site? I keep trying different codes and nothing seems to work. ;-; I can post my template/css code if someone is willing to help.

SilverDragonTears 12-27-2011 02:41 PM

You mean something like what is on my site? If so I'll try to find the tutorial I used. It was really easy to integrate with my site.

AlexC 12-27-2011 02:42 PM

I don't see a dropdown menu on your site. o.O

SilverDragonTears 12-27-2011 02:52 PM

Oh. You have to be a member because it's the user menu bar. Ooops.

AlexC 12-27-2011 02:54 PM

http://javascript-array.com/scripts/...rop_down_menu/ something like this (I've tried this code though, it doesn't seem to work. :/ )

SilverDragonTears 12-27-2011 03:01 PM

That's the exact one I'm using. I can show you what mine looks like:

PHP Code:

$sidebar "
        <div id='topbar'><span id='links'><ul id='sddm'>
            
                "
.$welcome."
                
        "
;

$sidebar .= "<li>".$msgctr."</li><li>
        <a href='shop.php'><img src='images/cash.png'> 
{$GLOBALS['money']}</a></li><li><a href='account.php' 
        onmouseover='mopen(\"m1\")' 
        onmouseout='mclosetime()'>"
.$loggedinname." <img src='images/header_dropdown.png'></a>
        <div id='m1' 
            onmouseover='mcancelclosetime()' 
            onmouseout='mclosetime()'><table class='sddm'><tr><td>
        <a href='account.php?act=changeemail'>Change Email</a></td>
        <td><a href='account.php?act=changepass'>Change PW</a></td></tr><tr><td>
        <a href='account.php?act=friendlist'>Manage Friends</a></td>
        <td><a href='account.php?act=changesettings'>Settings</a></td></tr><tr><td>
        <a href='account.php?act=moreprofile'>More Profile Settings</a><td>
        <a href='logout.php' title='Securely Logout'>Logout</a></td></tr></table>
        </div>
    </li>
<li><a href='shop.php' 
        onmouseover='mopen(\"m2\")' 
        onmouseout='mclosetime()'>Shops <img src='images/header_dropdown.png'></a>
        <div id='m2' 
            onmouseover='mcancelclosetime()' 
            onmouseout='mclosetime()'><table class='sddm'><tr><td>
        <a href='shop.php'>SilvAdopts Shop</a></td><td>
        <a href='shop2.php'>Item Shop</a></td></tr></table>
        </div>
    </li>
    <li><a href='myadopts.php' 
        onmouseover='mopen(\"m3\")' 
        onmouseout='mclosetime()'>My Den <img src='images/header_dropdown.png'></a>
        <div id='m3' 
            onmouseover='mcancelclosetime()' 
            onmouseout='mclosetime()'><table class='sddm'><tr><td>
        <a href='trade.php'>Trade</a></td><td>
        <a href='search.php'>Search</a></td></tr><tr><td>
        <a href='embed.php'>Embed All</a></td><td>
        <a href='inventory.php'>Kit Inventory</a></td></tr><tr><td>
        <a href='inventory2.php'>Adult Inventory</a></td><td>
        <a href='collectables.php'>Event Badges</a></td></tr></table>
        </div>
    </li>
<li><a href='help.php'>Help</a></li>
"


That should at least give you an idea of how it works. I can't tell you how to use it on your site because they're different but you can at least see it as an example.

AlexC 12-27-2011 03:07 PM

so you installed that in your functions file? I tried to add it directly to the template file - was that maybe where I was having the problems?

though, I admit, an example doesn't do too much help, since I was installing all of them right, they just didn't work on the site for some reason. can I test your script on my site to see if it works?

SilverDragonTears 12-27-2011 03:09 PM

Yes I'd put it in the functions.php You'll also need to put the javascript part it gives you in between your <head></head> tags in your template.html and the css it gives you.

AlexC 12-27-2011 03:13 PM

I'll try again I guess.

SilverDragonTears 12-27-2011 03:15 PM

You can try to use what I posted... but I doubt it works well with your site.


All times are GMT -5. The time now is 01:45 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.