Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[修改] 绿色快速回复框内添加提示背景图片 [7.2][2009-11-25]

  [复制链接]
yvae 发表于 2009-11-25 03:33:14 | 显示全部楼层 |阅读模式
本帖最后由 yvae 于 2010-5-8 19:09 编辑

演示
www.yh63.com/bbs/thread-49-1-1.html






查找templates\default\viewthread_fastpost.htm

  1. <textarea rows="5" cols="80" name="message" id="fastpostmessage" onKeyDown="seditor_ctlent(event, <!--{if $ordertype != 1}-->'fastpostvalidate($(\'fastpostform\'))'<!--{else}-->'$(\'fastpostform\').submit()'<!--{/if}-->);" tabindex="4" class="txtarea"></textarea>
复制代码
替换为
  1. <textarea rows="5" cols="80" name="message" id="fastpostmessage" onKeyDown="seditor_ctlent(event, <!--{if $ordertype != 1}-->'fastpostvalidate($(\'fastpostform\'))'<!--{else}-->'$(\'fastpostform\').submit()'<!--{/if}-->);" tabindex="4" class="txtarea"style="BACKGROUND: url({IMGDIR}/notice_bg.gif) #fff no-repeat center top;" onclick="this.style.background=''"></textarea>
复制代码
或查找
  1. ></textarea>
复制代码
在前面加入
  1. style="BACKGROUND: url({IMGDIR}/notice_bg.gif) #fff no-repeat center top;" onclick="this.style.background=''"
复制代码
如果要修改图片显示位置 修改“no-repeat center top;" left,center,right

看了有位朋友没成功哦。你可以用原来的文件覆盖回去,注意修改的时候不要添加错咯。

修改前最好保存下源文件,没修改正确可以覆盖再重新修改


下载附件图片为notice_bg.gif 传到 images/default/ 下




效果:

如果需要看下效果。

测试帐号 123456   密码 123456

测试地址 http://www.yh63.com/bbs/thread-49-1-1.html




回帖的站长已修改的:


www.hwc.com.my

http://www.nbwa.cn/thread-601-1-1.html
100ooo.com


已修改需要添加的麻烦回帖

评分

1

查看全部评分

 楼主| yvae 发表于 2009-11-25 03:48:29 | 显示全部楼层
演示

http://www.yh63.com/bbs/thread-49-1-1.html














原帖地址
https://discuz.dismall.com/thread-1409541-1-2.html
回复

使用道具 举报

djh0514 发表于 2009-11-25 10:50:14 | 显示全部楼层
这个不错
回复

使用道具 举报

bbskgm 发表于 2009-11-25 11:17:01 | 显示全部楼层
看看...............
回复

使用道具 举报

maikongjian14a 发表于 2009-11-25 11:19:06 | 显示全部楼层
看了演示 还不错的也
回复

使用道具 举报

wuweichao 发表于 2009-11-25 12:00:06 | 显示全部楼层
谢谢楼主了!
回复

使用道具 举报

wuweichao 发表于 2009-11-25 12:00:33 | 显示全部楼层
谢谢楼主了!
回复

使用道具 举报

qasd2005 发表于 2009-11-25 12:25:17 | 显示全部楼层
这个功能不错!
回复

使用道具 举报

叶落红尘 发表于 2009-11-25 14:29:28 | 显示全部楼层
看了演示 还不错的也
回复

使用道具 举报

lifeixue 发表于 2009-11-25 15:10:22 | 显示全部楼层
不错的也
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-9-22 10:33 , Processed in 0.117173 second(s), 20 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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