Help - Search - Members - Calendar
Full Version: javascript not working in code?
HTMLHelp Forums > Web Authoring > Graphics, Flash and Multimedia
marie112
hi I have been trying to get this clock to work on my site but keep getting a error not sure whats wrong. I am a newbie and just learning html.Unsure if I need my whole code or just this part?

<applet CODE="Clock3D.class" WIDTH="100%" HEIGHT="100">
<param name="fps" value="20">
<param name="a1" value="12000">
<param name="pixd" value="29">
<param name="pixangle" value="5">
<param name="radius" value="30">
<param name="roty" value="-2">
<param name="rotx" value="0">
<param name="rotz" value="0">
<param name="irotx" value="0">
<param name="iroty" value="0">
<param name="irotz" value="00">
<param name="style" value="1">
<param name="color" value="#000000">
<param name="bgcolor" value="#C0C0C0">
<param name="12hour" value="1">
</applet>

<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>
thank you all help very much appreciated smile.gif
pandy
Can you link to a live page, maybe also to the page at javascriptkit where you downloaded the applet? Those PARAMs are specific to the applet at hand, so we need to know more about it.
Christian J
BTW, Java applets are about Java, not Javascript (which are totally unrelated).

To run client-side Java you browser needs a Java plugin, which is not that common anymore. I even recall Firefox recommending that you remove the plugin for security reasons.
pandy
Came to think of another possible cause of error. Did you download the class file and does the URL (CODE="Clock3D.class") reflect where you put it?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.