Results 1 to 4 of 4

Thread: Ultimate Fade-In Slideshow Validate Error

  1. #1
    Join Date
    Jul 2012
    Posts
    69
    Thanks
    88
    Thanked 0 Times in 0 Posts

    Default Ultimate Fade-In Slideshow Validate Error

    1) Script Title: Ultimate Fade-In Slideshow v2.6

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...nslideshow.htm

    3) Describe problem: I am in the process of transferring several dozen slideshows from my old site to a new site. The slide show works great, thanks to some help from you folks, but I get a validation error:

    Here is an example, when I try to validate the following page: http://wildadirondacks.org/loggers-loop-trail.html

    Error: The text content of element script was not in the required format: Expected asterisk or slash but found w instead.
    From line 131, column 1; to line 131, column 9
    *******/↩↩</script>↩↩<scr

    Here is the code around line 131:

    Code:
    <script type="text/javascript" src="fadeslideshow.js">
    	
    
    /***********************************************
    * Ultimate Fade In Slideshow v2.0- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * Please keep this notice intact
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
    ***********************************************/
    
    </script>
    
    <script type="text/javascript">
    
    var mygallery3=new fadeSlideShow({
    	wrapperid: "fadeshow4", //ID of blank DIV on page to house Slideshow
    	dimensions: ['100%', 411], //width/height of gallery in pixels. Should reflect dimensions of largest image
    		imagearray: [
    I cannot figure out what it is that is annoying the validator. Please tell me what I should do to fix the code.

  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

    I'm pretty sure that's a mistake on the validator's part. but I've given up trying to argue with the folks who make them. It thinks parts of the address in the comment should be the end of the comment, and if so, they're malformed, but they're not, they're just part of the comment's content, and a legal part as far as I know, so it should just let it go. In any case you can get rid of the error by explicitly commenting out the entire block line by line:

    Code:
    //***********************************************
    //* Ultimate Fade In Slideshow v2.0- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
    //* Please keep this notice intact
    //* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
    //***********************************************/
    As far as I know, this is only a "problem" in the HTML 5 validator. At least that's where it first cropped up, never used to be an issue in any of the validators. I don't know if it's technically correct for that DOCTYPE or what.
    - John
    ________________________

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

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    ellenjones6 (03-03-2017)

  4. #3
    Join Date
    Jul 2012
    Posts
    69
    Thanks
    88
    Thanked 0 Times in 0 Posts

    Default

    Well, that was easy! No more validation error. Many thanks!

    I have always wondered about validation. When I started doing web sites, I read all those officious pages that warned me in authoritative terms of the importance of validation, so I obediently validate every time I update. If I get an error message, I try to fix it. Or, more accurately, I come whining to you guys to fix it for me. If I get a warning, I am less worried, so (unless I can fix it in a jiffy), I usually just ignore it. Am I being too casual about this? Should I track down and correct every warning? I ask because I am getting two warning messages for every page, having to do with making sure I have a heading in every section. I have been just ignoring them.

    What do you think?

    Thanks again for the quick response and the quick fix. I love it when a fix is two keystrokes away!

    ellen

  5. #4
    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

    That's more SEO and/or "best practices" than validation. It's good to have a heading for each section. It allows search engines (and often people as well) to more easily understand the organization of the page and what points are being emphasized.
    - John
    ________________________

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

  6. The Following User Says Thank You to jscheuer1 For This Useful Post:

    ellenjones6 (03-03-2017)

Similar Threads

  1. Ultimate Fade-in slideshow Error
    By coreya in forum Dynamic Drive scripts help
    Replies: 7
    Last Post: 11-26-2012, 08:30 PM
  2. Replies: 2
    Last Post: 12-17-2010, 05:02 PM
  3. Ultimate Fade-in slideshow (v2.1) Error IE8
    By Robert33 in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 03-31-2010, 07:01 AM
  4. Ultimate Fade-In Slideshow, my page doesn't validate
    By TequilaMB in forum Dynamic Drive scripts help
    Replies: 8
    Last Post: 12-08-2008, 03:34 PM
  5. Ultimate Fade-In Slideshow error
    By syztemlord in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 04-05-2008, 02:27 AM

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
  •