private messeges flash

Well, i knew of a way to make the "your notifications" words blink.

Open navbar template and search for:

Code:
<div><span id="notifications"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a> <strong>$notifications_total</strong></span></div>
			<script type="text/javascript"> vBmenu.register("notifications"); </script>


replace this with:

Code:
<div><span id="notifications"><a href="usercp.php">

	<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); }
		}
	</script>
	<span style="color:red;"><blink>Your Notifications</blink></span>
	<img src="clear.gif" border="0" onload="CybSBlink();" />:</a> <strong>1</strong></span></div>
			<script type="text/javascript"> vBmenu.register("notifications", 1); </script>
 
k_hunter said:
Well, i knew of a way to make the "your notifications" words blink.

Open navbar template and search for:

Code:
<div><span id="notifications"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a> <strong>$notifications_total</strong></span></div>
			<script type="text/javascript"> vBmenu.register("notifications"); </script>


replace this with:

Code:
<div><span id="notifications"><a href="usercp.php">

	<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); }
		}
	</script>
	<span style="color:red;"><blink>Your Notifications</blink></span>
	<img src="clear.gif" border="0" onload="CybSBlink();" />:</a> <strong>1</strong></span></div>
			<script type="text/javascript"> vBmenu.register("notifications", 1); </script>

I did that code and it works great but it shows the login box (username and password box) even though I'm logged on, can anybody help me with this?

Thanks!
 
Back
Top