เพิ่มพื้นหลังให้ช่อง comment for discuz 7.2
เปิดไฟล์viewthread_fastpost.htm
ที่
templates\default\viewthread_fastpost.htm
หา
<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>แทนที่<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>หรือ ค้นหา></textarea>แทนที่ด้วยstyle="BACKGROUND: url({IMGDIR}/notice_bg.gif) #fff no-repeat center top;" onclick="this.style.background=''"ถ้าจะปรับตำแหน่งของภาพให้หา “no-repeat center top;" ตรง top ให้เปลี่ยนเป้นไรก็ได้ตามนี้ >>left,center,right เลือกเลยแล้วใส่แทน top ครับ
http://www.discuz.net/attachments/month_0911/09112503262eed669de026b99e.gif
ส่วนภาพให้ตั้งชื่อเป็น notice_bg.gif โดยไปไว้ที่ images/default/
http://www.discuz.net/attachments/month_0911/09112603246fac9400c6bfe09b.jpg
ขอบคุณจาก http://www.discuz.net/viewthread.php?tid=1493626&extra=&page=1 http://www.discuzthai.com/thread-13721-1-2.html
... -*- แก้ไขล่าสุดโดย sangvichai เมื่อ 2010-1-2 01:15
เวรกำ ขอโทษทีครับซ้ำ ^^ แต่ก็ยังดีที่มีไม่เหมือนเขาคือส่วนที่สอง แหะๆคือตรงหรือค้นหาน่ะ ^^ แถมขยับรูปได้ ^^ :lol
ยังจะถูไถไปได้อีกแหะเรา {:15_666:} ของเค้า 7.1 ของเรา 7.2
:lol ของเค้า 7.1 ของเรา 7.2
ต้นฉบับโพสต์โดย princekoong เมื่อ 2010-1-2 02:04 http://www.discuzthai.com/images/common/back.gif
ยู้ฮูว้าวๆๆๆๆลืมไปเลย 555+ ขอบคุณครับ ใจนะครับ
จะ ลอง ทำ ดู .. . กรรม อ้างอิงกันไปกันมา
รู้สึก MOD แบบนี้ขยันตั้งกระทู้กันจัง
ผมเจอมา 3 กระทู้ล้ะ ขอบคุณมากครับ ขอบคุนมากครับ
หน้า:
[1]