sketchucation logo sketchucation
    • Login
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Modifying Web-Dialog content size possible?

    Scheduled Pinned Locked Moved Developers' Forum
    4 Posts 2 Posters 256 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.
    • renderizaR Offline
      renderiza
      last edited by

      I ask for the SketchUp Gods to help me once again! ๐Ÿ’š

      I want to create a plugin where I can open a web-dialog that has a giving website assigned to it (example: Youtube) and I want the content size to be smaller right out the bat without the need of pressing (ctrl -). Here is an image showing what I mean...

      Original Size;

      http://s17.postimg.org/sym9gk6bj/h_2.jpg

      But I want this size;

      http://s10.postimg.org/swzjw32op/h_1.jpg

      Thanks in advance!

      [url=https://www.sketchupcode.com/:z3kqsidd]My Extensions ...[/url:z3kqsidd]

      1 Reply Last reply Reply Quote 0
      • A Offline
        Aerilius
        last edited by

        Zoom level is a browser chrome feature. In Internet Explorer (non-standard):
        dialog.execute_script("document.body.style.zoom = 0.5")

        1 Reply Last reply Reply Quote 0
        • A Offline
          Aerilius
          last edited by

          Why do I reply here ๐Ÿ˜’ I'm not a godโ€ฆ

          1 Reply Last reply Reply Quote 0
          • renderizaR Offline
            renderiza
            last edited by

            @aerilius said:

            Why do I reply here ๐Ÿ˜’ I'm not a godโ€ฆ

            I am currently building a temple on your honor...at least a SketchUp model of it for sure! ๐Ÿ˜

            Thanks!

            [url=https://www.sketchupcode.com/:z3kqsidd]My Extensions ...[/url:z3kqsidd]

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

            Advertisement