From 537565bc926eff6c90d3184512b486be8b9aa30d Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Tue, 15 May 2012 09:31:23 +0000 Subject: better doc self test --- _nav/index.php | 9 ++++++--- _nav/js/source.js | 4 ++++ 2 files changed, 10 insertions(+), 3 deletions(-) (limited to '_nav') diff --git a/_nav/index.php b/_nav/index.php index c4064d458..d5867d713 100644 --- a/_nav/index.php +++ b/_nav/index.php @@ -1,17 +1,20 @@ + mognase doc - + + -

(this document uses the Javascript snippet) \ No newline at end of file diff --git a/_nav/js/source.js b/_nav/js/source.js index 484c33e57..d3695a357 100644 --- a/_nav/js/source.js +++ b/_nav/js/source.js @@ -11,6 +11,10 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 $("head").append(''); + // TODO test is h1#mgnavt exists; + // TODO if not, inject existing first h1 value into a new h1#mgnavt element; + // TODO and remove old h1. + var params = { b: $("body").attr("class"), u: document.location.href, -- cgit v1.2.1