MaR?
09-13-2009, 11:59 PM
Im using Css sprites. And I have just one "button" not working. Is MULTQUOTE Button.
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false" class="multiquote spritebutton">
<img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" />
</a>
The class=?multicitar spritebutons? should work this way:
.multiquote {
background-position : 0 -640px;
width : 82px;
height : 23px;
}
.multiquote:hover {
background-position : 0 -670px;
}
For the roll to work, I have to delete any tag <img?.> and put the class into tag <a ref?.>
The problem of MULTIQUOTE button is that it have 3 moment:
The normal
The hover
and when is PRESS (images/buttons/multiquote_on.gif) <--- This should NOT be CSS.
So, I want to know how to make this works.
Thanks!.
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false" class="multiquote spritebutton">
<img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" />
</a>
The class=?multicitar spritebutons? should work this way:
.multiquote {
background-position : 0 -640px;
width : 82px;
height : 23px;
}
.multiquote:hover {
background-position : 0 -670px;
}
For the roll to work, I have to delete any tag <img?.> and put the class into tag <a ref?.>
The problem of MULTIQUOTE button is that it have 3 moment:
The normal
The hover
and when is PRESS (images/buttons/multiquote_on.gif) <--- This should NOT be CSS.
So, I want to know how to make this works.
Thanks!.