The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
I'm not seeing something here...
Okay, so in the header template that I'm working on (yes, this is usually in the navbar template), I have:
HTML Code:
<div id="notifications"> <a href="usercp.php$session[sessionurl_q]"> Foobar $vbphrase[your_notifications]:</a> $notifications_total </div> <script type="text/javascript"> vBmenu.register("notifications"); </script> HTML Code:
<div style="cursor: pointer;" id="notifications"> <a href="usercp.php"> Foobar Your Notifications:</a> 1 <img alt="" title="" src="images/misc/menu_open.gif" border="0"></div> <script type="text/javascript"> vBmenu.register("notifications"); </script> I just can't figure out how they got there. --don |
#3
|
||||
|
||||
You source code will always show more then what's in the template.
The menu_open.gif is the drop down arrow like the ones in the navbar above. With notifications, it will only show if you have unread notifications. |
#4
|
|||
|
|||
Really good point, @Blind-eddie.
|
Благодарность от: | ||
blind-eddie |
#5
|
|||
|
|||
Quote:
Quote:
--don Okay...based o your comments, I went back and looked at the navabr of the default skin: HTML Code:
<td id="usercptools" class="vbmenu_control"> <a href="$show[nojs_link]#usercptools" accesskey="3"> $vbphrase[quick_links] </a> <script type="text/javascript"> vbmenu_register("usercptools"); </script> </td> HTML Code:
<td style="cursor: pointer;" id="usercptools" class="vbmenu_control"> <a href="/teach/index.php?nojs=1#usercptools" accesskey="3"> Quick Links </a> <script type="text/javascript"> vbmenu_register("usercptools"); </script> <img alt="" title="" src="images/misc/menu_open.gif" border="0"> </td> |
Благодарность от: | ||
blind-eddie |
#7
|
|||
|
|||
That did it...when I disabled javascript, the image and the pointer went away...so they are being added by a script! That explains how they got there.
|
#8
|
||||
|
||||
Glad you could read my typo "nrowser" lol
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|