ebbinger_413 0 Report post Posted April 21, 2005 (edited) hey i was wondering if anyone could help me create a banner...gonna be used for web site...that is interactive.... the banner we got so far is just two pictures...one of a d and one of two s's spelling DSS dirty smelly shorts....does anyone know how to creat a java script that will allow the pictures to have a mouse over effect so that when you move your mouse over the d it will slide over and say dirty same with the two s's.... and when your mouse moves off of it...it slides back to just say d or ss or w/e.... Edited April 21, 2005 by microscopic^earthling (see edit history) Share this post Link to post Share on other sites
Tobias 0 Report post Posted April 23, 2005 Here is the code for an on mouseover and onmouseout effect for an image... <a href="YOUR SITE LINK HERE" onmouseover="image.src='YOUR SECOND IMAGE'S URL'" onmouseout="image.src='YOUR FIRST IMAGE'S URL'"> <img src="YOUR IMAGE URL HERE" name="image" width="W" height="H" border="B"> You can change the areas that are in italics. Just make sure that your image's name and the name you use in the onmouseover and onmouseout properties are the same. Hope that's what you were looking for. Oh yeah, the <a href=" "> at the beginning is if you want to link your image back to your site. Share this post Link to post Share on other sites