]> source.dussan.org Git - vaadin-framework.git/commitdiff
HTML now FF1.0 compatible (for Linux hostedmode)
authorMarc Englund <marc.englund@itmill.com>
Mon, 9 Jun 2008 13:22:42 +0000 (13:22 +0000)
committerMarc Englund <marc.englund@itmill.com>
Mon, 9 Jun 2008 13:22:42 +0000 (13:22 +0000)
svn changeset:4822/svn branch:trunk

WebContent/reservr.html

index 07f7ba256225582974c2d34c92116fb7b7bd9c83..4ca26fd2e62b8e0b584f2fe14a2405c29e071539 100644 (file)
        <script src="http://maps.google.com/maps?file=api&v=2" type="text/javascript"></script>\r
 </head>\r
 <body>\r
-       <iframe id="__gwt_historyFrame" style="width:0;height:0;border:0"></iframe>\r
-       <div id="header">\r
-               <span id="logo"> Reservr Inc</span>\r
-               <span id="arrow"> </span>\r
-               <span id="slogan">Representational cars on-the-road</span>\r
-       </div>
-       <script type="text/javascript">
-       //<![CDATA[
+<iframe id="__gwt_historyFrame" style="width:0;height:0;border:0;overflow:hidden" src="javascript:false"></iframe>
+<script language='javascript' src='/ITMILL/widgetsets/com.itmill.toolkit.demo.reservation.gwt.ReservationWidgetSet/com.itmill.toolkit.demo.reservation.gwt.ReservationWidgetSet.nocache.js'></script>
+<script type="text/javascript">
+//<![CDATA[
        if(!itmill || !itmill.toolkitConfigurations) {
         if(!itmill) { var itmill = {}} 
        itmill.toolkitConfigurations = {};
-       itmill.themesLoaded = {};
-       document.write('<iframe id="__gwt_historyFrame" style="width:0;height:0;border:0;overflow:hidden" src="javascript:false"></iframe>');
-       document.write("<script language='javascript' src='ITMILL/widgetsets/com.itmill.toolkit.demo.reservation.gwt.ReservationWidgetSet/com.itmill.toolkit.demo.reservation.gwt.ReservationWidgetSet.nocache.js'><\/script>");
-       }
-       itmill.toolkitConfigurations["itmill-ajax-window"] = {appUri:'../../../Reservr', pathInfo: '/', themeUri:'../../../ITMILL/themes/reservr'};
-       //]]>
-       </script>
-       <script type="text/javascript">
-       //<![CDATA[
+       itmill.themesLoaded = {}};
+       itmill.toolkitConfigurations["Reservr"] = {appUri:'/Reservr', pathInfo: '/', themeUri:'/ITMILL/themes/reservr'};
+//]]>
+</script>
+<script type="text/javascript">
+//<![CDATA[
        if(!itmill.themesLoaded['reservr']) {
        var stylesheet = document.createElement('link');
        stylesheet.setAttribute('rel', 'stylesheet');
        stylesheet.setAttribute('type', 'text/css');
-       stylesheet.setAttribute('href', 'ITMILL/themes/reservr/styles.css');
+       stylesheet.setAttribute('href', '/ITMILL/themes/reservr/styles.css');
        document.getElementsByTagName('head')[0].appendChild(stylesheet);
        itmill.themesLoaded['reservr'] = true;
        }
-       //]]>
-       </script>\r
-       <div id="itmill-ajax-window" class="i-app"></div>       \r
+//]]>
+</script>
+<div id="Reservr" class="i-app" ></div>\r
 </body>\r
 </html>\r