How To Add jQuery Image Zooming To Blogger



1.Login to your blogger dashboard--> layout- -> Edit HTML

2.Scroll down to where you see ]]> tag .

3.Copy below code and paste it just after the ]]> tag.

jQuery Image Zooming





Important !!! : Download jquery.js and jquery.jqzoom.js as a zip file from here and host jquery.js and jquery.jqzoom.js yourself.

4.Now save your template.

5.Go to Layout-->Page Elements and click on "Add a gadget".

6.Select "html/java script" and add the code given below and click save.

<span style=LARGE-IMAGE-ADDRESS" src="SMALL-IMAGE-ADDRESS" class="jqzoom"/>


Look at the example below.

<span style=https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIjHAgp4IdiMmh3b1OfFlPukN2IUZ0i0ncHE0gaGwJqmgjWMkQJX0l10APQx1uK-mRKp3G9Qxyl1SBid5MTtNVNJJJ-N5u2RUqfxgvluLycFebvIruvCtHu9CeWhiITKBGex7RYM8SN4hB/+Zoom+Image+big.jpeg" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguD1o7AY-fCeaBkjeldbvwcmfaoM9J5uEcbhQlE0zbA95RFc3uuBjsEFD4QSqu-UIW0liOiAHGbGFZ44uVjgYjhJaOm2KO-J0VZYbc-Xxexxt4BLTIdhHiHGZjvYgw8KJmzt030Pql1mmt/+Zoom+Image+small.jpg" class="jqzoom"/>


You are done.

Demo




0 comments: