Hi,
for WebCharts we need excanvas.js only for IE type browsers.
Protochart uses the following header:
<!--[if IE]><script language="javascript" type="text/javascript" src="lib/excanvas.js"></script><![endif]-->
The ensureJavascriptFor....InHeader all use WebPage>>addHeader:value:
to build the tags around the script which obviously doesn't work due
to the asymmetric use of the '!'.
I currently load excanvas.js into every browser.
I would prefer not to use HTML magic like the above but simply do:
clientBrowser = 'IE' ifTrue:
[self ensureJavascriptForExcanvasminInHeader.
Any hints?
Thanks,
Herbert mailto:
[hidden email]
_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida