Quote:
Originally Posted by hdaniel1
Here is what I did so this mod works on every browser.
First, as usual open up the navbar template and find this.
PHP Code:
<td class="alt2" valign="top" nowrap="nowrap">
You replace it with this.
PHP Code:
<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='$stylevar[thead_bgcolor]';
setInterval("Timer()", 500);
x=1;
function Timer()
{
set=1;
if (x==0 && set==1)
{
document.getElementById('pmBox').bgColor='$stylevar[tcat_bgcolor]';
x=1;
set=0;
}
if (x==1 && set==1)
{
document.getElementById('pmBox').bgColor='$stylevar[thead_bgcolor]';
x=0;
set=0;
}
}
-->
</script></if>
That is all!
EDIT: Also this works with 3.0.3.
|
Yes, I followed these instructions