Jump to content

Mouse over effect - Repost


Guest

Recommended Posts

I am still tryign to nail down this mouse over effect.

I have changed the categories.tpl file inside the boxes folder of my skin to show my category images as buttons. To do this I had to also change the categories.inc.php inside the inculdes folder.

The images work great as buttons...but now i would like to have those same images swap with other ones when the mouse moves over the button.

The images that i will be using to swap with are located in the images/uploads folder

here is the categories.tpl code:

<!-- BEGIN: categories -->

<div class="boxContentRight">

<ul>

<a href="index.php"><img src="../../store/images/uploads/01quiver.jpg" alt="test" border="0" /></a>

<!-- BEGIN: li -->

<a href="index.php?act=viewCat&amp;catId={DATA.cat_id}"><img src="../../store/images/uploads/{DATA.cat_image}" alt="{DATA.cat_name}" border="0" /></a>

<!-- END: li -->

</ul>

</div>

<div class="boxContentRight">

<!-- BEGIN: sale -->

<a href="index.php?act=viewCat&amp;catId=saleItems" class="txtDefault">{LANG_SALE_ITEMS}</a>

<!-- END: sale -->

</div>

<!-- END: categories -->

what do i need to do to make the image swap mouse over effect work?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...