To place a Java applet onto a page, simply drag it from the desktop onto your page, or place it via the "Place" command under the "File" menu. Applets must end with the suffix ".class". PageMill cannot yet preview Applets, but will recognize them, and place a image on the page, reserving space for the applet. These applet images are resizeable, through both handles and a dialog in the Inspector.
Java Scripting
PageMill 2.0 does not test or run Javascripts. But you can open
pages which contain them.
When PageMill encounters a <SCRIPT LANGUAGE =...> tag inside the <HEAD></HEAD> tag, it must process any HTML inside the script in order to find the </SCRIPT> tag. This could result in PageMill altering the script. To avoid this, you can do two things:
1. Place a <!--NOEDIT--> and <!--/NOEDIT--> comment before/after the script, telling PageMill to ignore the script.
2. Place a <!-- on the LINE before the script begins, and a --> on the line after the script ends. Netscape/PageMill will see the entire script as a comment and won't process it; Java, however won't see the comment command and will process the script just fine.
For more information on <!--NOEDIT-->, please refer to the document, HTML Placeholders.
For more information on placing other dynamic page elements please refer to the document, Placing Files.