本帖最后由 不离科技 于 2010-11-29 10:31 编辑
占位解答提问。有问题请直接跟帖。
回复7楼 暂时没有
回复8楼 请参照以下代码- <a id="fx_wb" href="javascript:void((function(s,d,e,r,l,p,t,z,c){var%20f='http://v.t.sina.com.cn/share/share.php?appkey=1927862773',u=z||d.location,p=['&url=',e(u),'&title=',e(t||d.title),'&source=',e(r),'&sourceUrl=',e(l),'&content=',c||'gb2312','&pic=',e(p||'')].join('');function%20a(){if(!window.open([f,p].join(''),'mb',['toolbar=0,status=0,resizable=1,width=440,height=430,left=',(s.width-440)/2,',top=',(s.height-430)/2].join('')))u.href=[f,p].join('');};if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);else%20a();})(screen,document,encodeURIComponent,'','','','$post[subject]','{$_G[siteurl]}thread-$_G[tid]-1-1.html','gb2312'));" hidefocus="true"><img src="/my_/log/sina.gif" height="16" width="16" align="absmiddle" alt="分享到新浪微博"></a>
复制代码 添加到任意<a> </a>之间 需要注意的是sina.gif 需要上传到服务器
- <a href="javascript:void((function(s,d,e){if(/xiaonei\.com/.test(d.location))return;var%20f='http://share.xiaonei.com/share/buttonshare.do?link=',u=d.location,l=d.title,p=[e(u),'&title=',e(l)].join('');function%20a(){if(!window.open([f,p].join(''),'xnshare',['toolbar=0,status=0,resizable=1,width=626,height=436,left=',(s.width-626)/2,',top=',(s.height-436)/2].join('')))u.href=[f,p].join('');};if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);else%20a();})(screen,document,encodeURIComponent));"><img src="/my_/log/renren.gif" height="16" width="16" align="absmiddle" alt="分享到校内人人网"></a> <a href="javascript:void(window.open('http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url='+encodeURIComponent(document.location.href)));"><img src="/my_/log/Qzone.gif" height="16" width="16" align="absmiddle" alt="分享到QQ空间"></a> <a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(kaixin=window.open('http://www.kaixin001.com/~repaste/repaste.php?&rurl='+escape(d.location.href)+'&rtitle='+escape(d.title)+'&rcontent='+escape(d.title),'kaixin'));kaixin.focus();"><img src="/my_/log/kaix.gif" height="16" width="16" align="absmiddle" alt="转贴到开心网"></a> <a href="javascript:void(function() {var%20d=document,e=encodeURIComponent,s1=window.getSelection,s2=d.getSelection,s3=d.selection,s=s1?s1():s2?s2():s3?s3.createRange().text:'',r='http://www.douban.com/recommend/?url='+e(d.location.href)+'&title='+e(d.title)+'& sel='+e(s)+'&v=1',x=function() {if(!window.open(r,'douban','toolbar=0,resizable=1,scrollbars=yes,status=1,width=450,height=330'))location.href=r+'& amp;r=1'};if(/Firefox/.test(navigator.userAgent)) {setTimeout(x,0)}else{x()}})()"><img src="/my_/log/douban.gif" height="16" width="16" align="absmiddle" alt="收藏到豆瓣"></a> <a href="http://www.baidu.com/s?wd=$post[subject]" target="_blank"><img src="/my_/log/baidu.gif" width="16" height="16" align="absmiddle" alt="百度一下" /></a>
复制代码
回复12楼
1、开启沩静态的站点请修改复制代码为以下代码1 若未开启沩静态请使用代码2 提示:替换www.bp911.com为 ...
请问开启伪静态和不开启伪静态有什么区别
点击复制以后 获取到的地址不同
沩静态状态下 www.bp911.com/thread-$_G[tid]-1-1.html'
未开启沩静态是 www.bp911.com/forum.php?mod=viewthread&tid=
|