HTML Help Forum Index HTML Help
Please Search for the answer to your question before asking it! Thanks.
 

Cannot get JS to validate
Post a Reply to this Topic Ask a New Question
Click here to go to the original topic
       HTML Help Forum Index -> Javascript
View previous topic :: View next topic  
Author Message
cabdziner



Joined: 04 Aug 2008
Posts: 1

Posted: Mon Aug 04, 2008 12:29 pm     Cannot get JS to validate  

page is written XHTML 1.0 Transitional.

The code I am trying to use is:

<script type="text/javascript" src="http://www.feedsweep.com/products/feedsweep/producer.aspx?feeds=http%3a%2f%2fwww.sitepronews.com%2fcategory%2farticles%2ffeed%2f&title=Latest+News&maxoutput=5&datesort=descending&cat=24&width=650&backgroundcolor=%23FFFFFF&linecolor=%23336699&headercolor=%23FFFFFF&titlecolor=%230000FF&textcolor=%23000000&datecolor=%23008000&headerfont=Tahoma&titlefont=Verdana&font=Verdana&datefont=Tahoma&titlealignment=center&datefontstyle=none&ver=2.0.1.0"></script>

It shows up fine in IE and Firefox but fails validation.

Any help would be appreciated.
PayneLess Designs



Joined: 28 Feb 2007
Posts: 1402
Location: Biloxi, MS

Posted: Wed Aug 06, 2008 12:16 am      

The ampersands ( & ), for one thing, need to be written "&amp;" (without quotes). A link to your site's validation would have been good.
 
 
HOSTING / DESIGN
MAKE MONEY

       HTML Help Forum Index -> Javascript
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group