--- a/model/prov-dm.html Fri Jul 13 14:55:11 2012 +0100
+++ b/model/prov-dm.html Fri Jul 13 15:04:21 2012 +0100
@@ -182,6 +182,14 @@
$(this).removeAttr('data-count');
});
+ $('.caption').each(function(index) {
+ $(this).removeAttr('data-count');
+ });
+
+ $('.figcaption').each(function(index) {
+ $(this).removeAttr('data-count');
+ });
+
}
--- a/model/releases/WD-prov-dm-20120724/Overview.html Fri Jul 13 14:55:11 2012 +0100
+++ b/model/releases/WD-prov-dm-20120724/Overview.html Fri Jul 13 15:04:21 2012 +0100
@@ -1,4 +1,3 @@
-
<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN' 'http://www.w3.org/TR/html4/loose.dtd'>
<html lang="en" dir="ltr">
<head>
@@ -46,7 +45,60 @@
- <script src="http://www.w3.org/2007/OWL/toggles.js"></script>
+ <script>
+/*
+ Written by Jonathan Snook, http://www.snook.ca/jonathan
+ Add-ons by Robert Nyman, http://www.robertnyman.com
+ Author says "The credit comment is all it takes, no license. Go crazy with it!:-)"
+ From http://www.robertnyman.com/2005/11/07/the-ultimate-getelementsbyclassname/
+*/
+
+function getElementsByClassName(oElm, strTagName, oClassNames){
+ var arrElements = (! (! (strTagName == "*") || ! (oElm.all)))? oElm.all : oElm.getElementsByTagName(strTagName);
+ var arrReturnElements = new Array();
+ var arrRegExpClassNames = new Array();
+ if(typeof oClassNames == "object"){
+ for(var i=0; !(i>=oClassNames.length); i++){ /*>*/
+ arrRegExpClassNames.push(new RegExp("(^|\s)" + oClassNames[i].replace(/\-/g, "\-") + "(\s|$)"));
+ }
+ }
+ else{
+ arrRegExpClassNames.push(new RegExp("(^|\s)" + oClassNames.replace(/\-/g, "\-") + "(\s|$)"));
+ }
+ var oElement;
+ var bMatchesAll;
+ for(var j=0; !(j>=arrElements.length); j++){ /*>*/
+ oElement = arrElements[j];
+ bMatchesAll = true;
+ for(var k=0; !(k>=arrRegExpClassNames.length); k++){ /*>*/
+ if(!arrRegExpClassNames[k].test(oElement.className)){
+ bMatchesAll = false;
+ break;
+ }
+ }
+ if(bMatchesAll){
+ arrReturnElements.push(oElement);
+ }
+ }
+ return (arrReturnElements)
+}
+
+function set_display_by_class(el, cls, newValue) {
+ var e = getElementsByClassName(document, el, cls);
+ if (e != null) {
+ for (var i=0; !(i>=e.length); i++) {
+ e[i].style.display = newValue;
+ }
+ }
+}
+
+function set_display_by_id(id, newValue) {
+ var e = document.getElementById(id);
+ if (e != null) {
+ e.style.display = newValue;
+ }
+}
+</script>
@@ -797,7 +849,7 @@
<div style="text-align: center; ">
<span class="figure" id="prov-core-structures-top" style="max-width: 70%; ">
<img src="uml/essentials.png" alt="PROV Core Structures" style="max-width: 70%; "><br>
-<span class="figcaption" data-count="1" id="prov-core-structures">Figure 1<sup><a class="internalDFN" href="#prov-core-structures"><span class="diamond"> ◊:</span></a></sup> PROV Core Structures</span>
+<span class="figcaption" id="prov-core-structures">Figure 1<sup><a class="internalDFN" href="#prov-core-structures"><span class="diamond"> ◊:</span></a></sup> PROV Core Structures</span>
</span>
</div>
@@ -1374,7 +1426,7 @@
<div style="text-align: center; ">
<span class="figure" id="prov-a-document1-top">
<img src="images/dm/w3c-publication1.png" alt="Provenance of a Document (1)" style="max-width: 98%; "><br>
-<span class="figcaption" data-count="2" id="prov-a-document1">Figure 2<sup><a class="internalDFN" href="#prov-a-document1"><span class="diamond"> ◊:</span></a></sup> Provenance of a Document (1)</span> <!-- Figure 2 -->
+<span class="figcaption" id="prov-a-document1">Figure 2<sup><a class="internalDFN" href="#prov-a-document1"><span class="diamond"> ◊:</span></a></sup> Provenance of a Document (1)</span> <!-- Figure 2 -->
</span>
</div>
@@ -1460,7 +1512,7 @@
</p><div style="text-align: center;">
<span class="figure" id="prov-a-document2-top">
<img src="images/dm/w3c-publication2.png" alt="Provenance of a Document (2)" style="max-width: 90%; "><br>
-<span class="figcaption" data-count="3" id="prov-a-document2">Figure 3<sup><a class="internalDFN" href="#prov-a-document2"><span class="diamond"> ◊:</span></a></sup> Provenance of a Document (2)</span> <!-- figure 3 -->
+<span class="figcaption" id="prov-a-document2">Figure 3<sup><a class="internalDFN" href="#prov-a-document2"><span class="diamond"> ◊:</span></a></sup> Provenance of a Document (2)</span> <!-- figure 3 -->
</span>
</div>
@@ -1591,7 +1643,7 @@
<area title="bundles" href="#component4" coords="268,67,402,201" alt="bundles" shape="rect">
</map>
<br>
-<span class="figcaption" data-count="4" id="prov-dm-components">Figure 4<sup><a class="internalDFN" href="#prov-dm-components"><span class="diamond"> ◊:</span></a></sup> PROV-DM Components</span> <!-- Figure 4 -->
+<span class="figcaption" id="prov-dm-components">Figure 4<sup><a class="internalDFN" href="#prov-dm-components"><span class="diamond"> ◊:</span></a></sup> PROV-DM Components</span> <!-- Figure 4 -->
</span>
</div>
@@ -1692,7 +1744,7 @@
<div style="text-align: center;">
<span class="figure" style="max-width: 95%; ">
<img src="uml/component1.png" alt="entities and activities"><br>
-<span class="figcaption" data-count="5" id="figure-component1">Figure 5<sup><a class="internalDFN" href="#figure-component1"><span class="diamond"> ◊:</span></a></sup> Entities and Activities Component Overview</span> <!-- Figure 5 -->
+<span class="figcaption" id="figure-component1">Figure 5<sup><a class="internalDFN" href="#figure-component1"><span class="diamond"> ◊:</span></a></sup> Entities and Activities Component Overview</span> <!-- Figure 5 -->
</span>
</div>
@@ -2116,7 +2168,7 @@
<div style="text-align: center;">
<span class="figure" style="max-width: 95%; ">
<img src="uml/component2.png" alt="derivation"><br>
-<span class="figcaption" data-count="6" id="figure-component2">Figure 6<sup><a class="internalDFN" href="#figure-component2"><span class="diamond"> ◊:</span></a></sup> Derivation Component Overview</span> <!-- Figure 6 -->
+<span class="figcaption" id="figure-component2">Figure 6<sup><a class="internalDFN" href="#figure-component2"><span class="diamond"> ◊:</span></a></sup> Derivation Component Overview</span> <!-- Figure 6 -->
</span>
</div>
@@ -2321,7 +2373,7 @@
<div style="text-align: center;">
<span class="figure" style="max-width: 95%; ">
<img src="uml/component3.png" alt="agents and responsibilities"><br>
-<span class="figcaption" data-count="7" id="figure-component3">Figure 7<sup><a class="internalDFN" href="#figure-component3"><span class="diamond"> ◊:</span></a></sup> Agents and Responsibility Overview</span> <!-- Figure 7 -->
+<span class="figcaption" id="figure-component3">Figure 7<sup><a class="internalDFN" href="#figure-component3"><span class="diamond"> ◊:</span></a></sup> Agents and Responsibility Overview</span> <!-- Figure 7 -->
</span>
</div>
@@ -2331,7 +2383,7 @@
<div style="text-align: center;">
<span class="figure" style="max-width: 95%; ">
<img src="uml/Component3b.png" alt="Influence"><br>
-<span class="figcaption" data-count="8" id="figure-component3b">Figure 8<sup><a class="internalDFN" href="#figure-component3b"><span class="diamond"> ◊:</span></a></sup> Influence</span> <!-- Figure 8 -->
+<span class="figcaption" id="figure-component3b">Figure 8<sup><a class="internalDFN" href="#figure-component3b"><span class="diamond"> ◊:</span></a></sup> Influence</span> <!-- Figure 8 -->
</span>
</div>
@@ -2579,7 +2631,7 @@
<span class="figure" style="max-width: 95%; ">
<img src="uml/component4.png" alt="bundles"><br>
-<span class="figcaption" data-count="9" id="figure-component4">Figure 9<sup><a class="internalDFN" href="#figure-component4"><span class="diamond"> ◊:</span></a></sup> Figure 9: Bundle Component Overview</span>
+<span class="figcaption" id="figure-component4">Figure 9<sup><a class="internalDFN" href="#figure-component4"><span class="diamond"> ◊:</span></a></sup> Figure 9: Bundle Component Overview</span>
</span>
</div>
@@ -2867,7 +2919,7 @@
<div style="text-align: center;">
<span class="figure" style="max-width: 95%; ">
<img src="uml/component5.png" alt="alternates"><br>
-<span class="figcaption" data-count="10" id="figure-component5">Figure 10<sup><a class="internalDFN" href="#figure-component5"><span class="diamond"> ◊:</span></a></sup> Figure 10: Alternates Component Overview</span>
+<span class="figcaption" id="figure-component5">Figure 10<sup><a class="internalDFN" href="#figure-component5"><span class="diamond"> ◊:</span></a></sup> Figure 10: Alternates Component Overview</span>
</span>
</div>
@@ -3213,7 +3265,7 @@
<div style="text-align: center;">
<span class="figure" style="max-width: 95%; ">
<img src="uml/component6.png" alt="collection"><br>
-<span class="figcaption" data-count="11" id="figure-component6">Figure 11<sup><a class="internalDFN" href="#figure-component6"><span class="diamond"> ◊:</span></a></sup> Figure 11: Collections Component Overview</span>
+<span class="figcaption" id="figure-component6">Figure 11<sup><a class="internalDFN" href="#figure-component6"><span class="diamond"> ◊:</span></a></sup> Figure 11: Collections Component Overview</span>
</span>
</div>