Kokisho Posted October 10, 2006 Share Posted October 10, 2006 Well, I have a problem, I need a link to change into a different image when you put your mouse over it. If someone could help me it would be greatly appreciated... Link to comment Share on other sites More sharing options...
aspnetguy Posted October 10, 2006 Share Posted October 10, 2006 try this http://www.joemaller.com/js-singleroll.shtml Link to comment Share on other sites More sharing options...
reportingsjr Posted October 10, 2006 Share Posted October 10, 2006 put this on the image: <a href="" onmouseover="this.innerHTML='<img src=\"blah.png\"' />"><img blah... /></a> Link to comment Share on other sites More sharing options...
Kokisho Posted October 10, 2006 Author Share Posted October 10, 2006 Thanks, so would I have to put that in the <script> Tags? Link to comment Share on other sites More sharing options...
jhecht Posted October 10, 2006 Share Posted October 10, 2006 <script type="text/javascript">function changeimage(item,newImage){item.src=newImage;}</script>call it like:<a href="link.page"><img src="beginningpage.jpg" onmouseover="changeimage(this,'secondpage.jpg')" onmouseout="changeimage(this,'beginningpage.jpg')"/></a> Link to comment Share on other sites More sharing options...
Kokisho Posted October 11, 2006 Author Share Posted October 11, 2006 Thanks... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now