i've came up with a code, just puttin things together i dont know if u guys like it but i think its coool, i just thoughti'd share this....... open ur admin panel then go to templates and then go to w/e skin u want. look for "header" open it and place this code in there u can edit the script and all
PHP Code:
<script language="JavaScript">
/*
*/
var IMtext = 'Text Color'; // change this to be the color of the text you want in the box that appears
var IMbg = 'Backgorund Color'; // change this to be the color of the background for the box that appears
var IMborder = 'Border color'; // change this to be the color of the border for the box that appears
var NS4 = (document.layers) ? 1 : 0;
var IE4 = (document.all) ? 1 : 0;
function findit() {
if(IE4)
if(window.document.body.createTextRange().text.match(/(\d+) are new./))
if(RegExp.$1 != 0)
newmessage(RegExp.$1);
if(window.document.body.createTextRange().text.match(/(\d+) is new./))
if(RegExp.$1 != 0)
newmessage(RegExp.$1);
if(NS4) {
if(!window.find("Welcome Guest.") && !window.find(", 0 are new."))
newmessage();
}
}
function newmessage(num) {
if(IE4) {
document.write('<span style="filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; id="imnew" style="position:absolute;top:100;width:100;height:100;" bgcolor="'+IMborder+'"><TABLE WIDTH="100" HEIGHT="100" CELLPADDING="0" CELLSPACING="1" BGCOLOR="'+IMborder+'"><TR><TD><TABLE WIDTH="100" HEIGHT="100" CELLPADDING="0" CELLSPACING="0"><TR><TD BGCOLOR="'+IMbg+'" ALIGN="CENTER"><a href="/?action=im"><FONT FACE="Verdana,Arial" SIZE="-1" COLOR="'+IMtext+'">You have <B>'+num+'</B> new message');
if(num != 1)
document.write('s');
document.write('!</A></font></TD></TR></TABLE></TD></TR></TABLE></span>')
imnew.style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity=0)";
fadeim(10,1);
imnew.style.left=document.body.clientWidth-105;
imnew.style.top=5;
setTimeout("fadeim(100,0)",4000);
}
if(NS4) {
newim = new Layer(100)
newim.left = document.width-105;
newim.top = 5
newim.document.write('<a href="/?action=im">You have a new instant message!</A>')
newim.document.close()
newim.visibility="show"
setTimeout('newim.visibility="hidden"',3000);
}
}
function fadeim(amount,direction) {
imnew.style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity="+amount+")";
if(direction && amount < 100) {
setTimeout("fadeim("+(amount+10)+","+direction+")",100);
}
if(!direction) {
if(amount > 0)
setTimeout("fadeim("+(amount-10)+","+direction+")",100);
else
imnew.style.visibility='hidden';
}
}
findit();
</script>
<table width="91%" cellspacing="1" cellpadding="4" border="0" class="bordercolor">
<tr>
<td width="100%" height="24" class="catbg" colspan="3" align="left" valign="middle">
<i><table style=filter:GLOW(color=white>Welcome to HHV</table></i>
</td>
</tr>
<tr>
<td class="windowbg">
<center>
<img src="http://images.google.ca/images?q=tbn:WLBBQxNV3V0J:www.caratuleo.com/v/varios_-_hip_hop_solo_en_espanol_2_cd3-front.jpg">
</center>
</td>
<td width="360" class="windowbg2">
Welcome to <b> HHV</b>
<br>
<br>
Is this your first visit? In case it is, HHV has been up for 3 days now we are growing very rapidly. This couldnt have happened if he didn't have the great "ACID ZERO" the owner of the site props. Our admin team works nite and day to see that we get all the work done and little things that the members want to see.
</td>
<td class="windowbg" align="center">
<center>
<marquee height="65" width="200" onmouseover="this.stop()" onmouseout="this.start()" direction="up" scrollamount="1" style="Filter:Alpha(Opacity=100, FinishOpacity=0, Style=1, StartX=0, StartY=40, FinishX=0, FinishY=0);"><font face="tahoma" color="#000000">
<center><b><bn time><br>
<br>
</b>
<table style=filter:GLOW(color=white)><u>HHV News</u>
<br>
<font size="1">
Welcome to HHV, the newest popularest site out there on the net next to b-boys. Our Text Tourney is up and runing rite now along with the audio one soon to start up.</center></table>
</font></marquee>
</center>
</td>
</tr>
<tr>
<td width="100%" height="24" class="catbg" colspan="3" align="left" valign="middle">
<bn uname><bn im>
</td>
</tr>
</table>
<b>copy righted Protected</b>