Pin It

Mouse Over Image Effect

You can make your blog's presentation more attractive by adding the special effect to the images. When mouse is moved up to the image it changes another image. For Example see the change in the images shown below when you hover mouse on it.

You noticed the change! It works of the basis of the given syntax  

<a href="TARGET URL GOES HERE"><img src="URL OF FIRST IMAGE GOES HERE" onmouseover="this.src='URL OF SECOND IMAGE GOES HERE'" onmouseout="this.src='URL OF FIRST IMAGE GOES HERE'" /></a>

1. TARGET URL GOES HERE: Put Your target URL, as I put my twitter link to Target URL. If You want to open it in new window simply write after it target="blank" , see below

<a href="TARGET URL GOES HERE" target="blank">

Example <a href="" target="blank">

2. URL OF FIRST IMAGE GOES HERE : Put your first image URL. This image will appear as default without mouse hovering it. Do not forget to put the same URL after the second image URL, it repeats two times (see in blue color text).

3.URL OF SECOND IMAGE GOES HERE :Put the second image URL. This image will appear only when cursor hover it. 

See the complete example of above twitter image

<a href="!/arvindjangid" target="blank"><img onmouseout="this.src=''" onmouseover="this.src=''" src="" /></a>

Finally the code may be used in blog's sidebar and in HTML also. 

Respective Reader ! If You Like this Please Share it.                                                                          


If You Found Something Useful, Then Kindly share This Now:
Technorati Digg This Stumble Stumble Facebook Twitter
साँझा करें Share It Now !
StumpleUpon DiggIt! Blinklist Yahoo Furl Technorati Simpy Spurl Reddit Google Twitter FaceBook



Post a Comment

Your Suggestions are valuable for me.

FeedBurner Updates


Thanks for Your Arrival !


© 2011-2018. Mast Blog Tips All Rights Reserved Arvind Jangid, Sikar, Rajasthan. Template by Mast Blog Tips | Back To Top |