找回密码
 注册
查看: 5978|回复: 7
收起左侧

[分享] 动网论坛发帖框的地方增加soso表情

  [复制链接]

5340

主题

8360

帖子

1万

积分

管理员

出售国内外虚拟空间

Rank: 10Rank: 10Rank: 10

积分
14731
帖子
8360
精华
67
体力
14731 点
蓝豆
2391 点
注册时间
2007-6-8

终身成就奖LY官方团队会员身份ID卡

发表于 2010-10-15 16:40:01 | 显示全部楼层 |阅读模式
soso表情.jpg

代码在模板里面修改,这个我相信大家都知道
红色文字是添加的代码

快速回复:dispbbs_html0.htm

发帖:post_html0.htm




<span><textarea id="body" name="body" style="display:none;width:100%;height:240px;margin:0;padding:0;border:none;"></textarea><label>
<div style="margin:0;"><SCRIPT LANGUAGE="JavaScript">/span><label style="float:left;padding-top:3px;" id="ed_ins_face"><a href="javascript:void(0)" id="sosoexp_btn">soso表情</a></label>




*******



<input type="submit" value="OK!发表回复" id="submit" name="submit" class="input0" style="margin:3px;margin-left:0px;" /> <b>签名</b>:<input type="radio" id="signflag_1" name="signflag" value="0" class="radio" />
<label for="signflag_1">不显示</label>
<input type="radio" id="signflag_2" name="signflag" value="1" class="radio" checked="checked" />
<label for="signflag_2">显示</label> <span id="body_chk"></span>
</td>
</tr>
</table>
</form>
<script type="text/javascript" src="http://bq.soso.com/js/sosoexp_platform.js"></script>
<script type="text/javascript">
    var eExpBtn = document.getElementById('sosoexp_btn'),
         eEditBox = document.getElementsByTagName('textarea')[0],
         fFillEditBox = function(editbox, url) {
             var myc+url+' border="0" />';
    parent.dvtextarea.insert(mycont);
         };  
    SOSO_EXP.Register(60001, 'dvbbs', eExpBtn, 'right', eEditBox, fFillEditBox);
fFillEditBox = function(editbox, url) {
    parent.dvtextarea.insert(mycont);
};
</script>


<script language="javascript">
var copytoclip=1;
var url=gid("url");
url.value=window.location.href;
function copyToClipboard(theField,isalert) {
var tempval=gid(theField);
if (navigator.appVersion.match(/\bMSIE\b/)){
  tempval.select();
  if (copytoclip==1){
   therange=tempval.createTextRange();
   therange.execCommand("Copy");
   if(isalert!=false)alert("复制成功。现在您可以粘贴(Ctrl+v)到Blog 或 BBS中了。");
  }
  return;
}else{
  alert("您使用的浏览不支持此复制功能,请使用Ctrl+C或鼠标右键。");
  tempval.select();
}
}
$page_up=document.getElementById("showpage_top");
$page_bottom=document.getElementById("showpage");
if ($page_up && $page_bottom) $page_up.innerHTML=$page_bottom.innerHTML;
</script>
出售国内或美国高性能虚拟空间,高速VPS以及服务器! 同时承接各种类型的网站制作,网站维护,支付宝交易安全放心!    联系QQ:6102031
懒得打字嘛,点击右侧快捷回复
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

网站公告上一条 /2 下一条

GMT+8, 2025-2-5 17:37 , Processed in 0.118916 second(s), 27 queries , Gzip On.

© 2006-2022 Powered by Discuz! X3.4

快速回复 返回顶部 返回列表