Web Analytics Made Easy -
StatCounter Grey java box at start of page as well - CodingForum

Announcement

Collapse
No announcement yet.

Grey java box at start of page as well

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Grey java box at start of page as well

    I'm really frustrated, I've pasted a text scroll (in the html down page) java script code at a certain point in the document but a grey box appears at the start of the document as well, can anybody help??

    Thanks, heres my code. A working version can be found at http://www.pandacomputing.com

    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <style type="text/css">
    <!--
    -->
    </style>
    <script language="JavaScript" src="Genesis/web_pages/fade.js"></script>

    </head>


    <body bgcolor="#FFCC66" background="Image%20holder/Gifs/rrorangebackgroundpurple.gif" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <table border="0" cellpadding="4" cellspacing="2" align="center">
    <tr>
    <td width="161" height="1150" valign="top"> <p><font size="+2" face="Verdana, Arial, Helvetica, sans-serif"><b>Lorem
    Ipsum Dolor<br>
    <font size="+1">Sit Amet, Consectetur</font></b></font> </p>
    <p><font face="Verdana, Arial, Helvetica, sans-serif"><b>Lorem
    ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh
    euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi
    enim ad minim veniam, quis nostrud exerci tatio</b></font></p>
    <p><font face="Verdana, Arial, Helvetica, sans-serif">Lorem ipsum dolor
    sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt
    ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos
    et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
    no sea takimata sanctus est Lorem ipsum dolor sit amet. </font></p>
    <p><font face="Verdana, Arial, Helvetica, sans-serif">Lorem ipsum dolor
    sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt
    ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos
    et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
    no sea takimata sanctus est Lorem ipsum dolor sit amet.<br>
    <a href="#"><font size="2"><strong><a href="#">More &gt;&gt;</strong></font></a></font></p></td>
    <td width="271" valign="top"> <p class="unnamed1"><font face="Verdana, Arial, Helvetica, sans-serif"></font></p>
    <table width="100%" border="0">
    <tr>
    <td width="65%"><font face="Verdana, Arial, Helvetica, sans-serif"><a href="#"><img width="169" height="110" name="image" border="0" vspace="0" hspace="0"></a></font></td>
    <td width="35%" valign="top">&nbsp;</td>
    </tr>
    <tr>
    <td height="32" colspan="2">&nbsp;</td>
    </tr>
    </table>
    <p class="unnamed1"><font face="Verdana, Arial, Helvetica, sans-serif"><a href="#"><img src="Image%20holder/jpgs/pizzaexpress.jpg" width="260" height="179"></a></font></p>
    <p><font face="Verdana, Arial, Helvetica, sans-serif"><font size="-1">Lorem
    ipsum</font></font> </p>
    <p><font size="+1" face="Verdana, Arial, Helvetica, sans-serif"><b>Lorem
    ipsum dolor si</b><br>
    </font><font face="Verdana, Arial, Helvetica, sans-serif"><b>Lorem ipsum
    dolor sit amet, consectetuer adipiscing elit, se </b></font></p>
    <p><font face="Verdana, Arial, Helvetica, sans-serif"> Lorem ipsum dolor
    sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod
    tincidunt ut laoreet dolore magna aliquam erat volutpat.<br>
    <a href="#"><font size="2"><strong><a href="#">More &gt;&gt;</strong></font></a> </font></p>
    <p>&nbsp;</p></td>
    <td width="165" valign="top" bgcolor="#FF9900">
    <table width="100%" border="0" cellspacing="0" cellpadding="1" bgcolor="#000000">
    <tr>
    <td> <table width="100%" border="0" cellspacing="0" cellpadding="2">
    <tr bgcolor="#000000">
    <td colspan="2"><font color="#CCCCCC" face="Verdana, Arial, Helvetica, sans-serif">News</font></td>
    </tr>
    <tr bgcolor="#DCDCDC">
    <td align="right"><font face="Verdana, Arial, Helvetica, sans-serif">•</font></td>
    <td><font face="Verdana, Arial, Helvetica, sans-serif">Lorem Ipsum
    Dolor</font></td>
    </tr>
    </table></td>
    </tr>
    </table>
    <p>&nbsp;</p>
    <table width="100%" border="0" cellspacing="0" cellpadding="1" bgcolor="#000000">
    <tr>
    <td> <table width="100%" border="0" cellspacing="0" cellpadding="2">
    <tr>
    <td><font color="#CCCCCC" face="Verdana, Arial, Helvetica, sans-serif">News</font></td>
    </tr>
    <tr bgcolor="#CCCCCC">
    <td height="300"><font face="Verdana, Arial, Helvetica, sans-serif">
    Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed
    diam nonumy eirmod tempor invidunt ut labore et dolore</font></td>
    </tr>
    </table></td>
    </tr>
    </table>
    <p>&nbsp;
    <table border="0" cellpadding="0" cellspacing="0" width="165">
    <!-- fwtable fwsrc="Untitled" fwbase="breakingslice" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" -->
    <tr>
    <td colspan="4"><img name="breakingslice_r1_c1" src="Genesis/web_pages/images/breakingnews/breakingslice_r1_c1.gif" width="165" height="37" border="0" alt=""></td>
    </tr>
    <tr>
    <td width="1"><img name="breakingslice_r2_c1" src="Genesis/web_pages/images/breakingnews/breakingslice_r2_c1.gif" width="1" height="154" border="0" alt=""></td>
    <td width="8"><img name="breakingslice_r2_c2" src="Genesis/web_pages/images/breakingnews/breakingslice_r2_c2.gif" width="8" height="154" border="0" alt=""></td>
    <td width="147"><!-- textscroll --> <APPLET CODE="TextScroll_1_0.class"
    WIDTH=80
    HEIGHT=80>
    <PARAM NAME="data"
    VALUE="sample.txt">
    </APPLET>
    <!-- text scroll end -->&nbsp;</td>
    <td width="9"><img name="breakingslice_r2_c4" src="Genesis/web_pages/images/breakingnews/breakingslice_r2_c4.gif" width="9" height="154" border="0" alt=""></td>
    </tr>
    <tr>
    <td colspan="4"><img name="breakingslice_r3_c1" src="Genesis/web_pages/images/breakingnews/breakingslice_r3_c1.gif" width="165" height="9" border="0" alt=""></td>
    </tr>
    </table>
    <p>&nbsp;</td><APPLET CODEBASE="i:/ReigateandRedhill.co.uk/Genesis/web_pages/sample.txt
    WIDTH=150
    HEIGHT=150>
    <PARAM NAME="data"
    VALUE="sample.txt">
    </APPLET>
    </tr>
    </table>
    <table width="100%" border="0" cellspacing="0" cellpadding="2" bgcolor="#CCCCCC">
    <tr>
    <td> <font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>©2001
    Lorem Ipsum Dolor</strong></font><font face="Verdana, Arial, Helvetica, sans-serif">
    <a href="#"><font size="1"><strong><a href="#">Sic Amet</strong></font></a> <strong><font size="1">•
    <a href="#">Consectetur</a></font></strong></font></td>
    <td align="right"><font face="Verdana, Arial, Helvetica, sans-serif"><a href="#"><font size="1"><strong><a href="#">Lorum</strong></font></a>
    <strong><font size="1">• <a href="#">Ipsum</a> • <a href="#">Dolor</a>
    • <a href="#">Sic Amet</a></font></strong> • <a href="#"><font size="1"><strong><a href="#">Consectetur</strong></font></a></font></td>
    </tr>
    </table>
    </body>
    </html>
    StooB
    New to the CF scene
    Last edited by StooB; Jul 6, 2002, 02:41 PM.

  • #2
    Double coded,,,,

    Comment


    • #3
      Hi StooB:
      Please do NOT post your entire page when asking for help- only post the relevant problematic code. Also, clearly define your question...it's hard to gather from your initial post what you're asking. Upon visiting your page, all I see are two Java applets, which would explain the 'gray box" you see. It's normal for Java applets to display this while they're intializing.
      - George
      - JavaScript Kit- JavaScript tutorials and 400+ scripts!
      - JavaScript Reference- JavaScript reference you can relate to.

      Comment

      Working...
      X