[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] tooltips
From: |
Christian Moe |
Subject: |
Re: [O] tooltips |
Date: |
Wed, 15 Jan 2014 23:14:02 +0100 |
User-agent: |
mu4e 0.9.9.5-dev6; emacs 24.3.1 |
Rustom, Bastien,
Bastien writes:
>> I made a micro screencast for demoing it:
>> http://bzg.fr/u/org-footnotes-jquery.ogv
Thanks, Bastien, that's cool!
Rustom Mody writes:
> Thanks Christian for that.
> Just one small thing -- Can we remove the number?
Sure, try this new version of fntooltip.js:
----------------------
$(document).ready(fntooltips);
function fntooltips() {
$(".footnum").each(
function () {
$("[href='#" + this.id + "']")
.attr("title",
$(this).closest("div").find("p").text().trim());
}
)
}
----------------------
The only line that's changed is the one that now goes
$(this).closest("div").find("p").text().trim());
Yours,
Christian
- [O] tooltips, Rustom Mody, 2014/01/14
- Re: [O] tooltips, Bastien, 2014/01/14
- Re: [O] tooltips, Christian Moe, 2014/01/14
- Re: [O] tooltips, Rustom Mody, 2014/01/14
- Re: [O] tooltips, Christian Moe, 2014/01/14
- Re: [O] tooltips, Bastien, 2014/01/15
- Re: [O] tooltips, Rustom Mody, 2014/01/15
- Re: [O] tooltips,
Christian Moe <=
- Re: [O] tooltips, Rustom Mody, 2014/01/15
- Re: [O] tooltips, Bastien, 2014/01/14