From mboxrd@z Thu Jan 1 00:00:00 1970 Received-SPF: None (mailfrom) identity=mailfrom; client-ip=8.23.224.60; helo=out.smtp-auth.no-ip.com; envelope-from=kevin@carhart.net; receiver= Received: from out.smtp-auth.no-ip.com (smtp-auth.no-ip.com [8.23.224.60]) by hurricane.the-brannons.com (Postfix) with ESMTPS id D7E1577AE2 for ; Wed, 6 Jun 2018 01:52:13 -0700 (PDT) X-No-IP: carhart.net@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from carhart.net (unknown [99.52.200.227]) (Authenticated sender: carhart.net@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id 2D3392BD for ; Wed, 6 Jun 2018 01:52:13 -0700 (PDT) Received: from carhart.net (localhost [127.0.0.1]) by carhart.net (8.13.8/8.13.8) with ESMTP id w568qCx9001589 for ; Wed, 6 Jun 2018 01:52:12 -0700 Received: from localhost (kevin@localhost) by carhart.net (8.13.8/8.13.8/Submit) with ESMTP id w568qAx8001583 for ; Wed, 6 Jun 2018 01:52:11 -0700 Date: Wed, 6 Jun 2018 01:52:10 -0700 (PDT) From: Kevin Carhart To: edbrowse-dev@lists.the-brannons.com Subject: [edbrowse-dev] getBoundingClientRect In-Reply-To: Message-ID: References: <20180506005521.eklhad@comcast.net> User-Agent: Alpine 2.03 (LRH 1266 2009-07-14) X-BeenThere: edbrowse-dev@edbrowse.org List-Id: Edbrowse Development List MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed I wrote a getBoundingClientRect function and put it in a startwindow. The version of startwindow.js that I was taking as the gospel and modifying is from the commit from around 9:00, with the comment "Let the default..." Please grab it from http://carhart.net/~kevin/startwindow_20180605.zip There isn't that much to it. The rectangle is just established with some properties like top, bottom, left, right. I set everything to 0. I hope the code can just clobber the defaults all it wants. In the Eagles quiz page, with this change the runtime error "can't find boundingClientRect" goes away, though the quiz still isn't working just from this. thanks Kevin