Developing any complex, dynamic web application that must support
Internet Explorer is several orders of magnitude more painful than it
should be, or would be without IE.  If you don't think so, you're
wrong.  Full stop.

So, because IE is so broken, I'm very strongly inclined to add the
following patch (well, a better, configurable, I18N'd version of it)
to trunk in the near future.  What it does is, in IE, it gives the
user a button to click which will install Google Chrome Frame.  You
can read about it here:

http://alex.dojotoolkit.org/2010/06/beta/

Basically, it embeds the Google Chrome browser inside IE, and for web
sites that know how to request it, Chrome will render the page.  This
decreases page load time from 10s of seconds to 1s of seconds or
better, and allows standards-based functionality to actually work.

Anyway, it could be the fever making me ramble incoherently, but I
think this may be the only thing left that can save my sanity when
building UIs for public consumption in Evergreen and FulfILLment.

This patch is against trunk, but it should apply cleanly (or very
nearly) to 1.6 and 1.4.  If you test it out please respond to this
thread with any feedback.

-- 
Mike Rylander
 | VP, Research and Design
 | Equinox Software, Inc. / The Evergreen Experts
 | phone:  1-877-OPEN-ILS (673-6457)
 | email:  [email protected]
 | web:  http://www.esilibrary.com
--- Open-ILS/web/opac/skin/default/xml/home/index_body.xml	2010-04-13 12:13:42.000000000 -0400
+++ Open-ILS/web/opac/skin/default/xml/home/index_body.xml	2010-06-09 11:04:06.000000000 -0400
@@ -33,6 +33,9 @@
 		}
 	</script>
 	<!--#include virtual='../footer.xml'-->
+    <center><button onclick='CFInstall.check({preventPrompt: false, mode: "popup"});' id='gcfPrompt' class='hide_me'>Click here to install Google Chrome Frame and improve your Evergreen experience!</button></center>
+    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js";></script>
+    <script> CFInstall.check({ preventPrompt: true, onmissing: function() { unHideMe($('gcfPrompt')) } }); </script>
 </body>
 
 
--- Open-ILS/web/opac/skin/default/xml/body.xml	2010-04-13 12:13:42.000000000 -0400
+++ Open-ILS/web/opac/skin/default/xml/body.xml	2010-06-09 11:04:29.000000000 -0400
@@ -27,4 +28,8 @@
 		</tbody>
 	</table>
 		<!--#include virtual='footer.xml'-->
+    <center><button onclick='CFInstall.check({preventPrompt: false, mode: "popup"});' id='gcfPrompt' class='hide_me'>Click here to install Google Chrome Frame and improve your Evergreen experience!</button></center>
+    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js";></script>
+    <script> CFInstall.check({ preventPrompt: true, onmissing: function() { unHideMe($('gcfPrompt')) } }); </script>
+
 </body>
--- Open-ILS/web/opac/skin/default/xml/header.xml	2010-04-13 12:13:42.000000000 -0400
+++ Open-ILS/web/opac/skin/default/xml/header.xml	2010-06-09 00:14:12.000000000 -0400
@@ -1,4 +1,5 @@
 <head>
+    <meta http-equiv="X-UA-Compatible" content="chrome=1"></meta>
 	<!-- Set the page title -->
 
 	<!--#include virtual="common/css_common.xml"-->

Reply via email to