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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginAdvertisement