emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: mail@christianmoe.com
Cc: emacs-orgmode@gnu.org
Subject: Re: [html-export question] location with JS.
Date: Wed, 17 Dec 2014 12:19:18 +0100	[thread overview]
Message-ID: <87y4q6v809.fsf@gmx.us> (raw)
In-Reply-To: <m2sige7hio.fsf@christianmoe.com> (Christian Moe's message of "Wed, 17 Dec 2014 10:27:43 +0100")

[-- Attachment #1: Type: text/plain, Size: 940 bytes --]

Hi Christian,

Christian Moe <mail@christianmoe.com> writes:

>> The issue is
>> that the javascript that I use absolute position in pixels, and the
>> 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
> developer.)

As you can /see/, me neither...

Thanks,
Rasmus

-- 
Together we will make the possible totalllly impossible!

[-- Attachment #2: test.org --]
[-- Type: application/vnd.lotus-organizer, Size: 3381 bytes --]

  reply	other threads:[~2014-12-17 11:19 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 [this message]
2014-12-17 13:11     ` Christian Moe
2014-12-17 15:01       ` Rasmus
2014-12-17 10:29 ` Paul Rudin
2014-12-17 11:38   ` Rasmus

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=87y4q6v809.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@christianmoe.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).