emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Peter Salazar <cycleofsong@gmail.com>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: make footnotes appear as tooltips on HTML export?
Date: Sat, 16 Mar 2013 19:26:54 +0100	[thread overview]
Message-ID: <874ngbtd3l.fsf@bzg.ath.cx> (raw)
In-Reply-To: <CAE+_6TwC2c1+uw3ccapfPwGBdTDnjX0NFBGJfOVnwjUW5WPZ7g@mail.gmail.com> (Peter Salazar's message of "Sat, 16 Mar 2013 12:56:54 -0400")

Hi Peter,

Peter Salazar <cycleofsong@gmail.com> writes:

> 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/

Trivial but a bit heavy -- at least this is not an option for the
default HTML exporter, which tries to stick to the Old Good Way®.

> 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? 

I don't know, but I think this would make a great entry for the
Org hacks page!  Good luck,

-- 
 Bastien

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

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

  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=874ngbtd3l.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=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).