SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Member
    Join Date
    Oct 2006
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    internet explorer speed problem

    hello.

    I'm checking this page in firefox: http://koculu.net/azer/code/js/dynamic_billboard/ no problem but i have very critical problem in internet explorer ...

    How can i fix this speed problem?

    thanks, sorry for bad english
    azer

  2. #2
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,190
    Mentioned
    191 Post(s)
    Tagged
    2 Thread(s)

    speed

    Hi civciv, welcome to the forums,
    I checked in both Firefox1.5.0.7 and IE6 Windows OS and the page loaded about the same in both with a dialup cnx. When you say "very critical" do you mean the page hangs for you when you use IE?

  3. #3
    SitePoint Member Flanker's Avatar
    Join Date
    Apr 2006
    Location
    Paris, France
    Posts
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    what u mean by speed problem ?

    I can see that the transition in IE is not as smooth as in Firefox .. is that ?

  4. #4
    SitePoint Member
    Join Date
    Oct 2006
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yes it is, internet explorer is not displaying transition as in Firefox..

  5. #5
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,190
    Mentioned
    191 Post(s)
    Tagged
    2 Thread(s)

    browser rendering differences

    Different browsers render pages differently as they load in the DOM. If you are concerned about this (I think most are happy just to have the page look acceptable after it has finished loading), it should help if you give everything layout. That is, explicitly define the position and dimensions of every element. That way browsers will know what areas of screen space to allocate for everything before they load in and not have to make adjustments afterwards.

  6. #6
    SitePoint Guru
    Join Date
    Sep 2006
    Posts
    731
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by civciv
    hello.

    I'm checking this page in firefox: http://koculu.net/azer/code/js/dynamic_billboard/ no problem but i have very critical problem in internet explorer ...

    How can i fix this speed problem?
    Increase the delay between each timeout. They're too close together for I.E. and effectively conflicting with each other. I tried it and it worked.

  7. #7
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,190
    Mentioned
    191 Post(s)
    Tagged
    2 Thread(s)

    settimeout

    Ah ... , now I understand what the problem is about. Sorry for not getting it , but I'm glad someone else did. There's not that much of a difference between Firefox and IE for me, but now that I know what to look for, I do see a slight difference. Logic Ali is correct, browsers treat settimeout differently so you may want to check this effect out with a few browsers and tweak it to the best compromise.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •