|
|
|
|
Joined: Jun 2006
Posts: 956
Old Hand
|
|
Old Hand
Joined: Jun 2006
Posts: 956 |
I like to add my own drop down menu to the navbar for my add-ons. Is this done only in header.tpl or must I modify an other file too? Can I just copy the active topic section and rename the registerPopup("active_popup") to registerPopup("mymenu_popup") and use this down below in the template?
|
|
|
|
|
Joined: Jun 2006
Posts: 956
Old Hand
|
|
Old Hand
Joined: Jun 2006
Posts: 956 |
I just try it and it work. Take the block, paste it, rename the code and fill out the content as you like. Thats all and it work.
|
|
|
|
|
Joined: Jun 2006
Posts: 3,839 Likes: 1
Carpal Tunnel
|
|
Carpal Tunnel
Joined: Jun 2006
Posts: 3,839 Likes: 1 |
Sorry - meant to post - yes it should just be a case of duplicating the existing code 
|
|
|
|
|
Joined: Jun 2006
Posts: 16,537 Likes: 150
|
|
Joined: Jun 2006
Posts: 16,537 Likes: 150 |
you can get a good example of how this is done by checking out my font resizer mod at ubbdev
|
|
|
|
4 members (Gizmo, Mors, Bad Frog, 1 invisible),
514
guests, and
118
robots. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
|
|
|