...

View Full Version : help with simple snow applets and lake applets



rubydoo
10-18-2006, 11:23 AM
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

Philip M
10-18-2006, 07:02 PM
This is not a JavaScript. It is an applet. Just delete:-

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

and

//-->
</script>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum