Tetractys
Tue 20th Jan '09, 2:57pm
I want to create an image rollover effect for the postbit buttons ( edit, reply, quote, multiquote, quickreply) So far I've only been able top get the hover to appear underneath the original button using this addition to the postbit template:
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" onmouseover="this.className='edit_over';"
onmouseout="this.className='edit';"/></a>CSS additional definitions:
/* **** image rollover button effect for edit button **** */
.edit
{
background-image: url(forum/images/buttons/edit.gif);
}
.edit_over
{
background-image: url(forum/images/buttons/edit_over.gif);
}
/* **** end image rollover button effect **** */What is missing here?
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" onmouseover="this.className='edit_over';"
onmouseout="this.className='edit';"/></a>CSS additional definitions:
/* **** image rollover button effect for edit button **** */
.edit
{
background-image: url(forum/images/buttons/edit.gif);
}
.edit_over
{
background-image: url(forum/images/buttons/edit_over.gif);
}
/* **** end image rollover button effect **** */What is missing here?