Results 1 to 2 of 2

Thread: Slideshow on Macs, iPads, iPhones

  1. #1
    Join Date
    Sep 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Slideshow on Macs, iPads, iPhones

    1) Script Title: Fade Slideshow

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...nslideshow.htm
    3) Describe problem:

    The slideshow is on the homepage of the site. When users with macs, iphones, ipads and blackberries try to go to the site, they get the error message: Error: Div with ID "fadeshow1"

    Please see the code at
    http://policyleadershipinstitute.org/

    Please help as soon as you can!! Clients are very upset. Thank you.

  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

    There is an unclosed HTML comment block that is allowing browsers with stricter parsing algorithms to ignore most of the page, hence in fact:

    Error: Div with ID "fadeshow1" not found on page.
    which I believe is the full error message, is true.

    Using HTML comment blocks inside script and style tags, once required for legacy browsers, is now a dangerous practice. These browsers are long gone now, and even if they were not, could never render a modern web page anyway, regardless of these useless comment tags. So, get rid of them. The one in question here is (highlighted and red from the page's source code):

    Code:
    . . . 	fadeduration: 1000,
    	descreveal: "never",
    	togglerid: ""
    
    })
    
    </script>
    
    <link href="../css/css.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    <!--
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_pr . . .
    As I say, just get rid of it.

    The browser cache may need to be cleared and/or the page refreshed to see changes.
    - 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
  •