Title: [Plugin: Frontpage-Slideshow] html validation error
Last modified: August 19, 2016

---

# [Plugin: Frontpage-Slideshow] html validation error

 *  Resolved [layabozi](https://wordpress.org/support/users/layabozi/)
 * (@layabozi)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/plugin-frontpage-slideshow-html-validation-error/)
 * hi jeff
    i’m doing the validation of my site, and i’m getting this error on the
   fp-slideshow, that i have no idea how to solve. error: Line 344, column 2340:
   there is no attribute “onload”
 * my ID on F-S is 4615
 * thanks!

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Thread Starter [layabozi](https://wordpress.org/support/users/layabozi/)
 * (@layabozi)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/plugin-frontpage-slideshow-html-validation-error/#post-1460567)
 * sorry i should’ve say too, also i’m getting this list of error on the CSS validation:
 * Line: 62 Context: #fs-main
    Property -moz-border-radius doesn’t exist : 5px Line:
   62 Context: #fs-main Property -khtml-border-radius doesn’t exist : 5px Line: 
   62 Context: #fs-main Property -webkit-border-radius doesn’t exist : 5px Line:
   62 Context: #fs-main Property border-radius doesn’t exist in CSS level 2 but 
   exists in : 5px Line: 62 Context: #fs-slide Property -moz-border-radius doesn’t
   exist : 5px Line: 62 Context: #fs-slide Property -khtml-border-radius doesn’t
   exist : 5px Line: 62 Context: #fs-slide Property -webkit-border-radius doesn’t
   exist : 5px Line: 62 Context: #fs-slide Property border-radius doesn’t exist 
   in CSS level 2 but exists in : 5px Line: 62 Context: #fs-picture Property -moz-
   border-radius doesn’t exist : 5px Line: 62 Context: #fs-picture Property -khtml-
   border-radius doesn’t exist : 5px Line: 62 Context: #fs-picture Property -webkit-
   border-radius doesn’t exist : 5px Line: 62 Context: #fs-picture Property border-
   radius doesn’t exist in CSS level 2 but exists in : 5px Line: 62 Context: #fs-
   placeholder a Value Error : color ([http://www.w3.org/TR/REC-CSS2/colors.html#propdef-color](http://www.w3.org/TR/REC-CSS2/colors.html#propdef-color))
   transparent is not a color value : transparent Line: 62 Context: #fs-text Property
   opacity doesn’t exist in CSS level 2 but exists in : 0.75 Line: 62 Context: #
   fs-main ul Property -moz-border-radius doesn’t exist : 5px Line: 62 Context: #
   fs-main ul Property -khtml-border-radius doesn’t exist : 5px Line: 62 Context:#
   fs-main ul Property -webkit-border-radius doesn’t exist : 5px Line: 62 Context:#
   fs-main ul Property border-radius doesn’t exist in CSS level 2 but exists in :
   5px Line: 62 Context: #fs-main li Property -moz-border-radius doesn’t exist :
   3px Line: 62 Context: #fs-main li Property -khtml-border-radius doesn’t exist:
   3px Line: 62 Context: #fs-main li Property -webkit-border-radius doesn’t exist:
   3px Line: 62 Context: #fs-main li Property border-radius doesn’t exist in CSS
   level 2 but exists in : 3px Line: 62 Context: #fs-main li:before Value Error :
   content ([http://www.w3.org/TR/REC-CSS2/generate.html#propdef-content](http://www.w3.org/TR/REC-CSS2/generate.html#propdef-content))\”\”
   is not a content value : \”\” Line: 62 Context: #fs-main li:after Value Error:
   content ([http://www.w3.org/TR/REC-CSS2/generate.html#propdef-content](http://www.w3.org/TR/REC-CSS2/generate.html#propdef-content))\”\”
   is not a content value : \”\” Line: 99 Context: Parse Error
 *  Thread Starter [layabozi](https://wordpress.org/support/users/layabozi/)
 * (@layabozi)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-frontpage-slideshow-html-validation-error/#post-1460918)
 * hello?
    please help with this, at least some idea about it that could give me
   a help to fix it myself, or try at least
 *  Thread Starter [layabozi](https://wordpress.org/support/users/layabozi/)
 * (@layabozi)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-frontpage-slideshow-html-validation-error/#post-1460935)
 * hello???
 *  [jeff_](https://wordpress.org/support/users/jeff_/)
 * (@jeff_)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-frontpage-slideshow-html-validation-error/#post-1460961)
 * same as there : [http://wordpress.org/support/topic/396393](http://wordpress.org/support/topic/396393)
 * but : there are not “real” errors : all is working fine ! learn more html/css/
   javascript. I wont tell you how to code… learn it.
 *  [Marventus](https://wordpress.org/support/users/marventus/)
 * (@marventus)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-frontpage-slideshow-html-validation-error/#post-1460962)
 * Hello there,
 * I was getting this same error too, even though, as Jeff pointed out, the “onload”
   command (with no caps) should be validating fine in XHTML Transitional.
 * Since this problem exceeded my html knowledge level, I asked around, and the 
   following [recommendation](http://www.webdeveloper.com/forum/showthread.php?&t=229694&is_resolved=1)
   posted by the user “Charles” worked for me:
 * **1.** Open the plugin folder and look for the main plugin file called “frontpage-
   slideshow.php.”, and save the file in a different folder (so as not to modify
   the original one in case this doesn’t work out for you).
 * **2.** Scroll down to lines 83-84, which should look something like this:
 *     ```
       if ($id == $fslast) $fscontent .= ' onload="fsDoSlide()"'; // put this to make another loop after the last image
       $fscontent .= ' />';
       ```
   
 * **3.** What you want to do is wrap the javascript part of the code (`onload="
   fsDoSlide()"`) in a script tag. In order to do so, just delete those two lines
   and replace them with these:
 *     ```
       $fscontent .= ' />';
       if ($id == $fslast) $fscontent .= ' <script type="text/javascript"> document.images[document.images.length-'.$id.'].onload = fsDoSlide </script>'; // put this to make another loop after the last image
       ```
   
 * **4.** Save the changes and upload the new version of the file to your server
   inside the plugin folder (which should be located in [http://[yoursite]/wp-content/plugins/frontpage-slideshow](http://[yoursite]/wp-content/plugins/frontpage-slideshow))
   through FTP or any other method of your choice.
 * “Et Voilà!” The plugin validates entirely in XHTML 1.0 Transitional in the W3C’s
   markup validator.
 *  Thread Starter [layabozi](https://wordpress.org/support/users/layabozi/)
 * (@layabozi)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-frontpage-slideshow-html-validation-error/#post-1460963)
 * Thanks Marventus, nice help really. it worked
 *  [Marventus](https://wordpress.org/support/users/marventus/)
 * (@marventus)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-frontpage-slideshow-html-validation-error/#post-1460964)
 * Glad it was helpful, layabozi.
    Take care!
 *  [jeff_](https://wordpress.org/support/users/jeff_/)
 * (@jeff_)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-frontpage-slideshow-html-validation-error/#post-1460965)
 * that was planned on roadmap for next version
 *  [Marventus](https://wordpress.org/support/users/marventus/)
 * (@marventus)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-frontpage-slideshow-html-validation-error/#post-1460966)
 * Hi JF,
    Sorry I got ahead of you: it’s just that I was having the same problem,
   and since you’re already helping me out with the IE issue, I didn’t want to bother
   about this too. Also, I know how overwhelming running these forums can get, so
   I like helping out whenever I can. Take care!
 *  [jeff_](https://wordpress.org/support/users/jeff_/)
 * (@jeff_)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-frontpage-slideshow-html-validation-error/#post-1460967)
 * Everything ok Marventus, I say that just to say to people that dont want to put
   hands in code (or dont know how) that the next release will do that for them.
   You are wellcome !
 * And, its the game : I publish something that is open-source, I got to do some
   support, thats normal, and a very interesting part of the game !
 *  [Marventus](https://wordpress.org/support/users/marventus/)
 * (@marventus)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-frontpage-slideshow-html-validation-error/#post-1460968)
 * I’m glad that you didn’t mind and that you are open to user feedback. I must 
   say, I really like helping people out in the forums whenever I can, although 
   my coding skills are not that developed yet. I am trying to improve them though,
   🙂
    See you around!
 *  [jeff_](https://wordpress.org/support/users/jeff_/)
 * (@jeff_)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-frontpage-slideshow-html-validation-error/#post-1460969)
 * The best way to improve is to contribute at an open-source project ! cya

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘[Plugin: Frontpage-Slideshow] html validation error’ is closed to new
replies.

 * 12 replies
 * 3 participants
 * Last reply from: [jeff_](https://wordpress.org/support/users/jeff_/)
 * Last activity: [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-frontpage-slideshow-html-validation-error/#post-1460969)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
