Results 1 to 4 of 4

Thread: problem with Advanced Gallery Script in IE

  1. #1
    Join Date
    Feb 2007
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default problem with Advanced Gallery Script in IE

    1) Script Title: Advanced Gallery Script

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/agallery.htm

    3) Describe problem:

    Hi all,

    I believe there is a something wrong with this script in IE 7. I have it installed on my site. In Firefox, it runs just fine without any problem. In IE 7, it displays nothing with an error: 'partscollect' is undefined. In order to overcome this, I found a way of deleting temp files of IE. After empty temp files, it runs OK. What is happening here? Anybody helps please!!!

    Thanks,

    KC.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    The demo works fine here in IE 7. If clearing your cache of temporary files fixes anything, it was an old problem that no longer exists.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Feb 2007
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi John,

    Actually here is a full story. I do not want the radio controller, and just want the code with manual control only, so I change
    Code:
    var displaymode="manual"
    and add

    Code:
    preparemode('manual')
    in the bottom of the code, right before </script>. Then I had that error in IE.

    I found out that removing preparemode('manual') solves the problem. Do you know why is that?

    Thanks,

    KC

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    The preparemode() function is only for use during an already initialized and running script. Placing it where you did ran the risk of it being executed before the onload event that initializes the script. When this happens there could be errors, perhaps non-fatal ones. IE often reports non-fatal errors but, unless you have it in some way specifically enabled, FF will never do so.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •