PDA

View Full Version : New scrollbar in new link


Aaron RV
05-17-2004, 05:51 AM
How can I realize a new scrollbar with external links like to a .jpg attachment?

imported_lichtflits
05-17-2004, 07:48 AM
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!

Aaron RV
05-17-2004, 05:24 PM
Thank you :)