Page tree
Skip to end of metadata
Go to start of metadata
<!--
******************************************************
 
 instantiation.html --
 
 EditLive! tutorial to use only the most basic
 javascript methods to instantiate the editor in a webpage
 
 Copyright © 2001-2006 Ephox Corporation. All rights reserved.
 See license.txt for license agreement
 
******************************************************
-->
<html>
       <head>
               <title>Instantiation Tutorial</title>
               <link rel="stylesheet" href="stylesheet.css">
               <!--
               Include the EditLive! JavaScript Library
               -->
               <script src="../../redistributables/editlivejava/editlivejava.js" language="JavaScript"></script>
       </head>
       <body>
 
       <h1>Instantiation Tutoria</h1>
               <!--
               The instance of EditLive!
               -->
               <script language="JavaScript">
                       // Create a new EditLive! instance with the name "ELJApplet", a height of 400 pixels and a width of 700 pixels.
                       var editlivejava = new EditLiveJava("ELJApplet", 700, 400);
 
                       // This sets a relative or absolute path to the XML configuration file to use
                       editlivejava.setConfigurationFile("../../redistributables/editlivejava/sample_eljconfig.xml");
 
                       // .show is the final call and instructs the JavaScript library (editlivejava.js) to insert a new EditLive! for Java instance
                       //  at the this location.
                       editlivejava.show();
               </script>
       </body>
</html>
  • No labels