Difference between revisions of "User:AngelHerraez/Sandbox/Local Files Layout"

From Jmol
Jump to navigation Jump to search
(Created page with '= Layouts for files = For running Jmol in local disks successfully (i.e. without Java security errors) Template: <table cellspacing="0" cellpadding="0"> <tr> <td>P</td> ...')
 
Line 2: Line 2:
 
For running Jmol in local disks successfully (i.e. without Java security errors)
 
For running Jmol in local disks successfully (i.e. without Java security errors)
  
Template:
+
 
 +
=== Layout #1 ===
 +
[[File:No_Problem.png]] This layout gives no problems.
 
<table cellspacing="0" cellpadding="0">
 
<table cellspacing="0" cellpadding="0">
 
   <tr>
 
   <tr>
 
     <td>P</td>
 
     <td>P</td>
 +
    <td width="42">[[File:Folder_yellow_open.png]]</td>
 +
    <td width="42"> </td>
 +
    <td width="42"> </td>
 +
    <td>&nbsp; JmolApplet jar files</td>
 +
  </tr>
 +
  <tr>
 +
    <td> </td>
 +
    <td>[[File:Line21-down.png]]</td>
 +
    <td> </td>
 +
    <td> </td>
 +
    <td> </td>
 +
  </tr>
 +
  <tr>
 +
    <td>X</td>
 +
    <td>[[File:Line42-down-branch-right.png]]</td>
 +
    <td>[[File:Folder_yellow_open.png]]</td>
 +
    <td> </td>
 +
    <td>&nbsp; html files, model and script files</td>
 +
  </tr>
 +
  <tr>
 +
    <td> </td>
 +
    <td>[[File:Line21-down.png]]</td>
 +
    <td>[[File:Line21-down.png]]</td>
 +
    <td> </td>
 +
    <td> </td>
 +
  </tr>
 +
  <tr>
 +
    <td>C</td>
 +
    <td>[[File:Line42-down.png]]</td>
 +
    <td>[[File:Line42-down-right.png]]</td>
 +
    <td>[[File:Folder_yellow_open.png]]</td>
 +
    <td> </td>
 +
  </tr>
 +
  <tr>
 +
    <td> </td>
 +
    <td>[[File:Line21-down.png]]</td>
 +
    <td> </td>
 +
    <td> </td>
 +
    <td> </td>
 +
  </tr>
 +
  <tr>
 +
    <td>S</td>
 +
    <td>[[File:Line42-down-right.png]]</td>
 
     <td>[[File:Folder_yellow_open.png]]</td>
 
     <td>[[File:Folder_yellow_open.png]]</td>
     <td colspan=2> </td>
+
     <td> </td>
 +
    <td> </td>
 +
  </tr>
 +
</table>
 +
 
 +
=== Layout #2 ===
 +
[[File:No_Problem.png]] This layout gives no problems.
 +
<table cellspacing="0" cellpadding="0">
 +
  <tr>
 +
    <td>P</td>
 +
    <td width="42">[[File:Folder_yellow_open.png]]</td>
 +
    <td width="42"> </td>
 +
    <td width="42"> </td>
 +
    <td>&nbsp; JmolApplet jar files</td>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
 
     <td> </td>
 
     <td> </td>
 
     <td>[[File:Line21-down.png]]</td>
 
     <td>[[File:Line21-down.png]]</td>
     <td colspan=2> </td>
+
     <td> </td>
 +
    <td> </td>
 +
    <td> </td>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
Line 18: Line 78:
 
     <td>[[File:Line42-down-branch-right.png]]</td>
 
     <td>[[File:Line42-down-branch-right.png]]</td>
 
     <td>[[File:Folder_yellow_open.png]]</td>
 
     <td>[[File:Folder_yellow_open.png]]</td>
     <td>&nbsp; myPage.html</td>
+
    <td> </td>
 +
     <td>&nbsp; html files</td>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
Line 24: Line 85:
 
     <td>[[File:Line21-down.png]]</td>
 
     <td>[[File:Line21-down.png]]</td>
 
     <td>[[File:Line21-down.png]]</td>
 
     <td>[[File:Line21-down.png]]</td>
 +
    <td> </td>
 
     <td> </td>
 
     <td> </td>
 
   </tr>
 
   </tr>
Line 31: Line 93:
 
     <td>[[File:Line42-down-right.png]]</td>
 
     <td>[[File:Line42-down-right.png]]</td>
 
     <td>[[File:Folder_yellow_open.png]]</td>
 
     <td>[[File:Folder_yellow_open.png]]</td>
 +
    <td>&nbsp; model and script files </td>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
 
     <td> </td>
 
     <td> </td>
 
     <td>[[File:Line21-down.png]]</td>
 
     <td>[[File:Line21-down.png]]</td>
     <td colspan=2> </td>
+
     <td> </td>
 +
    <td> </td>
 +
    <td> </td>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
Line 41: Line 106:
 
     <td>[[File:Line42-down-right.png]]</td>
 
     <td>[[File:Line42-down-right.png]]</td>
 
     <td>[[File:Folder_yellow_open.png]]</td>
 
     <td>[[File:Folder_yellow_open.png]]</td>
 +
    <td> </td>
 
     <td> </td>
 
     <td> </td>
 
   </tr>
 
   </tr>
 
</table>
 
</table>
  
=== Layout 1 ===
+
=== Layout #3 ===
 +
[[File:Error-Forbidden.png]] This layout cannot be used from local disk.
 
<table cellspacing="0" cellpadding="0">
 
<table cellspacing="0" cellpadding="0">
 
   <tr>
 
   <tr>
 
     <td>P</td>
 
     <td>P</td>
 
     <td width="42">[[File:Folder_yellow_open.png]]</td>
 
     <td width="42">[[File:Folder_yellow_open.png]]</td>
 +
    <td width="42"> </td>
 +
    <td width="42"> </td>
 +
    <td> </td>
 +
  </tr>
 +
  <tr>
 +
    <td> </td>
 +
    <td>[[File:Line21-down.png]]</td>
 +
    <td> </td>
 +
    <td> </td>
 +
    <td> </td>
 +
  </tr>
 +
  <tr>
 +
    <td>X</td>
 +
    <td>[[File:Line42-down-branch-right.png]]</td>
 +
    <td>[[File:Folder_yellow_open.png]]</td>
 +
    <td> </td>
 +
    <td>&nbsp; html files, model and script files</td>
 +
  </tr>
 +
  <tr>
 +
    <td> </td>
 +
    <td>[[File:Line21-down.png]]</td>
 +
    <td>[[File:Line21-down.png]]</td>
 +
    <td> </td>
 +
    <td> </td>
 +
  </tr>
 +
  <tr>
 +
    <td>C</td>
 +
    <td>[[File:Line42-down.png]]</td>
 +
    <td>[[File:Line42-down-right.png]]</td>
 +
    <td>[[File:Folder_yellow_open.png]]</td>
 +
    <td> </td>
 +
  </tr>
 +
  <tr>
 +
    <td> </td>
 +
    <td>[[File:Line21-down.png]]</td>
 +
    <td> </td>
 +
    <td> </td>
 +
    <td> </td>
 +
  </tr>
 +
  <tr>
 +
    <td>S</td>
 +
    <td>[[File:Line42-down-right.png]]</td>
 +
    <td>[[File:Folder_yellow_open.png]]</td>
 
     <td> </td>
 
     <td> </td>
 +
    <td>&nbsp; JmolApplet jar files</td>
 +
  </tr>
 +
</table>
 +
 +
=== Layout #4 ===
 +
[[File:Error-Forbidden.png]] This layout may be used from local disk only
 +
if you add <code>UseCommandThread=true</code> to your page (see details). And some functions like the <code>minimize</code> command will '''''not''''' work when activated by the page user (e.g. with a <code>jmolButton</code>).
 +
 +
<table cellspacing="0" cellpadding="0">
 +
  <tr>
 +
    <td>P</td>
 +
    <td width="42">[[File:Folder_yellow_open.png]]</td>
 +
    <td width="42"> </td>
 +
    <td width="42"> </td>
 
     <td> </td>
 
     <td> </td>
    <td>&nbsp; JmolApplet*.jar , myModel.mol , myScript.spt</td>
 
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
 
     <td> </td>
 
     <td> </td>
     <td width="42">[[File:Line21-down.png]]</td>
+
     <td>[[File:Line21-down.png]]</td>
 
     <td> </td>
 
     <td> </td>
 
     <td> </td>
 
     <td> </td>
Line 64: Line 187:
 
     <td>X</td>
 
     <td>X</td>
 
     <td>[[File:Line42-down-branch-right.png]]</td>
 
     <td>[[File:Line42-down-branch-right.png]]</td>
     <td width="42">[[File:Folder_yellow_open.png]]</td>
+
     <td>[[File:Folder_yellow_open.png]]</td>
 
     <td> </td>
 
     <td> </td>
     <td>&nbsp; myPage.html</td>
+
     <td>&nbsp; html files</td>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
Line 79: Line 202:
 
     <td>[[File:Line42-down.png]]</td>
 
     <td>[[File:Line42-down.png]]</td>
 
     <td>[[File:Line42-down-right.png]]</td>
 
     <td>[[File:Line42-down-right.png]]</td>
     <td width="42">[[File:Folder_yellow_open.png]]</td>
+
     <td>[[File:Folder_yellow_open.png]]</td>
 
     <td> </td>
 
     <td> </td>
 
   </tr>
 
   </tr>
Line 94: Line 217:
 
     <td>[[File:Folder_yellow_open.png]]</td>
 
     <td>[[File:Folder_yellow_open.png]]</td>
 
     <td> </td>
 
     <td> </td>
     <td> </td>
+
     <td>&nbsp; JmolApplet jar files, model and script files</td>
 
   </tr>
 
   </tr>
 
</table>
 
</table>

Revision as of 16:08, 10 June 2010

Layouts for files

For running Jmol in local disks successfully (i.e. without Java security errors)


Layout #1

No Problem.png This layout gives no problems.

P Folder yellow open.png   JmolApplet jar files
Line21-down.png
X Line42-down-branch-right.png Folder yellow open.png   html files, model and script files
Line21-down.png Line21-down.png
C Line42-down.png Line42-down-right.png Folder yellow open.png
Line21-down.png
S Line42-down-right.png Folder yellow open.png

Layout #2

No Problem.png This layout gives no problems.

P Folder yellow open.png   JmolApplet jar files
Line21-down.png
X Line42-down-branch-right.png Folder yellow open.png   html files
Line21-down.png Line21-down.png
C Line42-down.png Line42-down-right.png Folder yellow open.png   model and script files
Line21-down.png
S Line42-down-right.png Folder yellow open.png

Layout #3

Error-Forbidden.png This layout cannot be used from local disk.

P Folder yellow open.png
Line21-down.png
X Line42-down-branch-right.png Folder yellow open.png   html files, model and script files
Line21-down.png Line21-down.png
C Line42-down.png Line42-down-right.png Folder yellow open.png
Line21-down.png
S Line42-down-right.png Folder yellow open.png   JmolApplet jar files

Layout #4

Error-Forbidden.png This layout may be used from local disk only if you add UseCommandThread=true to your page (see details). And some functions like the minimize command will not work when activated by the page user (e.g. with a jmolButton).

P Folder yellow open.png
Line21-down.png
X Line42-down-branch-right.png Folder yellow open.png   html files
Line21-down.png Line21-down.png
C Line42-down.png Line42-down-right.png Folder yellow open.png
Line21-down.png
S Line42-down-right.png Folder yellow open.png   JmolApplet jar files, model and script files

Contributors

AngelHerraez