View Full Version : Blending Image Script - parse error message

12-14-2007, 04:19 PM
1) Script Title: Blending Image Slideshow Script

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

3) Describe problem: Hello - I love the DD blending image slideshow script as does everyone I know who sees it in action. However, when testing my page using W3C's CSS Validation Service I keep getting the following error message which appears to refer to part of the DD Blending Image Script in the HTML:

Parse Error - duration=3)

Obviously I really want to overcome this problem and have my CSS check out. I would be very grateful if anyone could offer some suggestions as to how this problem can be solved.

Here is a link to my page (http://www.bodmin.gov.uk/newsitetest/TestPage.html):

12-14-2007, 04:56 PM
Whoa baby, you've got much bigger problems than that:


That's a link to the css validator's take on your external stylesheet.

Anyways, the in line style on the page:


at line 296 is an IE proprietary filter style. It will never pass validation. You could probably give the element a unique id and get rid of the style:

<img id="my_ie_filter" alt="Bodmin - various images - click to view Gallery" src="Images/Home_Page_Pics/frontparkpic.jpg" name="slide" class="image-resize2" width="530" height="180"/>

and place it in the head, shielded by an IE conditional comment:

<!--[if gte IE 5.5]>
<style type="text/css">
#my_ie_filter {

But it is hardly necessary, other browsers already ignore it.

12-14-2007, 05:23 PM
Many thanks for looking at this so quickly, John.

I will try to implement your suggestion on monday.

As for the external style sheet, I know that I must tackle this at some point (gulp!) and being new to css it will be another challenge - but hey - I'll get there eventually...

Thank you once again for taking the time to help me today. :)