paq
authorPaul Groth <p.t.groth@vu.nl>
Wed, 13 Jun 2012 15:52:23 -0500
changeset 3318 8980cb704a5f
parent 3317 3d4e2fdc5da1 (current diff)
parent 3316 90c12ad0f90f (diff)
child 3319 a7b630766019
paq
--- a/model/prov-dm.html	Wed Jun 13 15:51:38 2012 -0500
+++ b/model/prov-dm.html	Wed Jun 13 15:52:23 2012 -0500
@@ -91,6 +91,19 @@
         });
       }
 
+      function updateDfn() {
+        var count=1;
+        $('dfn').each(function(index) {
+
+          var myid=$(this).addClass('internalDFN').attr('id');
+
+          $(this).after($('<sup>').append($('<a>').attr('href','#'+myid).append("&#9674;")));  //&#9674;//&#9830;
+          
+              console.log( "dfn for " + myid + " ");
+
+        });
+      }
+
 
       function updateExamplesRefs() {
         $('.anexample-ref').each(function(index) {
@@ -136,6 +149,7 @@
         updateFigCaptions();
         updateExamples();
         updateExamplesRefs();
+
       });
 
     </script>
@@ -310,7 +324,7 @@
           // Add extraReferences to bibliography database
           preProcess: [addExtraReferences],
 
-          postProcess: [updateSectionRefs],
+          postProcess: [updateSectionRefs, updateDfn],
       };
     </script> 
   </head>