From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: tooltips Date: Tue, 14 Jan 2014 18:46:12 +0100 Message-ID: References: <87fvoq61cm.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57527) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W382i-000438-2s for emacs-orgmode@gnu.org; Tue, 14 Jan 2014 12:44:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W382a-0004xI-2O for emacs-orgmode@gnu.org; Tue, 14 Jan 2014 12:44:48 -0500 Received: from mail-forward5.uio.no ([2001:700:100:10::37]:44403) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W382Z-0004rz-SI for emacs-orgmode@gnu.org; Tue, 14 Jan 2014 12:44:40 -0500 Received: from exim by mail-out5.uio.no with local-bsmtp (Exim 4.80.1) (envelope-from ) id 1W381x-0000Gr-Ss for emacs-orgmode@gnu.org; Tue, 14 Jan 2014 18:44:01 +0100 In-reply-to: <87fvoq61cm.fsf@bzg.ath.cx> 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: Bastien Cc: Rustom Mody , emacs-orgmode Bastien writes: > Instead of changing the current HTML, I'd rather go and find a > solution where some javascript can display the tooltip. E.g.: ----------- $(document).ready(fntooltips); function fntooltips() { $(".footnum").each( function () { $("[href='#" + this.id + "']") .attr("title", this.parentNode.parentNode.textContent); } ) } ------------- Tested with JQuery 1.9.1 and a recent Org. Yours, Christian