From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rustom Mody Subject: Re: tooltips Date: Wed, 15 Jan 2014 00:10:42 +0530 Message-ID: References: <87fvoq61cm.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W38vB-0007UB-1q for emacs-orgmode@gnu.org; Tue, 14 Jan 2014 13:41:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W38vA-00065p-1M for emacs-orgmode@gnu.org; Tue, 14 Jan 2014 13:41:04 -0500 In-Reply-To: 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: Christian Moe Cc: Bastien , emacs-orgmode On Tue, Jan 14, 2014 at 11:16 PM, Christian Moe wrote: > > 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 May I have the setup? ie where do I put that JS, the invocation/import or whatever of JQuery etc [I really dont know any JS!]