HTML5 Canvas in Webdialogs
-
I would like to try using an HTML5 Canvas in my Webdialog. When I run an example script the canvas doesn't render, but if I load the same HTML file in my "default browser" - IE v11 - it renders OK.
Isn't SketchUp using the default browser? Any ideas how I can get it to work?
Thanks,
Bob
-
@bob_live said:
Isn't SketchUp using the default browser? Any ideas how I can get it to work?
It is using the default OS browser engine. However, the IE engine is more conservative when embedded so you must explicitly tell it to use the latest IE render mode:
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
Doctype Quirks vs Standard vs Superstandard
Collection of unofficial documentation of SketchUp's WebDialog class. - Doctype Quirks vs Standard vs Superstandard · thomthom/sketchup-webdialogs-the-lost-manual Wiki
GitHub (github.com)
-
Brilliant! Thank you so much - it's working fine now.
Advertisement