Sunday, February 24, 2013

Stylish jQuery Image Menu For Blogger

In this  tutorial im gonna   explain,  how  to add jQuery photo  slider   for   blogger.  This  will  be   really  cool with     blogger.  You  can    add    it    above     to  your blogger  post with nice  looking  images  with  links  to your blog post.For this slider we are using jQuery  and jquery-easing  effects. Check  below link  for demo.Its not hard to add to your blog. Get my earlier slideshow

1. Log in to blogger account and Click drop down.
2. Now select "Template" Like Below.


3. Now you can see Live on blog, Click EDIT HTML Button"

4. Now click Proceed button.
5. Find this tag by using Ctrl+F    ]]></b:skin>

6. Paste below code Before ]]></b:skin> tag

/* slider*/

.jimgMenu {
 position: relative;
 width: 670px;
 height: 200px;
 overflow: hidden;
 margin: 25px 0px 0px;

.jimgMenu ul {
 list-style: none;
 margin: 0px;
 display: block;
 height: 200px;
 width: 1340px;
.jimgMenu ul li {
 float: left;

.jimgMenu ul li a {
 text-indent: -1000px;
 background:#FFFFFF none repeat scroll 0%;
 border-right: 2px solid #fff;
 height: 200px;

.jimgMenu ul li.landscapes a {
 background: url( repeat scroll 0%;

.jimgMenu ul li.people a {
 background: url( repeat scroll 0%;

.jimgMenu ul li.nature a {
 background: url( repeat scroll 0%;
.jimgMenu ul li.abstract a {
 background: url( repeat scroll 0%;
.jimgMenu ul li.urban a {
 background: url( repeat scroll 0%;

.clear {
 clear: both;}

7. Again Find this tag by using Ctrl+F    </head>

8. Paste below code Before </head> tag

<script src='' type='text/javascript'/>
<script src='' type='text/javascript'/>
<script src='' type='text/javascript'/>

<script type='text/javascript'>
$(document).ready(function () {

  // find the elements to be eased and hook the hover event
  $(&#39;div.jimgMenu ul li a&#39;).hover(function() {
    // if the element is currently being animated (to a easeOut)...
    if ($(this).is(&#39;:animated&#39;)) {
      $(this).stop().animate({width: &quot;310px&quot;}, {duration: 450, easing:&quot;easeOutQuad&quot;});
    } else {
      // ease in quickly
      $(this).stop().animate({width: &quot;310px&quot;}, {duration: 400, easing:&quot;easeOutQuad&quot;});
  }, function () {
    // on hovering out, ease the element out
    if ($(this).is(&#39;:animated&#39;)) {
      $(this).stop().animate({width: &quot;78px&quot;}, {duration: 400, easing:&quot;easeInOutQuad&quot;})
    } else {
      // ease out slowly
      $(this).stop(&#39;animated:&#39;).animate({width: &quot;78px&quot;}, {duration: 450, easing:&quot;easeInOutQuad&quot;});

9. Go to blogger and click Layout

10. Click Add Gadget and select 'HTML/Javascript

11. Paste below code.

<div class="jimgMenu">
    <li class="landscapes"><a href="#nogo">Landscapes</a></li>
    <li class="people"><a href="#nogo">People</a></li>
    <li class="nature"><a href="#nogo">Nature</a></li>
    <li class="abstract"><a href="#nogo">Abstract</a></li>
    <li class="urban"><a href="#nogo">Urban</a></li>

You can change images links on 6th step code.

12. Now save your HTML/Javascript'.

    You are done...