Did you know, jQuery Link Nudging? Now we will add jQuery Link Nudging in Label. What is the effect? So, when you put your cursor on one of the label, the label will be move to the right. The You can try in this page (Try on "Labels"). Looks nice right? Now, if you wanna try Animated Label with jQuery, just follow the steps below.
1. Log in to your blogger account 2. Go to Design --> Edit HTML 3. Copy the code below, and paste above </head>
Google has updated their appearance, including their search box. I think this Search Box is very nice with some. So better for us to try create Cool Search Box with New Google Style. Below is the difference of the search box.
New Google Search
Google Search for Blogger
OK, let's see the . Looks nice right? Now if you want to create cool search box with new google style, just follow the steps below.
1. Log in to your blogger account 2. Go to Design -- Edit HTML 3. Copy the code below, and paste above ]]></b:skin>
/* div container containing the form */ #searchContainer { margin:20px; }
/* Style the "X" text button next to the search input field */ #delete { float:left; width:16px; height:29px; line-height:27px; margin-right:15px; padding:0 10px 0 10px; font-family: "Lucida Sans", "Lucida Sans Unicode",sans-serif; font-size:22px; background: #fff; border:solid 1px #d9d9d9; border-top:solid 1px #c0c0c0; border-left:none; } /* Set default state of "X" and hide it */ #delete #x { color:#A1B9ED; cursor:pointer; display:none; } /* Set the hover state of "X" */ #delete #x:hover { color:#36c; } /* Syle the search button. Settings of line-height, font-size, text-indent used to hide submit value in IE */ #submit { cursor:pointer; width:70px; height: 31px; line-height:0; font-size:0; text-indent:-999px; color: transparent; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMSICqpSswoTslZ5wpHtYPHmjkwHXlGAXmshZLDVavVcppO2KAzI9wdx8_38nW03Z7WH6CPM5zsljk0I3SXAyvwEDBgv1RkniOV9d_7jcQhffC59kDw1zzBdZdJilWy2hmOJI924JxfKql/s1600/ico-search.png) no-repeat #4d90fe center; border: 1px solid #3079ED; -moz-border-radius: 2px; -webkit-border-radius: 2px; } /* Style the search button hover state */ #submit:hover { background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMSICqpSswoTslZ5wpHtYPHmjkwHXlGAXmshZLDVavVcppO2KAzI9wdx8_38nW03Z7WH6CPM5zsljk0I3SXAyvwEDBgv1RkniOV9d_7jcQhffC59kDw1zzBdZdJilWy2hmOJI924JxfKql/s1600/ico-search.png) no-repeat center #357AE8; border: 1px solid #2F5BB7; } /* Clear floats */ .fclear {clear:both}
=> Adjust the width with your blog
4. Copy the code below, and paste above </head>
<script src='http://code.jquery.com/jquery-1.6.1.min.js' type='text/javascript'/> <script type='text/javascript'> $().ready(function() { // if text input field value is not empty show the "X" button $("#field").keyup(function() { $("#x").fadeIn(); if ($.trim($("#field").val()) == "") { $("#x").fadeOut(); } }); // on click of "X", delete input field value and hide "X" $("#x").click(function() { $("#field").val(""); $(this).hide(); }); }); </script>
5. Click
Adding New Google Search Box 1. Go to Design --> Page Elements --> Add Gadget 2. Choose "HTML/Java Script" 3. Add the code below
Hi, friends! Now, I will post about a trick. That's Change Image Just with Scroll. The effect is when you put your cursor on the picture and scroll the mousewheel, the picture will be change. Let's see the DEMO. Now if you want to try this trick, just follow the steps below.
1. Log in to your blogger account 2. Go to Design --> Page Elements --> Add gadget 3. Choose "HTML/Java Script"
<img id="slideshow" src="PICTURE-1" />
<script type="text/javascript"> var myimages=[ "PICTURE-1", "PICTURE-2", "PICTURE-3", "PICTURE-4", "PICTURE-5" ] var slideshow=document.getElementById("slideshow") var nextslideindex=0 function rotateimage(e){ var evt=window.event || e var delta=evt.detail? evt.detail*(-120) : evt.wheelDelta nextslideindex=(delta<=-120)? nextslideindex+1 : nextslideindex-1 nextslideindex=(nextslideindex<0)? myimages.length-1 : (nextslideindex>myimages.length-1)? 0 : nextslideindex slideshow.src=myimages[nextslideindex] if (evt.preventDefault) evt.preventDefault() else return false } var mousewheelevt=(/Firefox/i.test(navigator.userAgent))? "DOMMouseScroll" : "mousewheel"
if (slideshow.attachEvent) slideshow.attachEvent("on"+mousewheelevt, rotateimage) else if (slideshow.addEventListener) slideshow.addEventListener(mousewheelevt, rotateimage, false) </script>
=> You can replace the images that will be change => The image of PICTURE-1 must be same with PICTURE-1 4. Click SAVE
Hi, guys! Now, we will try to add floating spoiler menu. This spoiler menu is difference with others. We don't need to click the button to display the menu. Just put your cursor on this menu, and the menu wil be slide out. Want to see the DEMO? Now, if you wanna add floating spoiler menu into your blog, just follow the steps below.
1. Log in to your blogger account 2. Go to Design --> Page Elements --> Add Gadget 3. Chose "HTML/Java Script" 4. Add the code below