emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christian Moe <mail@christianmoe.com>
To: Bastien <bzg@gnu.org>
Cc: Rustom Mody <rustompmody@gmail.com>,
	emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: tooltips
Date: Tue, 14 Jan 2014 18:46:12 +0100	[thread overview]
Message-ID: <m2txd6e9sr.fsf@uio.no> (raw)
In-Reply-To: <87fvoq61cm.fsf@bzg.ath.cx>


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

  reply	other threads:[~2014-01-14 17:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-14  7:08 tooltips Rustom Mody
2014-01-14 15:15 ` tooltips Bastien
2014-01-14 17:46   ` Christian Moe [this message]
2014-01-14 18:40     ` tooltips Rustom Mody
2014-01-14 21:30       ` tooltips Christian Moe
2014-01-15 16:56         ` tooltips Bastien
2014-01-15 18:25           ` tooltips Rustom Mody
2014-01-15 22:14             ` tooltips Christian Moe
2014-01-16  1:27               ` tooltips Rustom Mody
2014-01-14 19:03     ` tooltips 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=m2txd6e9sr.fsf@uio.no \
    --to=mail@christianmoe.com \
    --cc=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=rustompmody@gmail.com \
    /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).