17 Mei 2013


In this tutorial im gonna explain how to add Bouncing  with jQuery.It  have nice hover effect. Every menu are
different  with colors. Im   using   jQuery and  HTML,  Just check out demo.Its easy to add to blogger. get my all menu bar here

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

Select-template

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    </head>

6. Paste below code Before </head> tag

<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js?ver=3.2.1' type='text/javascript'/>
<script src='http://bloggertrixcode.googlecode.com/files/jquery.easing.1.3.js' type='text/javascript'/>
<script src='http://bloggertrixcode.googlecode.com/files/animated-menu.js' type='text/javascript'/>

7. Go to blogger and click Layout

8. Click Add Gadget and select 'HTML/Javascript

9. Paste below code.

ul{
margin:0;
padding:0;
}
a:link {
color: #F8F8F8;
text-decoration: none;
font-weight: bold;}
li{
width:100px;
height:50px;
float:left;
color:#191919;
text-align:center;
overflow:hidden;
}
a{
color:#FFFFFF;
font-size:15px;
text-decoration:none;
}
p{
padding:0px 5px;
}
.subtext{
padding-top:15px;
}
/*Menu Color Classes*/
.green{background:#6AA63B url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8iSS3OnTCM4Gz0rAlw23FZCiEFmTAlj5mZbSZRDr8XcPnaoHVHph32_WxEoAHzP_ic08NKyFAWhAc_KtUpQHWiRoDmqblNcAmpceWqWuK49hX6o4ZQmsczi3DI62JNp6Ie_MO0iSufCg/s1600/btrix_green-item-bg.jpg') top left no-repeat;}
.yellow{background:#FBC700 url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGnW8qr-y8iM7C65fLB_VA2hrG7GWhM2JPCNhHqTu7d6CRA6OzJjPrSaf6pRuhl9wbMpB_PGgvKpAErm7JZAjjzkYMiB987iqrCP62rr_epIKobOut2swBachnRH8dvcXBZx7IrIxZvxM/s1600/btrix_purple-item-bg.jpg') top left no-repeat;}
.red{background:#D52100 url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsVxOi7conZKoYjDOInIsP1TVALurVC-t9ThjwMML_TNvZNexv0yRRxrmd-PkynSda6q101-dtWQ8GQP2d1yuq-GnwT2tk2sF2QkV6SJIu7O-NxsCOw8ivlGlLTEa4QcL5SNrm0oRYDDc/s1600/btrix_red-item-bg.jpg') top left no-repeat;}
.purple{background:#5122B4 url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVu94XJK_PlSf7xbyQiv1c2FdiA7LNQ56adgHWjS-CW1IJ1FTCIiIcB5faWXXSqjvesIHw1QjwODWfzhWCvNxiYG1uTJcgNuymbnV2_-_NBivScZdUphuJ5aEqXyi0T4Uv-JvLX-8H0tw/s1600/btrix_blue-item-bg.jpg') top left no-repeat;}
.blue{background:#0292C0 url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgActvEAqDMBotAYi3-Z0JzIerLZ23oO8Ly4k5NX_UqnGafKZbo3MV6Jtbo1MYjpjNplv82XIG7wFY6ZETLs-0WrxdkpOIfv8QxhbXGmsy7l6ShG8gWLZSlie7RFAveEuPObJx3Ii6dh-0/s1600/btrix_yellow-item-bg.jpg') top left no-repeat;}
</style>
<ul>
<li style="overflow: hidden; height: 50px; display: block;" class="green">
<p><a href="#">Home</a></p>
<p class="subtext">The front page</p>
</li>
<li style="overflow: hidden; height: 48px; display: block;" class="yellow">
<p><a href="#">About</a></p>
<p class="subtext">More info</p>
</li>
<li style="overflow: hidden; height: 50px; display: block;" class="red">
<p><a href="#">Contact</a></p>
<p class="subtext">Get in touch</p>
</li>
<li style="overflow: hidden; height: 50px; display: block;" class="blue">
<p><a href="#">Submit</a></p>
<p class="subtext">Send us your stuff!</p>
</li>
<li style="overflow: hidden; height: 50px; display: block;" class="purple">
<p><a href="#">Terms</a></p>
<p class="subtext">Legal things</p>
</li>
</ul>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-6444047-1");
pageTracker._trackPageview();
} catch(err) {}</script>
Replace # with your links.

10. Now save your HTML/Javascript'.

0 comments:

Posting Komentar

Mengenai Saya

Postingan Populer