Results 1 to 3 of 3

Thread: Fade-in Slideshow 2.1 not showing up in IE

  1. #1
    Join Date
    Oct 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Fade-in Slideshow 2.1 not showing up in IE

    1) Script Title: Ultimate Fade-in slideshow (v2.1)

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

    3) Describe problem: works fine in safari, firefox, but nothing shows in in IE. Here's the site.

    http://alonzoguitars.com/

    any help is greatly appreciated, as I am not so good with javascript. Thanks.

  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

    Your page is in violation of Dynamic Drive's usage terms, which, among other things, state that the script credit must appear in the source code of the page(s) using the script. Please reinstate the notice first.


    Get rid of the two highlighted bits:

    Code:
    <script language="javascript1.2">
    <!--
    	
    	/* swap menu buttons  */
    	
    	function swapButtons(buttonone, buttontwo)
    	{
    	if (document.images)
    	{
    	document[buttonone].src= buttontwo;
    	}
    	}
    	/*SWAP BETWEEN LARGE IMAGES*/
    	
    	function swapImages(picone, pictwo)
    	{
    	if (document.images)
    	{
    	document[picone].src=pictwo;
    	}
    	}
    -->
    
    var mygallery=new fadeSlideShow({
    	wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
    	dimensions: [700, 518], //width/height of gallery in pi . . .
    By way of explanation - if you're interested, they're holdovers from when older browsers needed to be protected from javascript. However, these older browsers are almost never used these days, and if they were couldn't render a modern web page with or without javascript.

    Further, you could still use them. But the second one would need to be (and probably was originally to work as intended):

    Code:
    // -->
    But it's best not to use them as some modern browsers might ignore your javascript contained within them.

    Basically other browsers are error correcting them for you, while IE sees the second one as what it technically is - a syntax error, so stops processing the script at that point.
    Last edited by jscheuer1; 10-03-2011 at 12:26 AM. Reason: add notice
    - John
    ________________________

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

  3. #3
    Join Date
    Oct 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default thanks

    thanks for the fix! and I put the credit in there. sorry about that.

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
  •