Why does this code give me a error on IE

Discussion in 'HTML & Website Design' started by brathamike, Apr 16, 2008.

  1. #1
    Hello for some reason this code gives me a error on the page can someone tell me why is this??

    </td>
    <td valign=top width=165><table width="200" border="1" cellspacing="1" cellpadding="1">
    <tr>
    <th scope="col">Movies Of The Day</th>
    </tr>
    <tr>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <th scope="col">Top 40 Friends </th>
    </tr>
    <tr>
    </tr>
    <tr>
    <td><script language="JavaScript"> showLink(1); showHotpic(1); dw(" In:"); showHitsIn(1); dw(" Out:"); showHitsOut(1)</script><br>
    <script language="JavaScript"> showLink(2); showHotpic(2); dw(" In:"); showHitsIn(2); dw(" Out:"); showHitsOut(2)</script><br>
    <script language="JavaScript"> showLink(3); showHotpic(3); dw(" In:"); showHitsIn(3); dw(" Out:"); showHitsOut(3)</script><br>
    <script language="JavaScript"> showLink(4); showHotpic(4); dw(" In:"); showHitsIn(4); dw(" Out:"); showHitsOut(4)</script><br></td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    </tr>
    </table></td>
    </table>

    </body>
    </html>


    thanks
     
    brathamike, Apr 16, 2008 IP
  2. Trusted Writer

    Trusted Writer Banned

    Messages:
    1,370
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    160
    #2
    [​IMG] You are missing part of your page's code.

    Some javascript events need to be triggered by either a piece of code in your document's head or as an onLoad/onClick event.

    Hard to say if there is not head and body information [​IMG]
     
    Trusted Writer, Apr 16, 2008 IP
  3. brathamike

    brathamike Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3

    hello thanks for the response
    so should i put a body tag and a head tag on the top of the page ?
     
    brathamike, Apr 16, 2008 IP