The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
New scrollbar in new link
How can I realize a new scrollbar with external links like to a .jpg attachment?
|
#2
|
|||
|
|||
here use this
|| ## Template Mode Start ## || /*================================================= =====================*\ || ################################################## ################## || Expand "Navigation / Breadcrumb Templates and open template: "Navbar" || ################################################## ################## || \*================================================ ======================*/ /*================================================= =====================*\ Add this where ever you want your link to show up: \*================================================ ======================*/ <td id="newlink" class="vbmenu_control"><a href="#link">Test Link</a> <script type="text/javascript"> vbmenu_register("newlink"); </script></td> /*================================================= =====================*\ Find: \*================================================ ======================*/ <!-- / NAVBAR POPUP MENUS --> /*================================================= =====================*\ Add above: \*================================================ ======================*/ <!-- / new link menu --> <div class="vbmenu_popup" id="newlink_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr><td class="thead">Cat Name</td></tr> <tr><td class="vbmenu_option"><a href="#link_url">Link Name</a></td></tr> <tr><td class="vbmenu_option"><a href="#link_url">Link Name</a></td></tr> <tr><td class="thead">Cat Name</td></tr> <tr><td class="vbmenu_option"><a href="#link_url">Link Name</a></td></tr> <tr><td class="vbmenu_option"><a href="#link_url">Link Name</a></td></tr> </table> </div> <!-- / new link menu --> -------------------------------------------------------------------------- Replace The "Cat Name" with what you want your catogory to be And your links name where the "Link Name is" Add the link url where the "#link_url" is Done! -------------------------------------------------------------------------- /*================================================= =====================*\ || ################################################## ################## || Make it so only members see! || ################################################## ################## || \*================================================ ======================*/ /*================================================= =====================*\ Add: <if condition="$bbuserinfo['userid']"> --------------------------------------------------------- In front of the: --------------------------------------------------------- <td id="newlink" class="vbmenu_control"> --------------------------------------------------------- Add: </if> --------------------------------------------------------- After This: --------------------------------------------------------- </script></td> \*================================================ ======================*/ Example:... -------------------------------------------------------------------------- <if condition="$bbuserinfo['userid']"> <td id="newlink" class="vbmenu_control"><a href="#link">Test Link</a> <script type="text/javascript"> vbmenu_register("newlink"); </script></td></if> -------------------------------------------------------------------------- || ## Template Mode End ## || Enjoy! |
#3
|
||||
|
||||
Thank you
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|