Results 1 to 5 of 5

Thread: Carousel Slideshow is not seen in IE7

  1. #1
    Join Date
    Dec 2011
    Location
    Belgium
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Carousel Slideshow is not seen in IE7

    1) Carousel Slideshow HELP!

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/carousel.htm

    3) Describe problem: I used the script in a website and it works in Google Chrome, but when I open the site in IE 7 I do'nt see the Carousel slideshow.
    What is wrong? how can I fix it??
    Last edited by Sabine; 12-14-2011 at 02:54 PM.

  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

    It could be that when you edited this:

    Code:
    	Car_Image_Sources=new Array(
    		"photo1.jpg","http://www.dynamicdrive.com",
    		"photo2.jpg","http://www.javascriptkit.com",
    		"photo3.jpg","", //this slide isn't linked
    		"photo4.jpg","http://www.codingforums.com" // NOTE No comma after last line
    		);
    You allowed a comma to creep in there where it doesn't belong. Most modern browsers, IE 9 and Chrome included, but not IE 7, will error correct that for you. Technically speaking though you may not have a comma there.

    The browser cache may need to be cleared and/or the page refreshed to see changes.

    But it could be something else or there could also be other problems.

    If you want more help, please post a link to the page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

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

  3. #3
    Join Date
    Dec 2011
    Location
    Belgium
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thank you verry much for your quick reply!
    It's all new for me and I asume I made a mistake but where?
    The link is:
    http://www.johanlievens.be/De%20door...0Waterman.html
    Last edited by jscheuer1; 12-14-2011 at 03:48 PM. Reason: paste true link

  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

    OK, I found it, and it is something else. On that page:

    http://www.johanlievens.be/De%20door...0Waterman.html

    You have two body tags, one where it should be, at the start of the body content:

    Code:
    <body bgcolor="#666699" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">
    And one near the end:

    Code:
    <body onload="Carousel()">
    Technically only one of these tags is allowed per page. So get rid of the second one and make the first one be:

    Code:
    <body onload="Carousel()" bgcolor="#666699" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">
    - John
    ________________________

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

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

    Sabine (12-14-2011)

  6. #5
    Join Date
    Dec 2011
    Location
    Belgium
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Oh, I am so thankfull, it works indeed.
    It is'nt easy to do the first time, without knowing a lot about scripts and things like that.

    I got rid of the second one and did like you said. I published the file again and now it works fine.
    Thank you very much.
    Sabine

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
  •