×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: W3C error

W3C error 12 years 10 months ago #14865

  • sulamit bar
  • sulamit bar's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Hello
I"m using the option to hide the "add comment" (so you see only the "Write comment" and it grows when you press it)
I"m getting W3C error because of the (littel then symbol - I cant put this sign in this message because it dosnt shows so I will use LT insted)
the error is in the line:
if (window.document.URL.indexOf("#CommentForm") LT 0
It say that : Line 438, Column 49: character LT is the first character of a delimiter but occurred as data...

My URL : bevegetarianfood.com/Vegetarian-Recipes/...e-dipping-sauce.html

thanks

W3C error 12 years 10 months ago #14871

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Sulamit,
Why don't you try putting this javascript in a <[CDATA[ tags?
Let me know if this helps!
Daniel

W3C error 12 years 10 months ago #14883

  • sulamit bar
  • sulamit bar's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Hey Daniel
It seams to solve the problems.
I used:
<script type="text/javascript">
/* <![CDATA[ */
// content of your Javascript goes here
/* ]]> */
</script>

Thanks
  • Page:
  • 1
Time to create page: 0.139 seconds