Login  Register

Including conditional comments in your XForm?

Posted by Andrzej Jan Taramina on Dec 09, 2008; 5:46pm
URL: https://discuss.orbeon.com/Including-conditional-comments-in-your-XForm-tp41984.html

I have a situation where some users are still on IE 6 (ugh! but what can you do?).

And we use png's with transparent backgrounds.

So in the processed XForm, ie the html, that Orbeon emits, I need to include a conditional comment construct that looks
like this:

        <!--[if lte IE 6]><script type="text/javascript" src="./javascript/ie6-png.js"/></script><![endif]-->

If I just include this in the XForm source file, it never appears in the processed html output, since Orbeon eats comments.

Any easy way to do this?

Thanks!

--
Andrzej Taramina
Chaeron Corporation: Enterprise System Solutions
http://www.chaeron.com


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws