Uutiset:

Join the Facebook Fan Page.

Main Menu
Advertisement:

change menu

Aloittaja kenet, toukokuu 25, 2011, 05:20:47 IP

« edellinen - seuraava »

kenet

could help me to add this menu to smf and remove the default one

http://www.andrewsellick.com/35/sexy-sliding-javascript-side-bar-menu-using-mootools


thank you very much

sorry for my English


Thomas Alva Edison dijo:

    "No fracasé, sólo descubrí 999 maneras de como no hacer una bombilla."


All Colours Sam

For what version of SMF this would be?

well, in either case, 1.1.x or 2.0, the basic layout of the menu is in the index.template.php

if you look at the menu closely, the menu itself its just a  very basic list:


<ul>
                 <li><a href="#">Link One</a></li>
                 <li><a href="#">Link Two</a></li>
                 <li><a href="#">Link Three</a></li>
                 <li><a href="#">Link Four</a></li>
                 <li><a href="#">Link Five</a></li>
             </ul>



if you are planing to use this for 2.0 you will have t edit the css so this mod can accept second and third levels.
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

antechindia

<dl class="dropdown">
<dt id="one-ddheader" onmouseover="ddMenu('one',1)" onmouseout="ddMenu('one',-1)">Dropdown One</dt>
<dd id="one-ddcontent" onmouseover="cancelHide('one')" onmouseout="ddMenu('one',-1)">
<ul>
<li><a href="#" class="underline">Navigation Item 1</a></li>
<li><a href="#" class="underline">Navigation Item 2</a></li>
<li><a href="#" class="underline">Navigation Item 3</a></li>
<li><a href="#" class="underline">Navigation Item 4</a></li>
<li><a href="#">Navigation Item 5</a></li>
</ul>
</dl>

Advertisement: