Changeset 318

Show
Ignore:
Timestamp:
04/07/08 09:17:25 (4 years ago)
Author:
pgiraud
Message:

IE sometimes crashes when body first node is of text type
closes #25

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/MapFish/client/examples/map/window.html

    r290 r318  
    7070                    ['AS', 'Asia', new OpenLayers.Bounds(15.59375, -21.90625, 173.796875, 83.5625)]] 
    7171        }); 
    72         /* 
    73         var shortcuts = new mapfish.widgets.Shortcuts({ 
    74             map: map, 
    75             store: store, 
    76             templates: { 
    77                 header: new Ext.Template("Choose a continent in the list"), 
    78                 footer: new Ext.Template("The map will automatically center to this location") 
    79             } 
    80         }); 
    81         */ 
     72         
    8273        var window = new Ext.Window({ 
    8374            title: 'Shortcuts', 
     
    9990            }] 
    10091        }); 
    101         window.setPagePosition(20, 20); 
     92        window.setPagePosition(20, 40); 
    10293 
    10394        window.show(); 
     
    10697</head> 
    10798<body> 
     99  <!-- 
     100      body element must not start with text to prevent IE bug 
     101      http://extjs.com/forum/showthread.php?t=7912&highlight=createRange 
     102  --> 
     103  <h1>MapFish example</h1> 
    108104  This example shows how to use the MapComponent class to integrate a OL map into a window layout. 
    109105  <div id="olmap">