2013-09-28, 05:19 PM
Hi!
I have this code:
But bar isn't changing, and i want if user is of a group, they bar change when the mouse is on bar. If i change to:
Help!
-Google Translator.
I have this code:
<script>
function imagem2 ()
{
x=document.getElementById("demo")
x.style.opacity="100";
}
function imagen2 ()
{
x=document.getElementById("demo")
x.style.opacity="0";
}
</script>
<if $mybb->user['additionalgroups'] == 22 then>
<div id="cf">
<img class="bottom" src="images/1company/mod-bar.png" id="demo" />
<img src="{$displaygroup['image']}" alt="{$usertitle}" title="{$usertitle}" class="top" onmouseover="imagem2()" onmouseout="imagen2()" /><br />
</div>
<else>
<img src="{$displaygroup['image']}" alt="{$usertitle}" title="{$usertitle}" /><br />
</else>
</if>
But bar isn't changing, and i want if user is of a group, they bar change when the mouse is on bar. If i change to:
<if $GLOBALS['mybb']->user['usergroup'] == 22 then>
Doesn't make any difference.Help!
-Google Translator.