PDA

View Full Version : Conveyor belt script error



mat13
06-20-2007, 11:22 AM
1) Script Title: Conveyor belt

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/leftrightslide.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/thunderbirds1/news/index.cfm?cat=0&subsite=618852

jscheuer1
06-20-2007, 04:58 PM
You have:


/***********************************************
* 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:


var finalslide=''

That's an unterminated string literal. There could be other problems.