Support » Plugins » embed java applets

Viewing 6 replies - 1 through 6 (of 6 total)
  • Into a Post? I reckon you’ll want to first disable the wysiwyg editor (via your user profile).

    Into a theme? Edit the theme file and add the applet to the code.

    Am I close? Got any more details on where you want it and what you’ve already tried?

    into a post.
    Thanks for your help.
    I disabeld the wysiwyg editor and solved the problem.
    Thanks again.
    Luis J.

    I disabled the visual editor, and added the following code to a new post on my blog, but it does nothing. What am I doing wrong?

    <script language=”javascript” src=”http://www.swiftwx.com/warnings/warnings-plugin-simple.aspx”> </script>

    .aspx is not java it has to end on .jar

    See if this runs

    <EMBED type=”application/x-java-applet” width=”500″ height=”500″ align=”baseline” archive=”http://pappmaskin.no/opensource/processing/sketch_081001a/sketch_081001a.jar” standby=”Loading Processing software…” codebase=”http://java.sun.com/update/1.5.0/jinstall-1_5_0_15-windows-i586.cab” code=”sketch_081001a” mayscript=”true” scriptable=”true” image=”http://pappmaskin.no/opensource/processing/sketch_081001a/loading.gif” boxmessage=”Loading Processing software…” boxcolor=”#FFFFFF”>
    <NOEMBED>
    No Java 2 SDK, Standard Edition v 1.4.1 support for APPLET!!
    </NOEMBED>
    </EMBED>

    This is how I do it. It seems to also survive editing the post in the visual editor. Note that the div’s id and the argument to getElementById must be identical.

    <div id="dyemixer"><script type="text/javascript">// <![CDATA[
    document.getElementById('dyemixer').innerHTML = '<applet width="550" height="420" code="DyeMixer.class" archive="http://yehar.com/blog/wp-content/uploads/2009/09/DyeMixer.jar" alt="To use this applet, you need a Java virtual machine (Java plug-in) for your web browser.">';
    // ]]></script></div>
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘embed java applets’ is closed to new replies.