Added hide/show buttons at the beggining of section 3.1 and 3.2
authordgarijo
Thu, 24 Nov 2011 22:06:13 +0100
changeset 1031 c1cb41a20403
parent 1030 1e297455297d
child 1033 5328e2c13c56
Added hide/show buttons at the beggining of section 3.1 and 3.2
ontology/ProvenanceFormalModel.html
--- a/ontology/ProvenanceFormalModel.html	Thu Nov 24 15:39:46 2011 -0500
+++ b/ontology/ProvenanceFormalModel.html	Thu Nov 24 22:06:13 2011 +0100
@@ -211,6 +211,13 @@
 	  </p>
       <section> 
 	  	<h3>Classes</h3>
+			<div class="buttonpanel"> 
+			<form action=""><p> 
+			<input id="hide-examples1" onclick="set_display_by_class('div','anexample','none'); set_display_by_id('hide-examples1','none'); set_display_by_id('show-examples1','');" type="button" value="Hide Examples" /> 
+			<input id="show-examples1" onclick="set_display_by_class('div','anexample',''); set_display_by_id('hide-examples1',''); set_display_by_id('show-examples1','none');" style="display: none" type="button" value="Show Examples" /> 
+			</p> 
+			</form> 
+			</div>	
 	      <p>The PROV ontology consists of classes that can be organized into a hierarchical structure using the <code>rdfs:subClassOf</code> property.
 		  	
 		  <img src="diagram-history/khalidDiagrams/Ontology_hierarchy.png"
@@ -531,6 +538,13 @@
 
 	  <section id="object-properties"> 
 	  	<h3>Object Properties</h3>
+			<div class="buttonpanel"> 
+			<form action=""><p> 
+			<input id="hide-examples2" onclick="set_display_by_class('div','anexample','none'); set_display_by_id('hide-examples2','none'); set_display_by_id('show-examples2','');" type="button" value="Hide Examples" /> 
+			<input id="show-examples2" onclick="set_display_by_class('div','anexample',''); set_display_by_id('hide-examples2',''); set_display_by_id('show-examples2','none');" style="display: none" type="button" value="Show Examples" /> 
+			</p> 
+			</form> 
+			</div>
 	    <p>The PROV ontology has the following object properties. </p>
  	    <p><i>Note: Names of properties starts with a verb in lower case followed by verb(s) starting with upper case </i></p>