netoops blog
Trang này chỉ copy lại để làm tài liệu cho mình thôi: Nếu có bài của bạn, thì xin bỏ qua. Cảm ơn.

Saturday, 17 November 2012

Hướng dẫn tạo Bookmark Sharing is Sexy Cuối Bài Viết (Đã fix lỗi hiển thị)


Hướng dẫn tạo Bookmark Sharing is Sexy Cuối Bài Viết (Đã fix lỗi hiển thị)

http://thuthuat.voquocan.com/2011/12/bookmark-sharing-cuoi-bai-viet-fix-loi.html
Post By: Võ Quốc An On: 24-12-2011 7 comments
Tình hình là mình rất thích cái thanh bookmark sharing is sexy ở cuối bài viết nhưng thời gian qua xem hướng dẫn ở nhiều nơi, làm thử thấy hầu như bài hướng dẫn nào khi hiển thị hình cũng bị chạy loạn xạ. Hôm trước down cái template của Btemplate về thấy nó chạy tốt nên lấy ra share cho mọi người đây.

Bắt đầu nào.
1. Chèn đoạn code này vào phía sau thẻ ]]></b:skin> chú ý là phía sau nha.
<style type="text/css">
div.beauty-bookmarks {height:54px;background:url(&#39;http://dl.dropbox.com/u/45453902/vipblog/sharingsexy.png&#39;) no-repeat left bottom;position:relative;width:540px;}
div.beauty-bookmarks span.beauty-rightside {width:17px;height:54px;background:url(&#39;http://dl.dropbox.com/u/45453902/vipblog/sharingsexy.png&#39;) no-repeat right bottom;position:absolute;right:-17px;}
div.beauty-bookmarks ul.socials {margin:0 !important;padding:0 !important;position:absolute;bottom:0;left:10px;}
div.beauty-bookmarks ul.socials li {display:inline-block !important;float:left !important;list-style-type:none !important;margin:0 !important;height:29px !important;width:48px !important;cursor:pointer !important;padding:0 !important;}
div.beauty-bookmarks ul.socials a {display:block !important;width:48px !important;height:29px !important;font-size:0 !important;color:transparent !important;}
.beauty-furl, .beauty-furl:hover, .beauty-digg, .beauty-digg:hover, .beauty-reddit, .beauty-reddit:hover, .beauty-stumble, .beauty-stumble:hover, .beauty-delicious, .beauty-delicious:hover, .beauty-yahoo, .beauty-yahoo:hover, .beauty-blinklist, .beauty-blinklist:hover, .beauty-technorati, .beauty-technorati:hover, .beauty-facebook, .beauty-facebook:hover, .beauty-twitter, .beauty-twitter:hover, .beauty-myspace, .beauty-myspace:hover, .beauty-mixx, .beauty-mixx:hover, .beauty-script-style, .beauty-script-style:hover, .beauty-designfloat, .beauty-designfloat:hover, .beauty-syndicate, .beauty-syndicate:hover, .beauty-email, .beauty-email:hover {background:url(&#39;http://dl.dropbox.com/u/45453902/vipblog/sexysprite.png&#39;) no-repeat !important;}
.beauty-furl {background-position:-300px top !important;}
.beauty-furl:hover {background-position:-300px bottom !important;}
.beauty-digg {background-position:-500px top !important;}
.beauty-digg:hover {background-position:-500px bottom !important;}
.beauty-reddit {background-position:-100px top !important;}
.beauty-reddit:hover {background-position:-100px bottom !important;}
.beauty-stumble {background-position:-50px top !important;}
.beauty-stumble:hover {background-position:-50px bottom !important;}
.beauty-delicious {background-position:left top !important;}
.beauty-delicious:hover {background-position:left bottom !important;}
.beauty-yahoo {background-position:-650px top !important;}
.beauty-yahoo:hover {background-position:-650px bottom !important;}
.beauty-blinklist {background-position:-600px top !important;}
.beauty-blinklist:hover {background-position:-600px bottom !important;}
.beauty-technorati {background-position:-700px top !important;}
.beauty-technorati:hover {background-position:-700px bottom !important;}
.beauty-myspace {background-position:-200px top !important;}
.beauty-myspace:hover {background-position:-200px bottom !important;}
.beauty-twitter {background-position:-350px top !important;}
.beauty-twitter:hover {background-position:-350px bottom !important;}
.beauty-facebook {background-position:-450px top !important;}
.beauty-facebook:hover {background-position:-450px bottom !important;}
.beauty-mixx {background-position:-250px top !important;}
.beauty-mixx:hover {background-position:-250px bottom !important;}
.beauty-script-style {background-position:-400px top !important;}
.beauty-script-style:hover {background-position:-400px bottom !important;}
.beauty-designfloat {background-position:-550px top !important;}
.beauty-designfloat:hover {background-position:-550px bottom !important;}
.beauty-syndicate {background-position:-150px top !important;}
.beauty-syndicate:hover {background-position:-150px bottom !important;}
.beauty-email {background-position:-753px top !important;}
.beauty-email:hover {background-position:-753px bottom !important;}
</style>
2. Chèn đoạn code phía dưới vào trước thẻ  <div class='post-footer'>
<b:if cond="data:blog.pageType == &quot;item&quot;">
</b:if>
<div class="beauty-bookmarks">
<ul class="socials">
<li class="beauty-delicious"><a expr:href="&quot;http://del.icio.us/post?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title" href="" target="_blank"></a></li>
<a expr:href="&quot;http://del.icio.us/post?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title" href="" target="_blank"> </a>
<li class="beauty-digg"><a expr:href="&quot;http://del.icio.us/post?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title" href="" target="_blank"></a><a expr:href="&quot; http://digg.com/submit?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title" href="" target="_blank"></a></li>
<a expr:href="&quot; http://digg.com/submit?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title" href="" target="_blank"> </a>
<li class="beauty-technorati"><a expr:href="&quot; http://digg.com/submit?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title" href="" target="_blank"></a><a expr:href="&quot; http://technorati.com/faves?add=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title" href="" target="_blank"></a></li>
<a expr:href="&quot; http://technorati.com/faves?add=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title" href="" target="_blank"> </a>
<li class="beauty-reddit"><a expr:href="&quot; http://technorati.com/faves?add=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title" href="" target="_blank"></a><a expr:href="&quot; http://www.reddit.com/submit?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title" href="" target="_blank"></a></li>
<a expr:href="&quot; http://www.reddit.com/submit?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title" href="" target="_blank"> </a>
<li class="beauty-stumble"><a expr:href="&quot; http://www.reddit.com/submit?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title" href="" target="_blank"></a><a expr:href="&quot; http://www.stumbleupon.com/submit?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title" href="" target="_blank"></a></li>
<a expr:href="&quot; http://www.stumbleupon.com/submit?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title" href="" target="_blank"> </a>
<li class="beauty-designfloat"><a expr:href="&quot; http://www.stumbleupon.com/submit?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title" href="" target="_blank"></a><a expr:href="&quot;http://www.designfloat.com/submit.php?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title" href="" target="_blank"></a></li>
<a expr:href="&quot;http://www.designfloat.com/submit.php?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title" href="" target="_blank"> </a>
<li class="beauty-facebook"><a expr:href="&quot;http://www.designfloat.com/submit.php?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title" href="" target="_blank"></a><a expr:href="&quot; http://www.facebook.com/sharer.php?u=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title" href="" target="_blank"></a></li>
<a expr:href="&quot; http://www.facebook.com/sharer.php?u=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title" href="" target="_blank"> </a>
<li class="beauty-twitter"><a expr:href="&quot; http://www.facebook.com/sharer.php?u=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title" href="" target="_blank"></a><a expr:href="&quot;http://twitter.com/home/?status=Chk Out-&quot; + data:post.title + &quot; &quot; + data:post.url" href="" target="_blank"></a></li>
<a expr:href="&quot;http://twitter.com/home/?status=Chk Out-&quot; + data:post.title + &quot; &quot; + data:post.url" href="" target="_blank"> </a>
<li class="beauty-furl"><a expr:href="&quot;http://twitter.com/home/?status=Chk Out-&quot; + data:post.title + &quot; &quot; + data:post.url" href="" target="_blank"></a><a expr:href="&quot; http://www.furl.net/storeIt.jsp?u=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title" href="" target="_blank"></a></li>
<a expr:href="&quot; http://www.furl.net/storeIt.jsp?u=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title" href="" target="_blank"> </a>
<li class="beauty-syndicate"><a expr:href="&quot; http://www.furl.net/storeIt.jsp?u=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title" href="" target="_blank"></a><a href="http://t%c3%aan%20blog%20c%e1%bb%a7a%20b%e1%ba%a1n.blogspot.com/feeds/posts/default" title="Subscribe to RSS"></a></li>
<a href="http://Tên blog của bạn.blogspot.com/feeds/posts/default" title="Subscribe to RSS"> </a>
<li class="beauty-email"><a href="http://t%c3%aan%20blog%20c%e1%bb%a7a%20b%e1%ba%a1n.blogspot.com/feeds/posts/default" title="Subscribe to RSS"></a><a expr:href="&quot; mailto:?subject=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title" href="" target="_blank"></a></li>
<a expr:href="&quot; mailto:?subject=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title" href="" target="_blank"> </a></ul>
<a expr:href="&quot; mailto:?subject=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title" href="" target="_blank"><span class="beauty-rightside"></span></a></div>
<div class="clear">
<a expr:href="&quot; mailto:EMAIL?subject=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title" href="" target="_blank">   

</a></div>
Nhớ thay cái dòng màu đỏ mình đã đánh dấu, rồi lưu template lại là xong.

No comments:

Post a Comment

Copyright 2010 Chú ý; trang này chỉ để chủ xem.

Home | Layout | Template | Allposts | Viết |