How To Add Images Gallery Widget With jQuery Hover / Zoom To Your Blogger. andrey понедельник, 22 июня 2015 г. No Comment



STEP #1
Log in to Blogger -> Layout -> Edit HTMLand select the tick-box Expand Widget Templates
Then, find (CTRL+F) this code in the template:





]]>

And immediately before it, paste this code:


/* Blogger Zoom Gallery By AllBlogTools.com */
ul.thumb {
float: left;
list-style: none;
margin: 0; padding: 10px;
width: 360px;
}
ul.thumb li {
margin: 0; padding: 5px;
float: left;
position: relative; /* Set the absolute positioning base coordinate */
width: 110px;
height: 110px;
}
ul.thumb li img {
width: 100px; height: 100px; /* Set the small thumbnail size */
-ms-interpolation-mode: bicubic; /* IE Fix for Bicubic Scaling */
border: 1px solid #ddd;
padding: 5px;
background: #f0f0f0;
position: absolute;
left: 0; top: 0;
}
ul.thumb li img.hover {
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtCDhva60aOJVRZi56QHUuAVXcrc-0D1xggALYUT0XKejKIGMyl0IJwc_8jRnxtIMMpd2HesdsVA8w6YhyphenhyphenxsyDunuxB2rh0bTey-Z-l90hdWpOanDboKPlAhsatoNe0OhTF6RsSa55oP4_/) no-repeat center center; /* Image used as background on hover effect
border: none; /* Get rid of border on hover */
}





Now find this code in the template:







And immediately before it, paste this code:




Now click Save Template










Step 2. Adding The Gallery To your template.

Go to Layout >> page elements and on your template’s sidebar, header or footer Click on ‘Add a Gadget‘.

then Select HTML/Javascript

A new window will appear, in title box Type your gallery title, and in content area Copy and Paste the next code













Now click Save 





Then instead Of picture 1 Link Type Your Image Url,

and if you want to make the image link to another page or url instead of # Add the target url.

Each time you want to add a new image to the gallery, just repeat this code.
  • URL 1 #">picture 1 Link" alt="" />


  • That’s it.


    STEP #1
    Log in to Blogger -> Layout -> Edit HTMLand select the tick-box Expand Widget Templates
    Then, find (CTRL+F) this code in the template:





    ]]>

    And immediately before it, paste this code:


    /* Blogger Zoom Gallery By AllBlogTools.com */
    ul.thumb {
    float: left;
    list-style: none;
    margin: 0; padding: 10px;
    width: 360px;
    }
    ul.thumb li {
    margin: 0; padding: 5px;
    float: left;
    position: relative; /* Set the absolute positioning base coordinate */
    width: 110px;
    height: 110px;
    }
    ul.thumb li img {
    width: 100px; height: 100px; /* Set the small thumbnail size */
    -ms-interpolation-mode: bicubic; /* IE Fix for Bicubic Scaling */
    border: 1px solid #ddd;
    padding: 5px;
    background: #f0f0f0;
    position: absolute;
    left: 0; top: 0;
    }
    ul.thumb li img.hover {
    background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtCDhva60aOJVRZi56QHUuAVXcrc-0D1xggALYUT0XKejKIGMyl0IJwc_8jRnxtIMMpd2HesdsVA8w6YhyphenhyphenxsyDunuxB2rh0bTey-Z-l90hdWpOanDboKPlAhsatoNe0OhTF6RsSa55oP4_/) no-repeat center center; /* Image used as background on hover effect
    border: none; /* Get rid of border on hover */
    }





    Now find this code in the template:







    And immediately before it, paste this code:




    Now click Save Template










    Step 2. Adding The Gallery To your template.

    Go to Layout >> page elements and on your template’s sidebar, header or footer Click on ‘Add a Gadget‘.

    then Select HTML/Javascript

    A new window will appear, in title box Type your gallery title, and in content area Copy and Paste the next code













    Now click Save 





    Then instead Of picture 1 Link Type Your Image Url,

    and if you want to make the image link to another page or url instead of # Add the target url.

    Each time you want to add a new image to the gallery, just repeat this code.
  • URL 1 #">picture 1 Link" alt="" />


  • That’s it.
    by Jillur Rahman

    Jillur Rahman is a Web designers. He enjoys to make blogger templates. He always try to make modern and 3D looking Templates. You can by his templates from Themeforest.

    Follow him @ Twitter | Facebook | Google Plus

    No Comment