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/AVvXsEjPVw5VfEvL77ekmiagmSe_o770hikw6dz0BWtEM9L2uCkCoLELAOIf-GnwrGwPw7x5HTBsdltGjxwn8bcX4ClellsrvZhrlMgJzuFpe9YIoxXJU9SZoW5JajqcQZTgcuvZLcHEIyRD-vwL/+Zoom+Image+big.jpeg" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFPtiq5h8Mp9LgfPm0u8Kqf01noCo6xV8cwT8gAcqy9whwxir280B0xrbI3k3Pbx_9f2DLx48VOdKfBEm53LcxAsuWsYjIOqxjg_NRS1fCY8VcDHPiowHKNXFIexuy7qJtsHWAAxtx6qMw/+Zoom+Image+small.jpg" class="jqzoom"/>


You are done.

Demo




0 comments: