1 頁 (共 1 頁)

[問題]關於主題類型

發表於 : 2004-03-01 23:49
webspirit
請教 Mowd 大大
您於[推薦]強制要求發表標題 (須先裝主題類型)中所謂的「四個字元」如何計算?
以[問題]來說,算四個還是六個?
又您所謂「在適當的地方加入
哪裡才算適當?

在下愚昧\r
還請大大明示

發表於 : 2004-03-02 00:02
算四個!不管中英文數字都算1個字元。

發表於 : 2004-03-02 00:02
GeniusKiKi
一、四個
二、加在第一篇文章所說的

代碼: 選擇全部

   else if(document.post.subject.value != '' && (document.post.subject.value.charAt(0) != '[' || document.post.subject.value.lastIndexOf(']') == -1) && document.post.subject.value.substring(0, 3) != 'Re:') 
   { 
      formErrors = "請選擇合適的主題類型, 或以[ ]自行定義"; 
   }
的前面或後面都可以

發表於 : 2004-03-02 09:14
webspirit
感謝GeniusKiKi大大 ^^