Results 1 to 3 of 3

Thread: Blending Image Script - parse error message

  1. #1
    Join Date
    Dec 2007
    Posts
    16
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Smile Blending Image Script - parse error message

    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:

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Whoa baby, you've got much bigger problems than that:

    http://jigsaw.w3.org/css-validator/v...fault-gold.css

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

    Anyways, the in line style on the page:

    Code:
    style="filter:blendTrans(duration=3)"
    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:

    Code:
    <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:

    Code:
    <!--[if gte IE 5.5]>
    <style type="text/css">
    #my_ie_filter {
    filter:blendTrans(duration=3);
    }
    </style>
    <![endif]-->
    But it is hardly necessary, other browsers already ignore it.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Dec 2007
    Posts
    16
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •