sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Cross-Browser WebDialog Development

    Scheduled Pinned Locked Moved Developers' Forum
    8 Posts 3 Posters 601 Views 3 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.
    • M Offline
      MartinRinehart
      last edited by

      I've learned just one thing, thus far. Hopefully others will add their .02s until this thread becomes valuable.

      Thing 1: IE accepts:

       row = table.insertRow();
      cell = row.insertCell();
      
      

      Don't do it! Always use the index parameter:

       row = table.insertRow( 0 );
      cell = row.insertCell( 0 );
      
      

      And another tip of the hat to Opera's excellent error console for helping me track this down.

      Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.

      1 Reply Last reply Reply Quote 0
      • chrisglasierC Offline
        chrisglasier
        last edited by

        @martinrinehart said:

        I've learned just one thing, thus far. Hopefully others will add their .02s until this thread becomes valuable.

        Perhaps not entirely Cross-Browser but very definitely a pain in the arse in WebDialog Development that would no doubt benefit from your analytical skills:

        Thing 2 - synchronization issue with web dialogs on Mac - see this post and its surrounding topic.

        Look forward to your advice/findings.

        Chris

        With TBA interfaces we can analyse what is to be achieved so that IT can help with automation to achieve it.

        1 Reply Last reply Reply Quote 0
        • M Offline
          MartinRinehart
          last edited by

          @chrisglasier said:

          Thing 2 - synchronization issue with web dialogs on Mac - see this post

          Thanks much, Chris. From that found this from Fredo6:

          http://forums.sketchucation.com/viewtopic.php?f=180&t=13394&p=101428&hilit=+safari#p98793

          I did not have this problem, purely by dumb luck but I'll take luck over smarts any day. My JS calls Ruby and stops. Ruby's return call restarts JS, so it's synchronous, both platforms.

          Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.

          1 Reply Last reply Reply Quote 0
          • chrisglasierC Offline
            chrisglasier
            last edited by

            @martinrinehart said:

            Ruby's return call restarts JS, so it's synchronous, both platforms.

            Yes that's what I put forward here but no one confirmed it works. If you can do that or point out where it goes wrong I would be very grateful. I think this has to be a good basis for further promoting web dialogs.

            My regards

            Chris

            With TBA interfaces we can analyse what is to be achieved so that IT can help with automation to achieve it.

            1 Reply Last reply Reply Quote 0
            • thomthomT Offline
              thomthom
              last edited by

              Modal forms PC vs. Mac: http://forums.sketchucation.com/viewtopic.php?f=180&t=19537

              Thomas Thomassen — SketchUp Monkey & Coding addict
              List of my plugins and link to the CookieWare fund

              1 Reply Last reply Reply Quote 0
              • chrisglasierC Offline
                chrisglasier
                last edited by

                @chrisglasier said:

                @martinrinehart said:

                Ruby's return call restarts JS, so it's synchronous, both platforms.

                Yes that's what I put forward here but no one confirmed it works. If you can do that or point out where it goes wrong I would be very grateful. I think this has to be a good basis for further promoting web dialogs.

                My regards

                Chris

                Sorry the correct link is further into the topic at http://forums.sketchucation.com/viewtopic.php?f=180&t=19932&st=0&sk=t&sd=a&start=15#p167428 which also includes attached download and explanation.

                cg


                cgScenes R1.034(MAC).zip

                With TBA interfaces we can analyse what is to be achieved so that IT can help with automation to achieve it.

                1 Reply Last reply Reply Quote 0
                • thomthomT Offline
                  thomthom
                  last edited by

                  Seen Fredo's thread on Mac Webdialogs? http://forums.sketchucation.com/viewtopic.php?f=180&t=13394

                  Thomas Thomassen — SketchUp Monkey & Coding addict
                  List of my plugins and link to the CookieWare fund

                  1 Reply Last reply Reply Quote 0
                  • chrisglasierC Offline
                    chrisglasier
                    last edited by

                    @thomthom said:

                    Seen Fredo's thread on Mac Webdialogs? http://forums.sketchucation.com/viewtopic.php?f=180&t=13394

                    Thanks, yes. That was in the first link. The second link was what I did about it.

                    With TBA interfaces we can analyse what is to be achieved so that IT can help with automation to achieve it.

                    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