|
-
Sep 27th, 2010, 10:45 AM
#1
Thread Starter
Fanatic Member
[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>
Learn something new every .001 second. 
-
Sep 27th, 2010, 10:53 AM
#2
Re: [vs2005] div image hover effect
What this function has ?
Try some of these
1
2
Please mark you thread resolved using the Thread Tools as shown
-
Sep 29th, 2010, 06:12 AM
#3
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.
~ the original bald headed old fart ~
-
Oct 6th, 2010, 04:41 AM
#4
Thread Starter
Fanatic Member
Re: [vs2005] div image hover effect
 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
Last edited by jlbantang; Oct 6th, 2010 at 08:28 AM.
Learn something new every .001 second. 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|