新短訊於會員訊息區塊閃爍
相信有很多人因為瀏覽器或論壇本身設定的關係,
短訊的提醒框沒有跳出來而忽略了新短訊的情況發生吧?? 這個修改可以當有新的悄悄話來時,在首頁的會員訊息區塊中會閃爍提醒, 而修改也很簡單,只需修改一個模板navbar就可以實現。 ================================================================= 編輯模板 navbar 並搜尋: **************************** HTML代碼: <td class="alt2" valign="top" nowrap="nowrap"> **************************** 整段替換為 **************************** HTML代碼: <td valign="top" nowrap="nowrap" <if condition="$bbuserinfo['pmunread']">id="pmBox"<else />class="alt2"</if>> **************************** 搜尋: **************************** HTML代碼: <else /> <td class="alt2" nowrap="nowrap" style="padding:0px"> **************************** 在上面加上 **************************** HTML代碼: <if condition="$bbuserinfo['pmunread']"> <script type="text/javascript"> <!-- <!-- blink navbar on new pms --> pmBox.bgColor='$stylevar[thead_bgcolor]'; setInterval("Timer()", 500); x=1; function Timer() { set=1; if (x==0 && set==1) { pmBox.bgColor='$stylevar[tcat_bgcolor]'; x=1; set=0; } if (x==1 && set==1) { pmBox.bgColor='$stylevar[thead_bgcolor]'; x=0; set=0; } } --> </script></if> 修改完成 |
所有時間均為台北時間。現在的時間是 11:25 PM。 |
Powered by vBulletin® 版本 3.6.8
版權所有 ©2000 - 2024, Jelsoft Enterprises Ltd.
『服務條款』
* 有問題不知道該怎麼解決嗎?請聯絡本站的系統管理員 *