I read through the forum, but it didn't work.. I got this error:
line: 381
car: 1
error: 'pmBox' is undefined
Code: 0
URL: ...forumdisplay.php?f=3
even if I undo all changes. I still got that error.
What I did was, open dreamweaver, open file, "vbulletin-style.xml, I do a search replace & replace:
search:
<td class="alt2" valign="top" nowrap="nowrap">
replace with:
<td valign="top" nowrap="nowrap" <if condition="$bbuserinfo['pmunread']">id="pmBox"<else /> class="alt2"</if>>
<if condition="$bbuserinfo['pmunread']">
<script type="text/javascript">
<!--
<!-- blink navbar on new pms -->
document.getElementById('pmBox').bgColor='$styleva r[thead_bgcolor]';
setInterval("Timer()", 500);
x=1;
function Timer()
{
set=1;
if (x==0 && set==1)
{
document.getElementById('pmBox').bgColor='$styleva r[tcat_bgcolor]';
x=1;
set=0;
}
if (x==1 && set==1)
{
document.getElementById('pmBox').bgColor='$styleva r[thead_bgcolor]';
x=0;
set=0;
}
}
-->
</script></if>
nothing else is done. Now, I hate the error java script message. By the way, does this work for vb3.0.7?
|