[html] Gdzie popełniłem błąd?

0

Witam. Może mi ktoś pomóc znaleŹć błąd w kodzie? Nie mam pojęcia co jest źle. Oto kod:

<tr>
       <td width="166" align="right" valign="top" style="font-size:5">

<!--Programy-->
        <table width="160" border="0" cellspacing="0" cellpadding="0"><tr><td style="text-align: center; font-family: Courier New; font-size: 10pt; font-weight: bold; color: #003162;" height="16" background="grafika/frame_u.bmp">PROGRAMY</td></tr><tr><td style="text-align: left; font-family: Courier New; font-size: 10pt; font-weight: normal; color: #003162;" background="grafika/frame_c.bmp">
        <div style="position: relative; top:4">
        <script language="JavaScript" type="text/javascript" src="programy.js"></script>
        <br />
        <table style="cursor: default" width="100%" iborder="0" cellspacing="0" cellpadding="0"><tr><td id="programy_wiecej" background="grafika/frame_object_n.bmp" onmouseover="mouseover(this)" onmouseout="mouseout(this)" onclick="javascript:window.location='programy_wiecej.html';" style="font-family: Courier New; font-size: 10pt; color: #003162;"><center>..::WIĘCEJ::..</center></td></tr></table><span style="font-size: 3pt;"><br /></font></div>
        </td></tr><tr><td height="5" background="grafika/frame_d.bmp"></td></tr></table>
        <br />
        <!--Download-->
        <table width="160" border="0" cellspacing="0" cellpadding="0"><tr><td style="text-align: center; font-family: Courier New; font-size: 10pt; font-weight: bold; color: #003162;" height="16" background="grafika/frame_u.bmp">DOWNLOAD</td></tr><tr><td style="text-align: left; font-family: Courier New; font-size: 10pt; font-weight: normal; color: #003162;" background="grafika/frame_c.bmp">
        <div style="position: relative; top:4">
        <script language="JavaScript" type="text/javascript" src="download.js"></script>
        <br />
        <table style="cursor: default" width="100%" iborder="0" cellspacing="0" cellpadding="0"><tr><td id="download_wiecej" background="grafika/frame_object_n.bmp" onmouseover="mouseover(this)" onmouseout="mouseout(this)" onclick="javascript:window.location='download_wiecej.html';" style="font-family: Courier New; font-size: 10pt; color: #003162;"><center>..::WIĘCEJ::..</center></td></tr></table><span style="font-size: 3pt;"><br /></font></div>
        </td></tr><tr><td height="5" background="grafika/frame_d.bmp"></td></tr></table>
        <br />
        <!--Artykuly-->
        <table width="160" border="0" cellspacing="0" cellpadding="0"><tr><td style="text-align: center; font-family: Courier New; font-size: 10pt; font-weight: bold; color: #003162;" height="16" background="grafika/frame_u.bmp">ARTYKUŁY</td></tr><tr><td style="text-align: left; font-family: Courier New; font-size: 10pt; font-weight: normal; color: #003162;" background="grafika/frame_c.bmp">
        <div style="position: relative; top:4">
        <script language="JavaScript" type="text/javascript" src="artykuly.js"></script>
        <br />
        <table style="cursor: default" width="100%" iborder="0" cellspacing="0" cellpadding="0"><tr><td id="artykuly_wiecej" background="grafika/frame_object_n.bmp" onmouseover="mouseover(this)" onmouseout="mouseout(this)" onclick="javascript:window.location='artykuly_wiecej.html';" style="font-family: Courier New; font-size: 10pt; color: #003162;"><center>..::WIĘCEJ::..</center></td></tr></table><span style="font-size: 3pt;"><br /></font></div>
        </td></tr><tr><td height="5" background="grafika/frame_d.bmp"></td></tr></table>
        <br />
        <!--Przyklady-->
        <table width="160" border="0" cellspacing="0" cellpadding="0"><tr><td style="text-align: center; font-family: Courier New; font-size: 10pt; font-weight: bold; color: #003162;" height="16" background="grafika/frame_u.bmp">PRZYKŁADY</td></tr><tr><td style="text-align: left; font-family: Courier New; font-size: 10pt; font-weight: normal; color: #003162;" background="grafika/frame_c.bmp">
        <div style="position: relative; top:4">
        <script language="JavaScript" type="text/javascript" src="przyklady.js"></script>
        <br />
        <table style="cursor: default" width="100%" iborder="0" cellspacing="0" cellpadding="0"><tr><td id="przyklady_wiecej" background="grafika/frame_object_n.bmp" onmouseover="mouseover(this)" onmouseout="mouseout(this)" onclick="javascript:window.location='przyklady_wiecej.html';" style="font-family: Courier New; font-size: 10pt; color: #003162;"><center>..::WIĘCEJ::..</center></td></tr></table><span style="font-size: 3pt;"><br /></font></div>
        </td></tr><tr><td height="5" background="grafika/frame_d.bmp"></td></tr></table>
        <br />
        <!--Faq-->
        <table width="160" border="0" cellspacing="0" cellpadding="0"><tr><td style="text-align: center; font-family: Courier New; font-size: 10pt; font-weight: bold; color: #003162;" height="16" background="grafika/frame_u.bmp">FAQ</td></tr><tr><td style="text-align: left; font-family: Courier New; font-size: 10pt; font-weight: normal; color: #003162;" background="grafika/frame_c.bmp">
        <div style="position: relative; top:4">
        <script language="JavaScript" type="text/javascript" src="faq.js"></script>
        <br />
        <table style="cursor: default" width="100%" iborder="0" cellspacing="0" cellpadding="0"><tr><td id="faq_wiecej" background="grafika/frame_object_n.bmp" onmouseover="mouseover(this)" onmouseout="mouseout(this)" onclick="javascript:window.location='faq_wiecej.html';" style="font-family: Courier New; font-size: 10pt; color: #003162;"><center>..::WIĘCEJ::..</center></td></tr></table><span style="font-size: 3pt;"><br /></font></div>
        </td></tr><tr><td height="5" background="grafika/frame_d.bmp"></td></tr>
        </table>

        <script language="JavaScript" type="text/javascript">
        function mouseover(objekt){document.getElementById(objekt.id).background = "grafika/frame_object_s.bmp"; document.getElementById(objekt.id).style.color="#576473";}
        function mouseout(objekt){document.getElementById(objekt.id).background = "grafika/frame_object_n.bmp"; document.getElementById(objekt.id).style.color="#003162";}
        function GoTo(Adres){window.location=Adres+'.html';}
        </script>
        
<br />
       </td>

Treść błędu to:

Brak zakończenia stałej znakowej.
Wiersz:8
Znak:126
Kod:0

0

po pierwsze to w temacie
po drugie to w htmlu na pewno nie bo by ci nie wywaliło błędu tylko w js
po trzecie podaj kody lepiej tych skryptów "programy.js", "download.js", "przyklady.js" etc., i nie całe tylko zaznacz który to jest 8 wiersz i podaj tylko ze dwa, trzy sąsiadujące z nim

0

To jest zawartość programy.js

var Ilosc = 3; //Ilość elementów
var Nazwy = Array("Ghost Player","WebSite Creator","Movie Maker"); //Nazwy elementów
var Pliki = Array("GoTo('gp')","GoTo('wsc')","GoTo('mm')"); //strony elementów(bez .html)
var Hints = Array("Odtwarzacz multimedialny","Edytor html","Edytor avi"); //Dymki z podpowiedziami
var i=1;
while (i<=Ilosc){
document.write('<table style="cursor: default" width="100%" iborder="0" cellspacing="0" cellpadding="0"><tr><td id="programy_ob'+i+'" background="grafika/frame_object_n.bmp" onmouseover="mouseover(this)" onmouseout="mouseout(this)" onclick="'+Pliki[i-1]+'" style="font-family: Courier New; font-size: 10pt; color: #003162;"><a title="'+Hints[i-1]+'">&nbsp;'+Nazwy[i-1]+'</a></td></tr></table>');
i=i+1;}

Zawartość pozostałych plików jest chwilowo taka sama(na czas testów), więc nie ma sensu jej podawać

1 użytkowników online, w tym zalogowanych: 0, gości: 1