![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 24 Pomógł: 0 Dołączył: 14.01.2004 Skąd: Koszalin Ostrzeżenie: (0%) ![]() ![]() |
Ostatnio zaczełem przerabiać po mału moją stronę na zgodną ze standardami W3C , i już jedną podstrone zrobiłem prawie całą, jdnakże w walidatorze na stronie http://watson.addy.com/ mam pokazany błąd:
na http://idarek.webpark.pl/galeria.htm Kod line #59: value for attribute Start (WhereHash;) of element = should be quoted (i.e. Start="WhereHash;")
line #61: value for attribute + (2;) of element = should be quoted (i.e. +="2;") line #62: value for attribute (Count (WhereHash;) of element = should be quoted (i.e. (Count="WhereHash;") line #62: value for attribute < (email.length;) of element = should be quoted (i.e. <="email.length;") line #69: unknown element <=>. line #69: <=> cannot appear in the HEAD element. line #70: no closing </SCRIPT> seen for <SCRIPT> on line 47. i nie mam pojęcia jak to poprawić, a nie chce rezygnować z tego skryptu na stronie, bo to jest dobry skrypt przeciw spamowi ze strony robotów internetowych. Może ktoś wie jak to poprawić? |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 28 Pomógł: 0 Dołączył: 17.04.2004 Skąd: Wrocław Ostrzeżenie: (0%) ![]() ![]() |
A próbowałeś może wstawić skrypt w
Kod <!-- <![CDATA[
. . . ]]> --> </script> Tak jak jest to np. na wp.pl Kod <script language="JavaScript" type="text/javascript">
<!-- <![CDATA[ if (navigator.userAgent.toLowerCase().indexOf('webtv') > -1) { //alert('WEBTV'); } else if (navigator.userAgent.toLowerCase().indexOf('windows ce') > -1) { //alert('POCKET PC'); } else if (navigator.userAgent.toLowerCase().indexOf('wince') > -1) { //alert('POCKET PC') } else if (!document.getElementById) { top.location.href="index.html?view=index_html"; } // ]]> --> </script> Z tego co pamiętam, zaleca się wstawiać skrypty w coś takiego, więć powinno działać i walidator raczej się nie czepia... |
|
|
![]() ![]() |
![]() |
Aktualny czas: 13.10.2025 - 13:35 |