Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Strange Firefox and IE work

Reply
Thread Tools

Strange Firefox and IE work

 
 
dskrizhewsky@gmail.com
Guest
Posts: n/a
 
      12-26-2006
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?

 
Reply With Quote
 
 
 
 
Lee
Guest
Posts: n/a
 
      12-26-2006
http://www.velocityreviews.com/forums/(E-Mail Removed) 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.


--

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Jumping to a page back: Strange behavior of Firefox and InternetExplorer Udo Huebner HTML 22 02-02-2012 09:54 AM
Very strange problem - Firefox and "variable is not defined" after refresh Larax Javascript 1 08-22-2006 02:04 PM
Strange problem with MSN Hotmail and Firefox Jimmy Dean Computer Support 6 06-22-2006 02:06 AM
Strange rProblems with IE6.0, Firefox 1.04 and Windows explorer Fred Computer Information 0 06-29-2005 11:24 PM
Firefox 1.04 and Strange Find Behavior Thomas Firefox 5 06-28-2005 08:40 PM



Advertisments