Strange Firefox and IE work

Discussion in 'Javascript' started by dskrizhewsky@gmail.com, Dec 26, 2006.

  1. Guest

    Hello,

    I have the following algorithm

    1. Show message DIV

    2. Long Loop Function

    3. Hide message DIV


    Opera shows DIV well. Firefox and IE don't show the DIV.
    If to rewrite the algorithm like this Firefox and IE will show DIV

    1. setTimeout(Long Loop Function,500)
    2. Show message DIV

    I also tried to debug the first algorithm in Firebug, and in step by
    step mode I see that Firefox shows the DIVs.

    Is it standart behaviour? What prevents browsers from showing the DIV?
    , Dec 26, 2006
    #1
    1. Advertising

  2. Lee Guest

    said:
    >
    >Hello,
    >
    >I have the following algorithm
    >
    >1. Show message DIV
    >
    >2. Long Loop Function
    >
    >3. Hide message DIV
    >
    >
    >Opera shows DIV well. Firefox and IE don't show the DIV.
    >If to rewrite the algorithm like this Firefox and IE will show DIV
    >
    >1. setTimeout(Long Loop Function,500)
    >2. Show message DIV
    >
    >I also tried to debug the first algorithm in Firebug, and in step by
    >step mode I see that Firefox shows the DIVs.
    >
    >Is it standart behaviour? What prevents browsers from showing the DIV?


    Yes, that's expected from graphical user interfaces in general.
    While script or other code is running, the GUI doesn't get any
    CPU cycles to update the display.


    --
    Lee, Dec 26, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Hans Nieser
    Replies:
    4
    Views:
    1,476
    Hans Nieser
    Sep 16, 2004
  2. Chris  Ashley

    Strange CSS Firefox issue

    Chris Ashley, Mar 30, 2006, in forum: HTML
    Replies:
    3
    Views:
    503
    Wÿrm
    Mar 31, 2006
  3. Udo Huebner
    Replies:
    22
    Views:
    1,036
    Udo Huebner
    Feb 2, 2012
  4. VK
    Replies:
    9
    Views:
    95
  5. Larax
    Replies:
    1
    Views:
    97
    Randy Webb
    Aug 22, 2006
Loading...

Share This Page