$('notification_updates').hide();
$('notification_box').removeClass('active');
$('notification_box').setStyle('background-position', box_position(3, -1));
$('friend_box').removeClass('active');
$('friend_box').setStyle('background-position', box_position(2, -1));
$('inbox').removeClass('active');
$('inbox').setStyle('background-position', box_position(1, -1));
notif_position[3] = notif_position[3] == 2 ? 0 : notif_position[3];
freq_position[3] = freq_position[3] == 2 ? 0 : freq_position[3];
inbox_position[3] = inbox_position[3] == 2 ? 0 : inbox_position[3];
function hide_all_drop_box(except)
return notif_position[notif_position[3]];
return freq_position[freq_position[3]];
return inbox_position[inbox_position[3]];
function box_position(box, pos)
var notification_msg = new Array();
var notif_position = new Array('-75px -63px', '0px -95px', '-75px -127px', 0);
var freq_position = new Array('0px -63px', '-25px -63px', '-25px -127px', 0);
var inbox_position = new Array('-50px -95px', '-75px -95px', '-50px -127px', 0);
if (typeof jQuery != 'undefined') {
Комментариев нет:
Отправить комментарий