• Login
sketchucation logo sketchucation
  • Login
⚠️ Libfredo 15.4b | Minor release with bugfixes and improvements Update

HTML5 Canvas in Webdialogs

Scheduled Pinned Locked Moved Developers' Forum
3 Posts 2 Posters 391 Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    Bob_Live
    last edited by 23 Jul 2014, 02:44

    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

    1 Reply Last reply Reply Quote 0
    • T Offline
      tt_su
      last edited by 23 Jul 2014, 09:53

      @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"/>

      Link Preview Image
      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

      favicon

      GitHub (github.com)

      1 Reply Last reply Reply Quote 0
      • B Offline
        Bob_Live
        last edited by 23 Jul 2014, 16:32

        Brilliant! Thank you so much - it's working fine now.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          3/3
          Last post
        Buy SketchPlus
        Buy SUbD
        Buy WrapR
        Buy eBook
        Buy Modelur
        Buy Vertex Tools
        Buy SketchCuisine
        Buy FormFonts

        Advertisement