From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: make footnotes appear as tooltips on HTML export? Date: Sat, 16 Mar 2013 19:26:54 +0100 Message-ID: <874ngbtd3l.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48387) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGvop-0006Ez-5A for emacs-orgmode@gnu.org; Sat, 16 Mar 2013 14:27:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UGvon-0002eU-Ox for emacs-orgmode@gnu.org; Sat, 16 Mar 2013 14:26:59 -0400 Received: from mail-wg0-x22a.google.com ([2a00:1450:400c:c00::22a]:64471) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGvon-0002eP-Iu for emacs-orgmode@gnu.org; Sat, 16 Mar 2013 14:26:57 -0400 Received: by mail-wg0-f42.google.com with SMTP id 12so1482812wgh.3 for ; Sat, 16 Mar 2013 11:26:56 -0700 (PDT) In-Reply-To: (Peter Salazar's message of "Sat, 16 Mar 2013 12:56:54 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Peter Salazar Cc: org-mode Hi Peter, Peter Salazar 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