金钱 55 威望 17 积分 17 帖子 12 精华 0 UID 34317 |
1#
发表于 2013-4-18 20:33:44 |只看该作者 |倒序浏览 | 取消回复通知
.onekey{position: relative; float: right; *margin-top: -20px;}.onekey a{margin-right:4px;}
一键分享
function _showOneKeymenu() {
if(!$('onekeymenu_menu')) {
menu = document.createElement('div');
menu.id = 'onekeymenu_menu';
menu.style.display = 'none';
menu.className = 'p_pop';
menu.innerHTML = ' 请稍候... ';
$('append_parent').appendChild(menu);
ajaxinnerhtml($('onekeymenu_menu'), '');
//ajaxget($('onekeymenu').href, 'onekeymenu_menu', 'ajaxwaitid');
}
showMenu({'ctrlid':'onekeymenu','ctrlclass':'a','duration':2,'fade':1});
}
function postToWb(){
var _t = encodeURI('什么叫合一——一个普通教友的认识');
var _url = encodeURIComponent('http://bbs.chinacath.org/thread-14729-1-1.html');
var _appkey = encodeURI('');
var _pic = encodeURI('');
var _site = 'http://bbs.chinacath.org/';
var _u = 'http://v.t.qq.com/share/share.php?title='+_t+'&url='+_url+'&appkey='+_appkey+'&site='+_site+'&pic='+_pic;
window.open( _u,'转播到腾讯微博', 'width=700, height=680, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, location=yes, resizable=no, status=no' );
}
function postToqz(){
var _t = encodeURIComponent('什么叫合一——一个普通教友的认识');
var _url = encodeURIComponent('http://bbs.chinacath.org/thread-14729-1-1.html');
var _u = 'http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?title='+_t+'&url='+_url;
window.open( _u,'分享到QQ空间', 'width=770, height=540, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, location=yes, resizable=no, status=no' );
}
function postToSq() {
var _t = encodeURIComponent('什么叫合一——一个普通教友的认识');
var _url = encodeURIComponent('http://bbs.chinacath.org/thread-14729-1-1.html');
var _u = 'http://shuqian.qq.com/post?from=3&jumpback=2&noui=1&uri='+_url+'&title='+_t;
window.open( _u,'收藏到QQ书签', 'width=930,height=570,left=50,top=50,toolbar=no,menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes' );
}
.pcb{margin-right:0}
|
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.