edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
From: Kevin Carhart <kevin@carhart.net>
To: edbrowse-dev@lists.the-brannons.com
Subject: [edbrowse-dev] getBoundingClientRect
Date: Wed, 6 Jun 2018 01:52:10 -0700 (PDT)	[thread overview]
Message-ID: <alpine.LRH.2.03.1806060148010.6781@carhart.net> (raw)
In-Reply-To: <alpine.LRH.2.03.1806060041430.6781@carhart.net>



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


      reply	other threads:[~2018-06-06  8:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-06  4:55 [edbrowse-dev] More NASA Karl Dahlke
2018-06-06  7:42 ` Kevin Carhart
2018-06-06  8:52   ` Kevin Carhart [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LRH.2.03.1806060148010.6781@carhart.net \
    --to=kevin@carhart.net \
    --cc=edbrowse-dev@lists.the-brannons.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).