08/07/2011

Blogger Menubar Hình Tròn



  Với thanh menubar hình tròn sống động này trong blogger sẽ giúp cho users dễ dàng hơn trong việc tìm kiếm thông tin trên blog của bạn. Để thêm tính năng này vào blog, bạn làm theo những bước sau:


Bước 1: Goto >> dashboard >> design>> Page elements >> Add a Gadget >> html/javascript >> copy và paste đoạn code sau vào
 <ul id="circularMenu">
<li class="home"><a href="#"><b>HOME
back to the start</b></a></li>
<li class="chat"><a href="#"><b>CHAT
talk to friends in real time</b></a></li>
<li class="email"><a href="#"><b>EMAIL
send us your thought on an email</b></a></li>
<li class="shop"><a href="#"><b>SHOP
online shopping for all your needs</b></a></li>
<li class="delivery"><a href="#"><b>DELIVERY
track your deliveries</b></a></li>
<li class="search"><a href="#"><b>SEARCH
search our enormous site</b></a></li>
<li class="address"><a href="#"><b>ADDRESS
why not send us a letter</b></a></li>
<li class="upload"><a href="#"><b>UPLOAD
upload images to your web space</b></a></li>
</ul>
<style>
#circularMenu {padding:0; margin:0 auto; list-style:none; position:relative; width:300px; height:300px; background:#fff url(http://2.bp.blogspot.com/_XQm2Bew_4mE/TI4aX0nuNvI/AAAAAAAADAo/rnGUq9ndWl0/s1600/background.gif) no-repeat;}
#circularMenu li {display:block; width:60px; height:60px; position:absolute;}
#circularMenu li.home {left:120px; top:4px; background:url(http://3.bp.blogspot.com/_XQm2Bew_4mE/TI4aRIG2mpI/AAAAAAAADAQ/kQltcdkKUdY/s1600/home.gif) no-repeat center center;}
#circularMenu li.chat {left:200px; top:40px; background:url(http://2.bp.blogspot.com/_XQm2Bew_4mE/TI4aMkfvQ1I/AAAAAAAAC_4/os03y7_CEgQ/s1600/chat.gif) no-repeat center center;}
#circularMenu li.upload {left:35px; top:40px; background:url(http://4.bp.blogspot.com/_XQm2Bew_4mE/TI4aUF6H0rI/AAAAAAAADAg/l2_3lkiWEJs/s1600/photo.gif) no-repeat center center;}
#circularMenu li.email {left:230px; top:115px; background:url(http://2.bp.blogspot.com/_XQm2Bew_4mE/TI4aQCDZCHI/AAAAAAAADAI/VB8VTBwSOAE/s1600/email.gif) no-repeat center center;}
#circularMenu li.address {left:5px; top:115px; background:url(http://1.bp.blogspot.com/_XQm2Bew_4mE/TI4aK0QBwBI/AAAAAAAAC_w/ywlaM-QjIWY/s1600/address.gif) no-repeat center center;}
#circularMenu li.shop {left:200px; top:190px; background:url(http://4.bp.blogspot.com/_XQm2Bew_4mE/TI4aSEof_xI/AAAAAAAADAY/ZUC07XqqgGU/s1600/shop.gif) no-repeat center center;}
#circularMenu li.search {left:35px; top:190px; background:url(http://3.bp.blogspot.com/_XQm2Bew_4mE/TI4bO1ojRjI/AAAAAAAADAw/CwAHWSSDlMg/s1600/search.gif) no-repeat center center;}
#circularMenu li.delivery {left:120px; top:225px; background:url(http://4.bp.blogspot.com/_XQm2Bew_4mE/TI4aOh-t95I/AAAAAAAADAA/ivyeOyveJ3w/s1600/delivery.gif) no-repeat center center;}

#circularMenu li a b {display:none;}
#circularMenu li a {display:block; width:60px; height:60px; text-align:center;}

#circularMenu li a:hover {background:url(http://2.bp.blogspot.com/_XQm2Bew_4mE/TI4b0tLXGRI/AAAAAAAADA4/0UcEw7f4gYc/s320/circle.gif); text-decoration:none; font-family:georgia, serif;}
#circularMenu li a:hover b {position:absolute; display:block; width:100px; height:100px; font-size:16px; color:#63352c; background:#fff;}
#circularMenu li a:hover b span {display:block; font-size:12px; color:#888; font-weight:normal; margin-top:15px;}

#circularMenu li.home a:hover b {left:-22px; top:100px;}
#circularMenu li.chat a:hover b  {left:-102px; top:64px;}
#circularMenu li.upload a:hover b  {left:63px; top:64px;}
#circularMenu li.email a:hover b  {left:-132px; top:-11px;}
#circularMenu li.address a:hover b  {left:93px; top:-11px;}
#circularMenu li.shop a:hover b  {left:-102px; top:-87px;}
#circularMenu li.search a:hover b  {left:63px; top:-87px;}
#circularMenu li.delivery a:hover b  {left:-22px; top:-121px;}
</style>


  Bước2: Bạn nhớ Chỉnh sửa/ Edit các đoạn code màu đỏ hình # với URL mà bạn sử dụng trong blog và save .

0 nhận xét:

Đăng nhận xét

Related Posts Plugin for WordPress, Blogger...
 
Copyright © 2010-2012 CON CUA BIEN. All rights reserved.