emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Peter Salazar <cycleofsong@gmail.com>
To: org-mode <emacs-orgmode@gnu.org>
Subject: make footnotes appear as tooltips on HTML export?
Date: Sat, 16 Mar 2013 12:56:54 -0400	[thread overview]
Message-ID: <CAE+_6TwC2c1+uw3ccapfPwGBdTDnjX0NFBGJfOVnwjUW5WPZ7g@mail.gmail.com> (raw)

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

Hey everyone,

I had a thought. So, I export most of my org files to both HTML and PDF. I
was thinking that for HTML, the behavior of putting footnotes at the end of
the document, as you would for a printed page, is a bit outdated. In a
printed document, you put the footnotes at the end because you have to. But
with HTML, it doesn't really make sense to make the user click through to
the bottom of the document in order to discover the footnote content. It
would be more in keeping with the spirit of hypertext to create a tooltip
that the user could hover over and view the content instantly inline.

This is trivial to implement using CSS3:
http://www.webdesignerdepot.com/2012/11/how-to-create-a-simple-css3-tooltip/

and only slightly more complicated using jQuery:
http://www.chillwebdesigns.co.uk/chilltip

I was thinking about trying to create a way for org-mode to automatically
create tooltips from footnotes, but I'm a beginner, so before I take a
crack at it, I thought I would ask: has anyone already done this?

Or, does anyone have ideas about how to easily automate this behavior using
org export to HTML?

Best,
Peter

[-- Attachment #2: Type: text/html, Size: 1476 bytes --]

             reply	other threads:[~2013-03-16 16:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-16 16:56 Peter Salazar [this message]
2013-03-16 18:26 ` make footnotes appear as tooltips on HTML export? Bastien

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=CAE+_6TwC2c1+uw3ccapfPwGBdTDnjX0NFBGJfOVnwjUW5WPZ7g@mail.gmail.com \
    --to=cycleofsong@gmail.com \
    --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).