我想我應該不會再改了
這裡我只提供我目前的程式碼
詳細教學請至在 Blogger 加上各種推文按鈕
/*Social Icon*/
.social{
background:transparent url(http://www.xxxx.com/social_icons.png) 0 0 no-repeat;
/*16*16按鈕的圖片網址*/
display: -moz-inline-box;
display: inline-block;
height:16px;
margin:0 4px;
text-indent:-999999px;
vertical-align:middle;
width:16px;
opacity:0.75;
overflow:hidden;
}
.social:hover{
opacity:1;
}
a.toFacebook{ background-position: 0 0; }
a.toPlurk{ background-position: 0 -16px; }
a.toTwitter{ background-position: 0 -32px; }
a.toTechnorati{ background-position: 0 -48px; }
a.toDelicious{ background-position: 0 -64px; }
a.toBuzz{ background-position: 0 -80px; }
a.toDigg{ background-position: 0 -96px; }
a.toStumbleUpon{ background-position: 0 -112px; }
a.toDesignFloat{ background-position: 0 -128px; }
a.getAtomRSS{ background-position: 0 -144px; }
a.toReader{ background-position: 0 -160px; }
<div class='post-footer-line post-footer-line-99'><span class='post-social-icons'>
分享至 :
<a class='social toFacebook' expr:href='"http://www.facebook.com/sharer.php?u="+ data:post.url + "&t=" + data:post.title' rel='external nofollow' target='_blank' title='分享至 Facebook'>Facebook</a>
<a class='social toPlurk' expr:href='"http://www.plurk.com/?qualifier=shares&status="+ data:post.url + " (" + data:post.title + ")"' rel='external nofollow' target='_blank' title='分享至 Plurk'>Plurk</a>
<a class='social toTwitter' expr:href='"http://twitter.com/home?status=" + data:post.title + " "+ data:post.url' rel='external nofollow' target='_blank' title='分享至 Twitter'>Twitter</a>
<a class='social toTechnorati' expr:href='"http://technorati.com/faves?add="+ data:post.url + " " + data:post.title' rel='external nofollow' target='_blank' title='分享至 Technorati'>Technorati</a>
<a class='social toDelicious' expr:href='"http://del.icio.us/post?url="+ data:post.url + " " + data:post.title' rel='external nofollow' target='_blank' title='儲存至 Delicious'>Delicious</a>
<a class='social toDigg' expr:href='"http://digg.com/submit?phase=2&url="+ data:post.url + "&title=" + data:post.title' rel='external nofollow' target='_blank' title='分享至 Digg'>Digg</a>
<a class='social toStumbleUpon' expr:href='"http://www.stumbleupon.com/submit?url="+ data:post.url + "&title=" + data:post.title' rel='external nofollow' target='_blank' title='分享至 Stumble Upon'>Stumble Upon</a>
<a class='social toDesignFloat' expr:href='"http://www.designfloat.com/submit.php?url="+ data:post.url + "&title=" + data:post.title' rel='external nofollow' target='_blank' title='分享至 Design Float"'>Design Float</a>
<a class='social toReader' expr:href='"http://www.google.com/reader/link?url="+ data:post.url + "&title=" + data:post.title + "&srcURL="+data:blog.homepageUrl' rel='external nofollow' target='_blank' title='分享至 Google Reader'>Google Reader</a>
<a class='social toBuzz' expr:href='"http://www.google.com/buzz/post?url="+ data:post.url' rel='external nofollow' target='_blank' title='分享至 Buzz'>Buzz</a>
<a class='social getAtomRSS' href='/feeds/posts/default' title='訂閱 Atom / RSS' type='application/atom+xml'>Atom / RSS</a>
</span></div>
4 回應:
您好,關於PLURK分享時,至PLURK會出現
http:ken1024.blogspot.com/2011/03/my-life.html
少了//請問程式上可以修改嗎?
謝謝。
這個問題我可能要等等,最近沒什麼時間,但這星期五我會丟出來。
Okay
花點時間撰寫跟測試
我想這次應該沒問題了
不過我怎麼喜歡在我的 Blog 上加一堆 JS
所以我自己並沒有用這個版本
有問題在跟我說吧!
http://jax-work-archive.blogspot.com/2011/03/blogger-plurk-bug.html
好的,謝謝喔!
張貼留言