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(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnOVBQMocXxPcqFPm3fy2oXIVRYr-1wY3jEm1R6lmweQ8c5wWZrFPFglfVAeDyeWMeWFTj9c4b3Ea6ZaI0dx_n6O79-zYfWHnfLL8ecz1tx_wg9Wqo-uTMvsj9fzErK9R3EURohMoBjRlc/s1600/background.gif) no-repeat;} #circularMenu li {display:block; width:60px; height:60px; position:absolute;} #circularMenu li.home {left:120px; top:4px; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnXEmh2Nlo9LZ4C9eXCxla_Bc5gf28Kx1Q8LMO_PMmn4ORbjzHZ9I5cNsgp4ldkOO7lvEYJQOLj-n43lzE0aoJHf92tyBOCPg8qhuX4aq4J5JifMp5a_y-7nEsYTrYAn3hPtnNrDC7PHvG/s1600/home.gif) no-repeat center center;} #circularMenu li.chat {left:200px; top:40px; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5Xd5cSJShqeY9FZTQnM8KSiBRcajcLO1_KZtd_qassvu8ZlP5qQvN5-QSJU5NmdR_0EWLIO11mpjEfGljxtMT7p3V_RmukqonZmSyZYjz24NFdDw7HiGmQnX9DOuvd5ykuPD7Sb_O8MBU/s1600/chat.gif) no-repeat center center;} #circularMenu li.upload {left:35px; top:40px; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheXMDcdnDSbMCaU57UO8xvDi5MpU3e0n4tNErz3eCxgpHg1lA1smuz7UkM1lLbH6UhzP0W3gfnn2UX8sW0TKEi2RJec3mAhbV7JR5HqiFeB2LqhkiAy4-6Xp8OpVSeUD60-fRUkPJ0VTqD/s1600/photo.gif) no-repeat center center;} #circularMenu li.email {left:230px; top:115px; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_yC15wEJ_pEh1Jz-gK2TVhKfwvR8ICJekGJsR2bMBXXM9LZN72KqeYycalH7L-bbcrBi7fG6QDRCo6gG8NQgmfOb_Co2TLGJ14ksgi5WRm8bM43RkMfyIFZYAWPkOLM1dEZevsBvgiyEJ/s1600/email.gif) no-repeat center center;} #circularMenu li.address {left:5px; top:115px; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbwdu9hC1eT4P27bw15GnjU9iLPX457VoQ-Y1eL3evLz_mQ62M-qNMTnU0UUOUXTc6GBIBU0n038vs5xO_hb1JmueOqtfQuEuoZ5mjXZy077Hk1dxIxs4RjSy0qK_SuPjHXzJO6Tp5Y9o6/s1600/address.gif) no-repeat center center;} #circularMenu li.shop {left:200px; top:190px; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHph8eBBreiAH1jskpJLfPsOx80OH8VGEZkNwgtuU9ppuQug-3YR31e4e66LQIV-fi2P3ZJP0tgn5c31LwPZSSOJHqQJW2mQeQi6D4cmGE7gPtE7aronbgrEmMS6TUlh2ap4Yd1ODB_TwH/s1600/shop.gif) no-repeat center center;} #circularMenu li.search {left:35px; top:190px; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipgMT3KjFMcHiVwZSNlmm4HDVC9gWSYM-YrDZq31nOdUawmMmraGJVnptXZyR-t6PZ0ouV2mbEHy-R_WRMqkzAmcjXivqPBV_gSD1G7-1TI5Hc_37sp3SOpyhcAGy-AAvnZwNKPRiGOMz8/s1600/search.gif) no-repeat center center;} #circularMenu li.delivery {left:120px; top:225px; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivs6l0mvGt7lcrfRM4Vwl0tUMRQD5XPlhwFNCPm-QsshumJhRiqRe4R4UhuEWhF9LzzQzpROoNE2GeFdODKgEuNcgyxzC_xotF90pbK59Ro19Aar35CvlTa1k-8q88MQUBKkobqbrpu8Bi/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(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR7bOPkZDzYAh9vOUfy6VgN-jTjY1oQtrT0I5N9AxuARHy-INThjJhCHJU1Mycf1EzaGp3YHt-4yVYBoDBKSBWQy3XGuKrXq05AUGCgsOJ_8fhbrnSEkfKHqfLa2BWEcBPoeKx1CL6DLm0/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