11/28/10

Roll Overs in HTML

Below is a code which helps u create a roll over. for that u need to have a folder (in which the images will be there).


Roll overs are like slide show of images (or anything u want), in which u press a button and the image gets changed. The code below will help u make a roll over just like that u have in Facebook. so now if u want u can shoe others that u have a roll over made by you and which is same as FB.



****************##********************


JS Roll Over Script:(without < & >)



<body>


<a href="next.html" 
onMouseOver="document.arrow.src='images/arrow_on.gif'" 
onMouseOut="document.arrow.src='images/arrow_off.gif'">


<img src="images/arrow_off.gif" width="147"  
height="82" name="arrow" alt="arrow" />


</a>


</body>


SHARE THIS POST:

0 comments:

Post a Comment