PDA

View Full Version : JS Slideshow in a Table



orahorse
January 23rd, 2008, 05:04 PM
I am using this nifty script for an auto slideshow but it does not work when the image is in a table. I wonder if there is a way around that.

Here is the page:
http://crocushale.com/Jan23test2.html

I have tried putting the code inside the table, and switching a few things around, but nothing seems to work.

I guess it is pointing to the image here:
//<body>
<script language="JavaScript1.1"><a href="javascript:gotoshow()"><img src="01.jpg" name="slide" border=0 style="filter:blendTrans(duration=3)" width=389 height=363></a>//

but needs to be pointing to it INSIDE the table, and I do not understand how to make it do that.

Should I find another method?

I would be so grateful for any help. Thank you for reading.

borrob
January 24th, 2008, 07:52 AM
you have an error in your javascript code:

<script language="JavaScript1.1"><a href="javascript:gotoshow()"><img src="01.jpg" name="slide" border=0 style="filter:blendTrans(duration=3)" width=389 height=363></a>

<!--

pasted something wrong here i think.

this: <a href="javascript:gotoshow()"><img src="01.jpg" name="slide" border=0 style="filter:blendTrans(duration=3)" width=389 height=363></a> is html code shouldn't be inside a javascript section....