Can anyone please tell me how to have the blinking continue after moving the mouse off of mouseover? It blinks fine until you mouseover it and then it stops blinking and will not start back up until you refresh the page.
PHP Code:
<tr>
<td id="pmBox" bgcolor="#13486D" colspan="5"
onMouseOver="this.style.backgroundColor='#1C5780';
this.style.cursor='hand';"
onMouseOut="this.style.backgroundColor='#13486D';"
onClick="window.location.href='private.php?s=$session[sessionhash]'" title="Click Here to Open Your Private Messages $inboxname">
<center>
<b><normalfont>$bbuserinfo[username]'s Private Message Information</normalfont></b><br>
<smallfont>You have <b>$newpm[messages]</b> new private messages since your last visit.<br>
(You currently have <b>$unreadpm[messages]</b> unread messages and <b>$allpm[messages]</b> total messages, out of <b>$pmquota</b> allowed, in all of your folders.)
</center></smallfont>
</td></tr>
<script language="JavaScript">
<!-- Begin
$pmblink pmBox.bgColor='#6699CC';
$pmblink setInterval("Timer()", 500);
$pmblink x=1;
function Timer() {
set=1;
if(x==0 && set==1) {
pmBox.bgColor='#FF0000';
x=1;
set=0;
}
if(x==1 && set==1) {
pmBox.bgColor='#6699CC';
x=0;
set=0;
}
}
// End -->
</script>