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

Discussion in 'PHP' started by ufalog, 7 Feb 2010.

  1. ufalog

    ufalog Elder - Старейшина

    Joined:
    28 Jul 2007
    Messages:
    174
    Likes Received:
    6
    Reputations:
    -5
    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(){





    в чем ошибка?
     
    #1 ufalog, 7 Feb 2010
    Last edited: 7 Feb 2010