View Full Version : Left-Right image slideshow Script Does Not Validate

Pine Blossoms
10-13-2009, 02:37 AM
1) Script Title: Left-Right image slideshow Script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/leftrightslide2.htm

3) Describe problem: I cannot get my page to validate with this coding in place. I have put it into a seperate file, but the pictures do not show up.


Thanks for your help!

10-13-2009, 03:01 AM
Usually making a script external is a good strategy in these cases. However, this is one of the older if not oldest scripts. It is written to be compatible with browsers no longer in use. Some of these browsers required HTML code that simply isn't valid by today's standards. So even if you make the four separate script sections into separate external scripts in such a way that would work (which is possible, though no simple task in itself), the code that must remain on the page would still not validate.

My advice is that since the script and its accompanying markup still work, even though not valid by today's standards, either just live with that or find another script. There are many other more recent image scripts in the Dynamic Drive script library. None, as far as I know, look exactly like this one, but many are close and/or perhaps better suited to your purposes. In any case, the more recent scripts either validate 'out of the box' or can be more easily made external and then validate.

But, as I say, this script is OK if you are not obsessed with validation. Modern browsers ignore the non-standard parts.