Форум АНТИЧАТ

Форум АНТИЧАТ (https://forum.antichat.xyz/index.php)
-   PHP, PERL, MySQL, JavaScript (https://forum.antichat.xyz/forumdisplay.php?f=37)
-   -   проблема JS в IE6 ( ругается на 'city_width' - определение отсутсвует) (https://forum.antichat.xyz/showthread.php?t=177016)

ufalog 07.02.2010 18:42

проблема JS в IE6 ( ругается на 'city_width' - определение отсутсвует)
 
IE6 ругается на 'city_width' - определение отсутсвует


в FF страница работает но постоянно как будто грузиться



походу ошибка в global.js

PHP код:


function set_period(){var t=new Date();var cy=t.getFullYear();var s=$('#copy span');var r=parseInt(s.text());if(cy>r)s.text(r+'—'+cy);}

function 
faq(){
    $(
'.question span').css('borderBottom','dashed 1px #000');
    $(
'.answer').hide();
    $(
'.question span').toggle(
        function(){
            $(
this).parent().next().fadeIn();
            $(
this).css('borderBottom','dashed 1px #fff');
        }, 
        function(){
            $(
this).parent().next().fadeOut();
            $(
this).css('borderBottom','dashed 1px #000');
        }
    );
}

$(
document).ready(function(){ 


в чем ошибка?


Время: 20:07