Results 1 to 3 of 3

Thread: Translucent slideshow Script - error msg

  1. #1
    Join Date
    Mar 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Translucent slideshow Script - error msg

    Hello,

    I'm am incorporating Translucent slideshow Script into a new site: http://goryanassociates.com/index.php. On the home page I get an Error On Page, icon in the browser.

    But, I'm including this same script on a different page and I get no error. http://goryanassociates.com/index.ph...d&listing_id=2

    It says that the problem is line 162, and this is the snippet that it seems to be referring to: document.getElementById("cap").innerHTML = caption[curindex]; But, if I modify this line at all the entire slideshow goes away.

    Can you help? Thank you in advance for your time and brainpower.

  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

    Since you are not using that part of the script on that page you can just delete that line altogether.
    - John
    ________________________

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

  3. #3
    Join Date
    Mar 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default tried that

    Actually I tried that, and the entire script disappeared. But, thank you anyway.

    I just found the solution. As I was pouring my AM coffee it just came to me! There was code on the other detail page that was not on my index page. I just cut and pasted <div class="style4" id="cap" name="cap"></div>, even though I'm not using it, and the error went way.

    Thanks!

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
  •