BUG: WebDialog conditional comments
-
Just found a bug in SketchUp WebDialog handling
Because Internet Explorer historically had many quirks, MS added a special feature called "Conditional comments" that allowed web pages to handle things differently for different versions of IE...
Well LightUp does some pretty spiffy CSS for IES light browsers etc so had to handle users with IE6, IE7, IE8, IE9 and now IE10.
What this means in practice is code like this:
<!--[if IE 7]> do some special stuff just to handle IE7 wierdness <[endif]-->
Rather annoyingly, if you have IE9 installed, looks like SketchUp somehow thinks its running IE7.
Drop this unzip this test plugin in your Plugin folder, start Sketchup and run "WDTest" from the Plugins menu.
Adam
-
In embedded browsers, IE seems to default to IE7 mode:
http://forums.sketchucation.com/viewtopic.php?f=180&t=27594&p=239229#p239145 -
@adamb said:
Rather annoyingly, if you have IE9 installed, looks like SketchUp somehow thinks its running IE7.
It doesn't think - it does. Embedded web controls are handled differently. You must force it to use a different version.
-
@thomthom said:
@adamb said:
Rather annoyingly, if you have IE9 installed, looks like SketchUp somehow thinks its running IE7.
It doesn't think - it does. Embedded web controls are handled differently. You must force it to use a different version.
The thing that threw me was that SU and IE8 installed correctly reports IE8, as does IE7 and IE6 with the same html. IE9 does not.
But given the conditional comments are being dropped by MS for IE10, and frankly anyone still use IE6 or IE7 is living on borrowed time, I've ripped out all the conditional stuff.
thanks for the all the info though.
Advertisement