fighnight Posted August 6, 2008 Share Posted August 6, 2008 I need help on making a javascript function for changing image and text at the same time on a URL. I am a beginner at coding javascript. I need some help? Link to comment https://forums.phpfreaks.com/topic/118374-changing-text-and-image-on-url/ Share on other sites More sharing options...
lemmin Posted August 6, 2008 Share Posted August 6, 2008 Like this? <img alt="text1" src="pic1.jpg" onmouseover="this.alt='text2';this.src='pic2.jpg'" onmouseout="this.alt='text1';this.src='pic1.jpg'> Link to comment https://forums.phpfreaks.com/topic/118374-changing-text-and-image-on-url/#findComment-609782 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.