tmorgan
01-20-2006, 04:33 PM
I realize that this may be a bit out of the scope of the forums but I'm giving this a shot since I'm at wits end with this.I am 98% complete in creating a "billboard" site using the (modified) Conveyor Belt Slideshow (http://www.dynamicdrive.com/dynamicindex14/leftrightslide.htm)
• The test page (http://www.gregbeeche.com/index1.html) w/ modified slideshow script.
• Supporting JS (http://www.gregbeeche.com/js/gbl.js) and
CSS (http://www.gregbeeche.com/style/gbl.css) files.
• The entire site (http://www.gregbeeche.com/ConveyorSite.zip) (1.5Mb ZIP)
The affected sections:
- An iFrame (center right) for previewing slideshow photos
- A layer (lower right) for info text
The functionality is this:
- Slideshow starts static
- Clicking Play button starts slide show
- Mouseover slows slideshow
- Clicking picture should do three things (similar to what the links at the bottom of the page do);
• stop slideshow (works)
• display larger photo in iFrame id=preview (works)
• display info text in frame using "swaplayers()" in JS file (broke)
The problem line (#90) is this:
leftrightslide[0]='<a href="film01.html" target="preview" onClick="stopslide();swapLayers(lyr5);return true"><img src="Film/01.jpg" border=0>'
(Only this line has the layer swapping function for now)
The fault occurs when I write - swapLayers('lyr5') - I get these errors:
1)Line:90
Char:92
Code:0
Error:Expected ';'
2)Line:24
Char:1
Code:0
Error:Object expected
3)The slideshow photos do not load
I suspect the fault is in the body onload events but can't seem to to track it although I continue to try. Any hints would be great! I'd really hate to have to overhaul this to make it work, but if I must.... Thanks in advance folks.
• The test page (http://www.gregbeeche.com/index1.html) w/ modified slideshow script.
• Supporting JS (http://www.gregbeeche.com/js/gbl.js) and
CSS (http://www.gregbeeche.com/style/gbl.css) files.
• The entire site (http://www.gregbeeche.com/ConveyorSite.zip) (1.5Mb ZIP)
The affected sections:
- An iFrame (center right) for previewing slideshow photos
- A layer (lower right) for info text
The functionality is this:
- Slideshow starts static
- Clicking Play button starts slide show
- Mouseover slows slideshow
- Clicking picture should do three things (similar to what the links at the bottom of the page do);
• stop slideshow (works)
• display larger photo in iFrame id=preview (works)
• display info text in frame using "swaplayers()" in JS file (broke)
The problem line (#90) is this:
leftrightslide[0]='<a href="film01.html" target="preview" onClick="stopslide();swapLayers(lyr5);return true"><img src="Film/01.jpg" border=0>'
(Only this line has the layer swapping function for now)
The fault occurs when I write - swapLayers('lyr5') - I get these errors:
1)Line:90
Char:92
Code:0
Error:Expected ';'
2)Line:24
Char:1
Code:0
Error:Object expected
3)The slideshow photos do not load
I suspect the fault is in the body onload events but can't seem to to track it although I continue to try. Any hints would be great! I'd really hate to have to overhaul this to make it work, but if I must.... Thanks in advance folks.