Results 1 to 2 of 2

Thread: Conveyor belt script error

  1. #1
    Join Date
    Nov 2004
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Conveyor belt script error

    1) Script Title: Conveyor belt

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

    3) Describe problem: Script has been working great for 2 years. Suddenly 3 days ago, I started getting "unterminated string constant" errors. I copied and pasted fresh script from DD on clean page and still get error. anyone else run into this? Script is curently loaded here:

    http://eteamz.active.com/thunderbird...subsite=618852

  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

    You have:

    Code:
    /***********************************************
    * Conveyor belt slideshow script-  Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
    ***********************************************/
    
    
    //Specify the slider's width (in pixels)
    var sliderwidth="650px"
    //Specify the slider's height
    var sliderheight="275px"
    //Specify the slider's slide speed (larger is faster 1-10)
    var slidespeed=1
    //configure background color:
    slidebgcolor="#EAEAEA"
    
    //Specify the slider's images
    var leftrightslide=new Array()
    var finalslide='
    leftrightslide[0]='<a href="http://"><img src="http://www.eteamz.com/thunderbirds1/images/charlie2.jpg" border=3></a>'
    leftrightslide[1]='<a href="http://"><img src="http://ww . . .
    It should be:

    Code:
    var finalslide=''
    That's an unterminated string literal. There could be other problems.
    - 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
  •