I'll look at that. It's a style sheet that is getting put inside the if ie tags and I believe (without looking at the code) that it puts the style sheet ahead of the first script tag. Which in this case happens to be inside the if ie tags. There are a number of other script resources that get added correctly.
Thank you,
Johnny On Jun 22, 2012, at 8:21 AM, Ramsey Gurley < email@hidden> wrote: You could try putting the script in the body or have a script tag outside and above the ie conditional. I believe the ERXResponseRewriter is going to try to add scripts to the end of head, and stylesheets before the first script... which seems to land it right inside your conditional comment.
Also, you may want to look at ERXIEConditionalComment component. Nothing to do with your bug, just sayin' :-)
Ramsey On Jun 21, 2012, at 5:18 PM, Johnny Miller wrote: Hi,
In my page wrapper's head section I have something like this:
// HTML <head> ... <webobject name = "IFLTIE9Open" /> <script src=""http://html5shim.googlecode.com/svn/trunk/html5.js">http://html5shim.googlecode.com/svn/trunk/html5.js"></script> <webobject name = "IFIEClose" /> ... </head>
// WOD
IFIEClose : WOString { escapeHTML = false; value = "<![endif]-->"; }
IFLTIE9Open : WOString { escapeHTML = false; value = "<!--[if lt IE 9]>"; }
For some reason a stylesheet that gets added through addStylesheetResourceInHead function is stuffed in-between the IF IE tags.
Can someone please tell me how to fix this?
Thank you,
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
|