The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Flashing new event/highlight PM box
How do I use this code to highlight the PM/login box and flash new events (such as PM messages)???
Code:
<script language="Javascript" type="text/javascript"> function CybBlink() { var blink = document.getElementsByTagName("BLINK"); for (var i=0; i<blink.length; i++) { blink[i].style.visibility = blink[i].style.visibility == "" ? "hidden" : ""; } } function CybSBlink() { if (document.all) { setInterval("CybBlink()",600); } } var cyb_pm_phrase = '<a href="private.php">Private Messages</a>: Unread <strong>1</strong>, Total 23.'; var cyb_pm_phrase_stripped = cyb_pm_phrase.replace('</a>:', '</a>:<span id="navbar_cybppenh"><blink> <span style="color:red;">').replace(',', '</span></blink>,'); with (document) { write (cyb_pm_phrase_stripped); } vbmenu_register("navbar_cybppenh"); </script> </span> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|