PDA

View Full Version : Help me please with this hack


Ryan McBain
03-05-2002, 01:31 AM
Im trying to get this blinking pm hack to work. When I get a new pm my box wont blink. my template code is...

<script language="JavaScript">
<!-- Begin
$pmblink pmBox.bgColor='{tableheadbgcolor}';
$pmblink setInterval("Timer()", 500);
$pmblink x=1;
function Timer() {
set=1;
if(x==0 && set==1) {
pmBox.bgColor='{categorybackcolor}';
x=1;
set=0;
}
if(x==1 && set==1) {
pmBox.bgColor='{tableheadbgcolor}';
x=0;
set=0;
}
}
// End -->
</script>

What am I doing wrong?

FWC
03-05-2002, 01:41 AM
The regular blinking PM bar hack won't work with a category background image. I made a modified version that does:

http://www.vbulletin.org/hacks/index.php?s=&action=showhack&hackid=161

Ryan McBain
03-05-2002, 01:48 AM
Originally posted by FWC
The regular blinking PM bar hack won't work with a category background image. I made a modified version that does:

http://www.vbulletin.org/hacks/index.php?s=&action=showhack&hackid=161

I know FireFly's hack works for some people. What am I doing wrong? I shouldnt have to put anything extra in...

FWC
03-05-2002, 05:52 AM
Originally posted by Ryan McBain


I know FireFly's hack works for some people. What am I doing wrong? I shouldnt have to put anything extra in... You're not doing anything wrong. You are using a category background image. That breaks the original hack. You need to use the modified one.