From: Christian Moe <email@example.com>
To: Rasmus <firstname.lastname@example.org>
Subject: Re: [html-export question] location with JS.
Date: Wed, 17 Dec 2014 14:11:22 +0100 [thread overview]
Message-ID: <email@example.com> (raw)
It still works fine for me in Firefox with the added title and text,
zooming in and out (except when the window becomes seriously too small,
and the year jumps up on top of the other one, but that, I think, has to
A different problem is that the script only picks out every other
bol-year DIV, as you will soon see if you add more entries with boxes on
the left. The reason is that getElementsByClassName returns a live
HTMLCollection that updates according to the document order of the
elements even as the script changes that order. To loop through them,
var e = elements; // instead of var e = elements[i];
> Hi Christian,
> Christian Moe <firstname.lastname@example.org> writes:
>>> The issue is
>>> browser doesn't update the location when zooming...
>>> Any ideas on how to solve this?
>> Which browser? It seems to work well with zooming in Firefox and Safari,
>> so I'd say you're doing something right and the browser's doing
>> something wrong.
> For a moment I hoped it was just a bug in the larger stylesheet(!).
> Unfortunately, I think the nice behavior you saw was 'cause my example was
> too minimal... Try the attached file which has a title. I definitely see
> it here, zooming in and out, especially when the window ain't to large...
> BTW: I tested using Firefox and Gnome Web.
>> (As you can guess from my attitude, though, I'm not a professional web
> As you can /see/, me neither...
next prev parent reply other threads:[~2014-12-17 13:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-16 17:37 [html-export question] location with JS Rasmus
2014-12-17 9:27 ` Christian Moe
2014-12-17 11:19 ` Rasmus
2014-12-17 13:11 ` Christian Moe [this message]
2014-12-17 15:01 ` Rasmus
2014-12-17 10:29 ` Paul Rudin
2014-12-17 11:38 ` Rasmus
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:
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* 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.
Code repositories for project(s) associated with this public inbox
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 read-only IMAP folder(s) and NNTP newsgroup(s).