Results 1 to 5 of 5

Thread: Simple Gallery and Internet Explorer not working

  1. #1
    Join Date
    Dec 2009
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Simple Gallery and Internet Explorer not working

    1) Script Title: Simple Controls Gallery

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...plegallery.htm

    3) Describe problem: I integrated the simple controls gallery into multiple pages of our website. It works in Chrome, Safari, & Firefox but not Internet Explorer. If I change the security settings, or disable and then enable javascript it will work but I have to do that every time I visit each page in internet explorer. This script DOES work with IE when viewing the sample on the DD page. I have compared the code between pages, browsed the forums, and can't find any conflicts. Please help ASAP! Thanks.

    Here is the site to view the source code. http://tsaarchitects.com/completed-p...burkholder.php
    Last edited by jscheuer1; 12-15-2009 at 04:37 AM. Reason: fix broken link

  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

    This:

    Code:
    <div id="simplegallery1"></div>
    Technically doesn't exist because it is outside the structure of the table:

    Code:
                      <tr>
    
                      <div id="simplegallery1"></div>
    
                      </tr>
    See? there is no td, just a tr. Other browsers are error correcting this for you.

    So you need to make that:

    Code:
                      <tr>
    
                      <td><div id="simplegallery1"></div></td>
    
                      </tr>
    But then it won't be centered, so you need to make that:

    Code:
                      <tr>
    
                      <td><div id="simplegallery1" style="margin:0 auto;"></div></td>
    
                      </tr>
    But that still won't center it in IE, so you also need to change the DOCTYPE (first thing at the top of the page's source code) from:

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    to:

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    In an unrelated matter, you have an unclosed a tag here:

    Code:
    <td><a href="/contact-us.php"><b>TSA Architects, pllc</b></td>
    It should be:

    Code:
    <td><a href="/contact-us.php"><b>TSA Architects, pllc</b></a></td>
    This (unless corrected) may or may not cause other problems.
    - John
    ________________________

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

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    nickbaxter (12-15-2009)

  4. #3
    Join Date
    Dec 2009
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Great Thanks!

    That worked perfectly. I suppose I was distracted by getting the header content right that I wasn't looking in the body. Thanks. Very thorough, I appreciate it.

  5. #4
    Join Date
    Aug 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi,
    I've the same problem.. I'm using simplegallery on my website and it works with any browsers except Internet Explorer...
    I can't solve with the above solution you give to the other user.
    You can see the page code in this page: www.bbcastelcarlo.it/test

    thanks a lot,
    Emanuele.

  6. #5
    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

    I just checked, looks the same in IE and others here. Perhaps you just need to clear the browser's cache.

    If you want more help, please start a new thread.
    - 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
  •