Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Oct 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile help with simple snow applets and lake applets

    I am having trouble getting snow and lake applets to work. I put the applet files in a folder in my web host along with the html for my page but applet doesn't work. Here is an example of one:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

    <html>
    <head>

    <title>MYSWANLAKE</title>
    </head>

    <body>
    <body bgcolor="151E41" background="http://www.freewebs.com/rubydoo62/SWANLAKE/SVblue21.jpg" text="B3A66F">

    <center>
    <TABLE WIDTH="420" background="http://www.freewebs.com/rubydoo62/SWANLAKE/SVbluestrip4.jpg" CELLSPACING="0" CELLPADDING="5" BORDER="3" BORDERCOLORLIGHT="#6679a1" BORDERCOLORDARK="#6679a1">
    <TR>
    <TD>
    <TABLE WIDTH="100%" background="http://www.freewebs.com/rubydoo62/SWANLAKE/SVblue21.jpg" CELLSPACING="0" CELLPADDING="15" BORDER="3" BORDERCOLORLIGHT="#6679a1" BORDERCOLORDARK="#6679a1">
    <TR>
    <TD>
    <TABLE WIDTH="100%" CELLSPACING="5" CELLPADDING="5" BORDER="3" BORDERCOLORLIGHT="#c67d98" BORDERCOLORDARK="#c67d98">
    <TR>
    <TD>
    <script language="JavaScript" type="text/javascript">
    <!--



    <applet code=Lake.class id=Lake width=392 height=380 >
    <param name=image value="dusk.gif">
    <param name=overlay value="wa.gif">
    <param name=href value="http://www.javascriptkit.com">
    </applet>
    //-->
    </script>
    <p align="center"><font face="arial" size="-2">Free Java applets provided

    by</font><br>
    <font face="arial, helvetica" size="-2"><a href="http://javascriptkit.com">JavaScript
    Kit</a></font><+/p>




    </body>
    </html>


    i SURE HOPE SOMEONE CAN HELP ME

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,910
    Thanks
    203
    Thanked 2,531 Times in 2,509 Posts
    This is not a JavaScript. It is an applet. Just delete:-

    <script language="JavaScript" type="text/javascript">
    <!--

    and

    //-->
    </script>


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •