问题:怎样把留言板编辑器去掉,改为简单的多行文本框?
回答:打开/Include/PowerEasy.GuestBook.asp ,找到1087行,源代码为:
|
strHTM = strHTM & "<iframe ID='editor' src='../editor.asp?ChannelID=1&ShowType=2&tContentid=GuestContent' frameborder='1' scrolling='yes' width='480' height='150' ></iframe>" & vbCrLf |
改为:
|
strHTM = strHTM & "<textarea name='GuestContent' cols='45' rows='8' id='GuestContent'></textarea>" & vbCrLf |
cols="45":字符宽度
rows="8" :行数
提醒:动易系统固定字段名称(不能更改)--> GuestContent