[vs2005] div image hover effect
Hi team, the hover effect was created in dreamwaver and it works perfectly when used in table. but something seems unusual with hover effect once use in div. Can I apply the same effect in divs without changing any codes in javascript.
code
Code:
<div id="home"><a href="default.aspx" onmouseout="MM_swapImgRestore()"
onmouseover="MM_swapImage('home','','_images/hover/home.jpg',1)">
<img src="_images/click/home.jpg" alt="home"/></a></div>
Re: [vs2005] div image hover effect
What this function has ?
Try some of these
1
2
Re: [vs2005] div image hover effect
Hi there jlbantang,
I would suggest that rollovers for links are better and easier done with CSS.
If you are unfamiliar with this method, give me the relevant images and I will knock up an example for you. ;)
Re: [vs2005] div image hover effect
Quote:
Originally Posted by
coothead
Hi there jlbantang,
I would suggest that rollovers for links are better and easier done with CSS.
If you are unfamiliar with this method, give me the relevant images and I will knock up an example for you. ;)
thanks. i check that too. i have an image link across all pages which link to our webmail it would be neat to do that in css.
check the sample.
Code:
<a href="somewhere.html"
onmouseover="document.sub_but.src='movedown.gif'"
onmouseout="document.sub_but.src='moveup.gif'">
<img src="moveup.gif" width="143" height="39" border="0"
alt="Move your mouse over me" name="sub_but" />
</a>
http://www.webdevelopersnotes.com/ti...rollovers.php3