OpenLayers OpenLayers

Changeset 5784

Show
Ignore:
Timestamp:
01/16/08 16:08:53 (1 year ago)
Author:
ianmayo
Message:

Split working

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/ianmayo/branches/app2/index_dojo.html

    r5783 r5784  
    11<html> 
    2   <head> 
    3     <title>Dojo: Hello World!</title> 
    4     <style type="text/css"> 
    5         @import "js/dojo-1.0.2/dijit/themes/tundra/tundra.css"; 
    6     </style> 
    7     <style type="text/css"> 
    8         @import "js/dojo-1.0.2/dojo/resources/dojo.css"; 
    9     </style> 
    10     <script type="text/javascript" src="js/dojo-1.0.2/dojo/dojo.js" 
    11       djConfig="parseOnLoad: true"></script> 
    12  
    13     <!-- SECTION 2 --> 
    14     <script type="text/javascript"> 
    15        // Load Dojo's code relating to the Button widget 
    16        dojo.require("dijit.form.Button"); 
    17     </script>  
    18   </head> 
    19   <body class="tundra"> 
    20 <button dojoType="dijit.form.Button" id="helloButton"> 
    21         Hello World! 
    22         <script type="dojo/method" event="onClick"> 
    23            alert('You pressed the button'); 
     2    <head> 
     3        <title>Dojo: Hello World!</title> 
     4        <style type="text/css"> 
     5            @import "js/dojo-1.0.2/dijit/themes/tundra/tundra.css"; 
     6        </style> 
     7        <style type="text/css"> 
     8            @import "js/dojo-1.0.2/dojo/resources/dojo.css"; 
     9        </style> 
     10        <script type="text/javascript" src="js/dojo-1.0.2/dojo/dojo.js" djConfig="parseOnLoad: true"> 
    2411        </script> 
    25     </button> 
    26      
    27   </body> 
     12        <!-- SECTION 2 --> 
     13        <script type="text/javascript"> 
     14            // Load Dojo's code relating to the Button widget 
     15            dojo.require("dijit.form.Button"); 
     16            dojo.require("dojo.parser"); 
     17            dojo.require("dijit.layout.SplitContainer"); 
     18            dojo.require("dijit.layout.ContentPane"); 
     19        </script> 
     20    </head> 
     21    <body class="tundra"> 
     22        <button dojoType="dijit.form.Button" id="helloButton"> 
     23            Hello World! 
     24            <script type="dojo/method" event="onClick"> 
     25                alert('You pressed the button'); 
     26            </script> 
     27        </button> 
     28<div dojoType="dijit.layout.SplitContainer" 
     29                orientation="horizontal" 
     30                sizerWidth="7" 
     31                activeSizing="true" 
     32                style="border: 1px solid #bfbfbf; width: 100%; height: 300px;"> 
     33                <div dojoType="dijit.layout.ContentPane" sizeMin="20" sizeShare="20"> 
     34                    <b>The Dojo Toolkit</b> 
     35                     
     36                        Dojo is an Open Source DHTML toolkit written in JavaScript. It 
     37                        builds on several contributed code bases (nWidgets, Burstlib, f(m)), 
     38                        which is 
     39                        why we refer to it sometimes as a "unified" toolkit. Dojo aims to 
     40                        solve some long-standing historical problems with DHTML which 
     41                        prevented mass adoption of dynamic web application development. 
     42                        
     43                </div> 
     44                <div dojoType="dijit.layout.ContentPane" sizeMin="50" sizeShare="50"> 
     45                    <b>Swedish Chef Translation</b> 
     46                     
     47                        Duju is un Oopee Suoorce-a DHTML tuulkeet vreettee in JefeScreept. 
     48                        Um de hur de hur de hur. It booeelds oon seferel cuntreebooted 
     49                        cude-a beses (nVeedgets, Boorstleeb, f(m)), 
     50                        vheech is vhy ve-a reffer tu it sumeteemes es 
     51                        a "uneeffied" tuulkeet. Um de hur de hur de hur. 
     52                        Duju eeems tu sulfe-a sume-a lung-stundeeng heesturicel 
     53                        prublems veet DHTML vheech prefented mess edupshun 
     54                        ooff dynemeec veb eppleeceshun defelupment. Um de hur de 
     55                        hur de hur. 
     56                        
     57                </div> 
     58        </div>       
     59    </body> 
    2860</html>