sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🚨 Skimp | 25% Off until March 30 Buy Now

    Modifying Web-Dialog content size possible?

    Scheduled Pinned Locked Moved Developers' Forum
    4 Posts 2 Posters 345 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

            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 Login
            • 1 / 1
            • First post
              Last post
            Buy SketchPlus
            Buy SUbD
            Buy WrapR
            Buy eBook
            Buy Modelur
            Buy Vertex Tools
            Buy SketchCuisine
            Buy FormFonts

            Advertisement