Kamis, 15 Oktober 2009
How To Create Rollover Images in Blogger
A rollover image is an image that changes to some other image when you or your customer rolls the mouse over it.To add a rollover effect to your images use the code below.
<a href="IMAGE-DESTINATION-URL"><img src="IMAGE-1-LINK" onmouseover="this.src='IMAGE-2-LINK'" onmouseout="this.src='IMAGE-1-LINK'" /></a>
IMAGE-1-LINK : The original image link
IMAGE-2-LINK : The rollover image link
To get a good understand look at the example below.
CODE :
<a href="http://bloggertipandtrick.blogspot.com/"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjIuQeyuygG6AHFuX_xDKaDtawEmGBOPdKsJl7NPRtdX5wrOXSw5icFmzL6KMZJ8DwN0IkQ192K6iy6mVzVqI5PC0E3qKvy8WRpzDXNCcuxVCJzyWK8jBWzNXhgL3u301ZIjKILe15UIo/" onmouseover="this.src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSQvBIP8y50cF0ljtQG8ktXwGK8ouqy6XFc7H0Tqo_2P_s3TC_41JIxHdgzzTeU6pIN6lJH912LK0WyxYxCrhKsLC5YVSuHX68PRL3p_63PAt3LLNS7Myo4IokgtVOMHYi5_RgsJ8ien0/'" onmouseout="this.src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjIuQeyuygG6AHFuX_xDKaDtawEmGBOPdKsJl7NPRtdX5wrOXSw5icFmzL6KMZJ8DwN0IkQ192K6iy6mVzVqI5PC0E3qKvy8WRpzDXNCcuxVCJzyWK8jBWzNXhgL3u301ZIjKILe15UIo/'" /></a>
RESULT :
Langganan:
Posting Komentar
(
Atom
)
Tidak ada komentar :
Posting Komentar