<script type="text/javascript">
//记忆碎片分享 http://huilang.me
jQuery(document).ready(function(){
var miniBlogShare = function() {
$('<img id="imgSinaShare" class="img_share" title="将选中内容分享到新浪微博" src="http://huilang.me/wp-content/uploads/2013/08/095419PQv.gif" /><img id="imgQqShare" class="img_share" title="将选中内容分享到腾讯微博" src="http://huilang.me/wp-content/uploads/2013/08/095419NWF.gif" />').appendTo('body');
$('.img_share').css({
display : 'none',
position : 'absolute',
cursor : 'pointer'
}); var funGetSelectTxt = function() {
var txt = '';
if(document.selection) { txt = document.selection.createRange().text;
} else { txt = document.getSelection(); }
return txt.toString();};
$('html,body').mouseup(function(e) {
if (e.target.id == 'img
新浪腾讯微博转发 js代码
最新推荐文章于 2021-03-11 11:09:27 发布