emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: [html-export question] location with JS.
Date: Tue, 16 Dec 2014 18:37:40 +0100	[thread overview]
Message-ID: <87wq5rwl5n.fsf@gmx.us> (raw)

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

Hi,

For my CV I'm trying to place a box (div, whatever) at the left edge of
the content-div.  My org-file looks like

- year0–year1 :: FooCorp
  - note1
  - note2 {{{BOL(year½)}}}

And I want the ouput to look like:

year0–year1    FooCorp
                - note1
year½           - note2

In the attached example I have the desired output for LaTeX, and the
output for html is also fine *as long as you don't zoom*.  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?

Thanks,
Rasmus

-- 
Together we will make the possible totalllly impossible!

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

             reply	other threads:[~2014-12-16 17:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-16 17:37 Rasmus [this message]
2014-12-17  9:27 ` [html-export question] location with JS Christian Moe
2014-12-17 11:19   ` Rasmus
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=87wq5rwl5n.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    /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).