Global Menu
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #1
Global Menu
Actually, I create this plugin just to make it easier to manage my menu in my header template. So, probably it's useless for other people. But I hope it's OK to share it.

This simple plugin will add a menu in our forum header. We need to put this code in our header template:

Code:
<!-- mn_gmenu -->


By default, it uses .menu class. If we want to use other class, edit the template provided by this plugin. If we want the menu use a specified class when selected, probably we need to add a selected class in our global.css, depends on the class we used. Example:

Code:
.menu ul .selected a


I've "ported" the header menu on the demo forum using this plugin to see it in action.



Attached File(s) Thumbnail(s)
   

.7z  mn_gmenu.7z (Size: 4.75 KB / Downloads: 515)

(This post was last modified: 07-01-2011 07:49 AM by RateU.)
07-01-2011 07:47 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Global Menu - RateU - 07-01-2011 07:47 AM
RE: Global Menu - ZiNgA BuRgA - 07-01-2011, 09:17 AM
RE: Global Menu - leefish - 07-01-2011, 09:01 PM
RE: Global Menu - RateU - 07-02-2011, 05:08 AM

 Standard Tools
Forum Jump: