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.

IMAGE-DESTINATION-URL">IMAGE-1-LINK" onmouseover="this.src='IMAGE-2-LINK'" onmouseout="this.src='IMAGE-1-LINK'" />

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 :

http://bloggertipandtrick.blogspot.com/">https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6DvQgBSrXHRfT0cZDu-vukmeZyzUemLqrxIj4oebctvdFhQ7OmkqTrhOVXGMtoxICfbenG8vAtw0rSs3gDQbLpZhyphenhyphenYv0UVeW4FIwXrz1PyQe_d5rqPIMurFEvoCnbmvxNKTGhx8wCb4Y/" onmouseover="this.src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjen6UP1zgE7wrhref4llMmfNszhW2Uu_8Ad5IU-QktSDVFh60I7WxlXE-2XnynLektab86BOh-Ey_DnrBEshrhl4sOH27LZ6tjtJUn4U2sMNbJqvU9_I-JP4v6TTiyPTltviXtpHfO1AU/'" onmouseout="this.src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6DvQgBSrXHRfT0cZDu-vukmeZyzUemLqrxIj4oebctvdFhQ7OmkqTrhOVXGMtoxICfbenG8vAtw0rSs3gDQbLpZhyphenhyphenYv0UVeW4FIwXrz1PyQe_d5rqPIMurFEvoCnbmvxNKTGhx8wCb4Y/'" />


RESULT :




0 comments: