Ignore:
Timestamp:
03/23/14 12:52:58 (11 years ago)
Author:
mmichalski
Message:

Examples how to open creatues by viewer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • js/viewer-f0/index.html

    r173 r188  
    1919<script src="js/SmartLayout.js"></script>
    2020<script src="js/Structures/NeuroClass.js"></script>
    21 <script src="js/main.js"></script>
     21<script src="js/Viewer.js"></script>
     22
     23<div class="window">
     24    <div class="cont" id="container"></div>
     25    <div class="cont" id="containerNeuron"></div>
     26
     27    <div class="menu">
     28        <textarea id="geno">//0&#13;&#10;p:</textarea>
     29
     30        <div><input type="checkbox" id="axisBox"> Show axis for parts </input></div>
     31        <div id="test">
     32            <!-- Wywołanie openEmbeddedCreature z Viewer.js-->
     33            <button onclick="openTextAreaCreature()">Render</button>
     34        </div>
     35    </div>
     36</div>
     37
     38<div class="window">
     39    <div class="cont" id="container1"></div>
     40    <div class="cont" id="containerNeuron1"></div>
     41
     42    <div class="menu">
     43        <div><input type="checkbox" id="axisBox1"> Show axis for parts </input></div>
     44        <div id="test1">
     45
     46            <button onclick="openEmbeddedCreature()">Render</button>
     47        </div>
     48    </div>
     49</div>
    2250
    2351
    24 <div class="cont" id="container"></div>
    25 <div class="cont" id="containerNeuron"></div>
     52</body>
    2653
    27 <div id="menu">
    28     <textarea id="geno">//0&#13;&#10;p:</textarea>
    29     <div><input type="checkbox" id="axisBox"> Show axis for parts </input></div>
    30     <div id="test">
    31         <!-- Wywołanie openWindow z main.js-->
    32         <button onclick="openWindow()">Render</button>
     54<div class="window">
     55    <div class="cont" id="container2"></div>
     56    <div class="cont" id="containerNeuron2"></div>
     57
     58    <div class="menu">
     59        <div><input type="checkbox" id="axisBox2"> Show axis for parts </input></div>
     60        <div id="test2">
     61
     62            <button onclick="openCodeCreature()">Render</button>
     63        </div>
    3364    </div>
     65</div>
    3466
     67
     68</body>
     69
     70<div class="window">
     71    <div class="cont" id="container3"></div>
     72    <div class="cont" id="containerNeuron3"></div>
     73
     74    <div class="menu">
     75        <div><input type="checkbox" id="axisBox3"> Show axis for parts </input></div>
     76        <div id="test3">
     77
     78            <button onclick="openFileCreature()">Render</button>
     79        </div>
     80    </div>
    3581</div>
    3682
Note: See TracChangeset for help on using the changeset viewer.