lizziebelle
03-19-2007, 06:13 PM
1) Script Title: Translucent scroller
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/translucentscroll.htm
3) Describe problem:
I have copied the above script into the body of the document. I can edit the first two scroller contents as below:
var scroller_width='500px'
var scroller_height='85px'
var bgcolor='#E0EFD1'
var pause=3000 //SET PAUSE BETWEEN SLIDE (3000=3 seconds)
var scrollercontent=new Array()
//Define scroller contents. Extend or contract array as needed
scrollercontent[0]=' Mr. A, a joiner, was exposed to Asbestos when cutting and working with Asbestos in the building trade. He was suffering from Mesothelioma and received a settlement of <b>£200,000.!'
scrollercontent[1]='Mr. B, a security officer, was exposed when removing Asbestos from pipes whilst working as a maintenance worker. He received a settlement of <b>£150,000</b> after contracting Mesothelioma.'
But as soon as I add the 3rd/4th or 5th it stops working! See content below
scrollercontent[0]='Mr. A, a joiner, was exposed to Asbestos when cutting and working with Asbestos in the building trade. He was suffering from Mesothelioma and received a settlement of <b>£200,000.</b>'
scrollercontent[1]='Mr. B, a security officer, was exposed when removing Asbestos from pipes whilst working as a maintenance worker. He received a settlement of <b>£150,000</b> after contracting Mesothelioma.</b>'
scrollercontent[2]='Mr. C, a factory worker engaged in contruction of railway carriages in the 1950's received a settlement of <b>£90,000</b>. He too was suffering from Mesothelioma.'
scrollercontent[3]='A shipyard worker received a settlement of <b>£140,000</b> after contracting lung cancer and mesothelioma after exposure in the 1950's.'
What am I doing wrong? It makes no sense to me??!
Can anyone help? :confused:
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/translucentscroll.htm
3) Describe problem:
I have copied the above script into the body of the document. I can edit the first two scroller contents as below:
var scroller_width='500px'
var scroller_height='85px'
var bgcolor='#E0EFD1'
var pause=3000 //SET PAUSE BETWEEN SLIDE (3000=3 seconds)
var scrollercontent=new Array()
//Define scroller contents. Extend or contract array as needed
scrollercontent[0]=' Mr. A, a joiner, was exposed to Asbestos when cutting and working with Asbestos in the building trade. He was suffering from Mesothelioma and received a settlement of <b>£200,000.!'
scrollercontent[1]='Mr. B, a security officer, was exposed when removing Asbestos from pipes whilst working as a maintenance worker. He received a settlement of <b>£150,000</b> after contracting Mesothelioma.'
But as soon as I add the 3rd/4th or 5th it stops working! See content below
scrollercontent[0]='Mr. A, a joiner, was exposed to Asbestos when cutting and working with Asbestos in the building trade. He was suffering from Mesothelioma and received a settlement of <b>£200,000.</b>'
scrollercontent[1]='Mr. B, a security officer, was exposed when removing Asbestos from pipes whilst working as a maintenance worker. He received a settlement of <b>£150,000</b> after contracting Mesothelioma.</b>'
scrollercontent[2]='Mr. C, a factory worker engaged in contruction of railway carriages in the 1950's received a settlement of <b>£90,000</b>. He too was suffering from Mesothelioma.'
scrollercontent[3]='A shipyard worker received a settlement of <b>£140,000</b> after contracting lung cancer and mesothelioma after exposure in the 1950's.'
What am I doing wrong? It makes no sense to me??!
Can anyone help? :confused: