Results 1 to 3 of 3

Thread: A little help to save my slideshow Please!

  1. #1
    Join Date
    Feb 2008
    Location
    Southern California
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default A little help to save my slideshow Please!

    Ultimate Fade-in Slideshow v1.5
    http://www.dynamicdrive.com/dynamici...nslideshow.htm

    I'm working within some very strict limitations (no choice but to use FrontPage to access the server displaying the WebPages and fadeshow), and I am very close to getting the page to pass w3c validation. This is required as part of the California Community College guidelines for WebPages. I do not want to give up the little fade show on my department's page within the college's website: http://www.grossmont.edu/earthsciences/ but I cannot work around the 5 remaining errors that the validator simply will not allow:

    3 of 5 errors occur in this line of code pasted below: The errors states: end tag for element "DIV" which is not open.

    document.write('<div id="master'+this.slideshowid+'" style="position:relative;width:'+fadewidth+'px;height:'+fadeheight+'px;overflow:hidden;"><div id="'+this.canvasbase+'_0" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filterrogidXImageTransform.Microsoft.alpha(opacity=10);opacity:0.1;-moz-opacity:0.1;-khtml-opacity:0.1;background-color:'+fadebgcolor+'"></div><div id="'+this.canvasbase+'_1" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filterrogidXImageTransform.Microsoft.alpha(opacity=10);opacity:0.1;-moz-opacity:0.1;-khtml-opacity:0.1;background-color:'+fadebgcolor+'"></div> </div>')

    Error number 4 is similar but on this line:
    document.write('<div><img name="defaultslide'+this.slideshowid+'" src="'+this.postimages[0].src+'"> </div>')

    And the final error is this one: end tag for element "A" which is not open
    slideHTML='</a>'

    I understand these are not true errors within the code and its working great, but I do have this requirement to pass the validation process and if there is no work-around, or fix for this, I have to remove the slideshow which we all enjoy. I have tried using a comment to call up the javascript as a src file but I'm having no success with that either. If anyone knows a way to solve this a whole bunch of us at the college would be very grateful! Its not always fun working with outdated software, and within the imposed restrictions...we just want our slideshow!

    Thanks much!

    Fancy
    PS...I am so sorry about the smilies I dont know how to shut them off and the pasting of the code created them... bah! sucks to me new.

  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

    Those 'errors' can all be made to go away by escaping the / with a \. Like so:

    Code:
    <\/div>
    - John
    ________________________

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

  3. #3
    Join Date
    Feb 2008
    Location
    Southern California
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default I just LOVE YOU!

    You have no clue how many hours I spent trying to solve that little problem just to keep my slideshow! Thank you so much! <--intentional smilie face

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
  •