Results 1 to 4 of 4

Thread: Switch Content-script works slowly in IE

  1. #1
    Join Date
    Jan 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Switch Content-script works slowly in IE

    I'm using the Switch Content-script in a page that has about 200 expand/switch-contents. In Netscape there is no problem - but in Explorer the page freezes whenever the user leaves the page and returns to it! It is not server-related as the same thing happens when testing on my local machine.

    However there's no problem with the funtionality of the opening/closing of the content. - It is leaving and returning to the page which takes forever.

    Is there anything (hopefully something simple) I can do to speed this script up without having to reduce the amount of "expand/switch"-div's ???

    thanks for any help.

    christina

  2. #2
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    This might be something to do with the way Netscape and IE handle the cache.

    I'm guessing that IE is re-checking the data when you click Back, causing it to sift through a lot of information.

    Then again, I might be totally wrong; just my two cents.

    cr3ative
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  3. #3
    Join Date
    Jan 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks for the reply.
    Then there might not be much I can do about it....hmm...

  4. #4
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    When creating this script, we had to strike a balance between efficiency and use of implementation. A lot of the process as far as implementing the script is automated, though as a result, the script scans the page completely to put everything in place. If you're using a lot of switches (200 certainly would quality), then I can see a problem with efficiency developing. Unfortunately I don't have the time at the moment to re-examine the script to see what can be done, though I'm noting it for future development.

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
  •