由 aaasss9555 » 2010-07-14 9:12 pm
在JS裡找到
$(document).ready(function()
把這一段向這樣注釋掉
- 代碼: 選擇全部
$(document).ready(function() {
$root = $(UI.set_frame == 1 ? f : dfoot).find('#wog_chat');
$root.find('#chatLoading').hide();
$body = $root.find('#chatBody');
//加入訊息顏色
var $color = $root.find('#chatColor');
$.each(color, function(k, v) {
$('<option value="'+v+'"> </option>').css('background-color', v).appendTo($color);
});
/*
$root.find('.channel-set').eq(0).change(function() {
var val = $(this).is(':checked');
$root.find('.channel-set').not($(this)[0]).removeAttr('checked').val([val?'1':'0']);
rootScope.Sookie('wog_chat_ne', val ? '1,1,1,1' : '0,0,0,0');
}).end().filter(':not(:eq(0))').change(function() {
var set = [0, 0, 0, 0];
$root.find('.channel-set:checked').each(function() {
set[parseInt($(this).parent().attr('channel'), 10)-1] = 1;
});
set = set.join(',');
rootScope.Sookie('wog_chat_ne', set);
if(set == '1,1,1,1') {
$root.find('.channel-set:eq(0)').val(['1']);
} else {
$root.find('.channel-set:eq(0)').removeAttr('checked');
}
});
var set = (""+rootScope.Gookie('wog_chat_ne')).split(',');
var chk = false;
$.each(set, function(k, v) {
if(parseInt(v, 10) == 0) {
chk = true;
$root.find('.channel-set:eq('+(k+1)+')').removeAttr('checked');
}
});
if(chk == true) {
$root.find('.channel-set:eq(0)').removeAttr('checked');
}*/
$root.find('#chatMessage').inputHint('請輸入訊息');
checkLogin();
});
試試看可不可以,不過這樣一來關閉頻道就無法使用了
書本的好壞不在於厚度而是內容;
人生的意義在於內涵而不是長短。