1 頁 (共 1 頁)

[問題]請問用ctrl+enter就可以發表的方法

發表於 : 2004-08-19 21:57
kamudi
我見過有人可以做到的
但自已不會
請問要如何做到

發表於 : 2004-08-19 22:15
bu
也許,你可以用 JavaScript 來做到這個功能...

發表於 : 2004-08-19 22:15
webspirit
這個行不行?
http://www.phpbbhacks.com/viewhack.php?id=2727
是用 Alt + S

發表於 : 2004-08-19 22:19
kamudi
webspirit 寫:這個行不行?
http://www.phpbbhacks.com/viewhack.php?id=2727
是用 Alt + S
請問可以修改到用ctrl+enter的嗎﹖
如果可以的話請問怎樣做﹖

發表於 : 2004-08-19 22:26
webspirit
sorry,我不會
有請高手了 ^^

發表於 : 2004-08-19 22:57
kamudi
如果是用java呢﹖可以做到這個效果嗎﹖

發表於 : 2004-08-20 23:03
bu
vbscript 好像可以的樣子
但 vbscript 比較少人用

發表於 : 2004-08-21 09:58
chunhong

代碼: 選擇全部

## Author Notes:
## You can replace the S with any other number

代碼: 選擇全部

----[Replace with]----
<input type='submit' name='post' class='mainoption' value='{L_SUBMIT}' accesskey='s' >
你有嘗試把 's' 改為 'enter' 還是什麼的嗎?
因為我也沒試過..

發表於 : 2004-08-21 10:17
kamudi
chunhong 寫:

代碼: 選擇全部

## Author Notes:
## You can replace the S with any other number

代碼: 選擇全部

----[Replace with]----
<input type='submit' name='post' class='mainoption' value='{L_SUBMIT}' accesskey='s' >
你有嘗試把 's' 改為 'enter' 還是什麼的嗎?
因為我也沒試過..
我未冇試過呀

發表於 : 2004-08-21 10:32
chunhong
那就試試啊~
反正你還是要花時間問嘛~
為何不邊問變做呢?
\n如果'enter'不行就用其他類似的字試試..

發表於 : 2004-08-21 13:16
kamudi
我用phpbb208
我找不到這個

代碼: 選擇全部

#-----[ OPEN ]------------------------------------------
#
viewtopic.php

#
#-----[ FIND ]------------------------------------------
#
		<input type='submit' name='post' class='mainoption' value='".$lang["Submit"]."' />

#
#-----[ REPLACE WITH ]------------------------------------
#
		<input type='submit' name='post' class='mainoption' value='".$lang["Submit"]."' accesskey='s' />

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM

發表於 : 2004-08-21 13:55
webspirit
This hack requires the Quick Reply Hack with Quote or the Advanced Quick Reply Hack.

發表於 : 2004-08-21 14:16
chunhong
kamudi 寫:我用phpbb208
我找不到這個

代碼: 選擇全部

#-----[ OPEN ]------------------------------------------
#
viewtopic.php

#
#-----[ FIND ]------------------------------------------
#
		<input type='submit' name='post' class='mainoption' value='".$lang["Submit"]."' />

#
#-----[ REPLACE WITH ]------------------------------------
#
		<input type='submit' name='post' class='mainoption' value='".$lang["Submit"]."' accesskey='s' />

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
你必須安裝QUICK REPLY的MOD..
http://www.phpbbhacks.com/viewhack.php?id=522
然後再到 templates/your_theme/quick_reply.tpl
再進行更改..
安裝QUICK REPLY后在試試這個..

代碼: 選擇全部

#
#-----[ OPEN ]------------------------------------------
#
quick_reply.tpl

#
#-----[ FIND ]------------------------------------------
#
                                <input type='submit' name='post' class='mainoption' value='{L_SUBMIT}'>

#
#-----[ REPLACE WITH ]------------------------------------
#
                                <input type='submit' name='post' class='mainoption' value='{L_SUBMIT}' accesskey='s' >

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
以上是QUICK REPLY的.. "alt+s"
希望你成功!
至於你要alt+enter的,試試看把accesskey='s'的s改成enter看看..
不知是否能成功..

發表於 : 2004-08-21 21:08
kamudi
我估accesskey改為enter都只係會變為alt+enter
我想它是ctrl+enter