You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@clerezza.apache.org by it...@apache.org on 2009/12/23 11:45:51 UTC

svn commit: r893467 - in /incubator/clerezza/issues/CLEREZZA-47: org.apache.clerezza.app.webguiexamples/src/main/resources/org/apache/clerezza/app/webguiexamples/staticweb/ org.apache.clerezza.web.resources.scripts/src/main/resources/META-INF/

Author: ito
Date: Wed Dec 23 10:45:51 2009
New Revision: 893467

URL: http://svn.apache.org/viewvc?rev=893467&view=rev
Log:
documentation of overlay.js updated

Modified:
    incubator/clerezza/issues/CLEREZZA-47/org.apache.clerezza.app.webguiexamples/src/main/resources/org/apache/clerezza/app/webguiexamples/staticweb/overlay.xhtml
    incubator/clerezza/issues/CLEREZZA-47/org.apache.clerezza.web.resources.scripts/src/main/resources/META-INF/documentation.nt

Modified: incubator/clerezza/issues/CLEREZZA-47/org.apache.clerezza.app.webguiexamples/src/main/resources/org/apache/clerezza/app/webguiexamples/staticweb/overlay.xhtml
URL: http://svn.apache.org/viewvc/incubator/clerezza/issues/CLEREZZA-47/org.apache.clerezza.app.webguiexamples/src/main/resources/org/apache/clerezza/app/webguiexamples/staticweb/overlay.xhtml?rev=893467&r1=893466&r2=893467&view=diff
==============================================================================
--- incubator/clerezza/issues/CLEREZZA-47/org.apache.clerezza.app.webguiexamples/src/main/resources/org/apache/clerezza/app/webguiexamples/staticweb/overlay.xhtml (original)
+++ incubator/clerezza/issues/CLEREZZA-47/org.apache.clerezza.app.webguiexamples/src/main/resources/org/apache/clerezza/app/webguiexamples/staticweb/overlay.xhtml Wed Dec 23 10:45:51 2009
@@ -39,8 +39,11 @@
 		Furthermore the Overlay has a method close to destroy the overlay.
 		<br/>
 		<br/>
+		<div style="display: none">
+			<div id="myOverlayBody">body</div>
+		</div>
 		<div>
-			<a href="#" onclick="Overlay.show('&lt;div&gt;body&lt;/div&gt;', 'header', '20em', '10em');">click here to add the overlay.</a> <br/>
+			<a href="#" onclick="Overlay.show($('#myOverlayBody').html(), 'header', '20em', '10em');">click here to add the overlay.</a> <br/>
 		</div>
 		<br/>
 		<br/>
@@ -63,8 +66,11 @@
 		<pre>
 ...
 	&lt;body&gt;
+	   &lt;div style="display: none">
+			&lt;div id="myOverlayBody">body&lt;/div>
+		&lt;/div>
 	   &lt;div&gt;
-		 &lt;a href="#" onclick="Overlay.show('&amp;lt;div&amp;gt;body&amp;lt;/div&amp;gt;', 'header', '20em', '10em');"&gt;click here to add the overlay &lt;/a&gt; &lt;br/&gt;
+		 &lt;a href="#" onclick="Overlay.show($('#myOverlayBody').html(), 'header', '20em', '10em');"&gt;click here to add the overlay &lt;/a&gt; &lt;br/&gt;
 	   &lt;/div&gt;
 	&lt;/body&gt;
 ...

Modified: incubator/clerezza/issues/CLEREZZA-47/org.apache.clerezza.web.resources.scripts/src/main/resources/META-INF/documentation.nt
URL: http://svn.apache.org/viewvc/incubator/clerezza/issues/CLEREZZA-47/org.apache.clerezza.web.resources.scripts/src/main/resources/META-INF/documentation.nt?rev=893467&r1=893466&r2=893467&view=diff
==============================================================================
--- incubator/clerezza/issues/CLEREZZA-47/org.apache.clerezza.web.resources.scripts/src/main/resources/META-INF/documentation.nt (original)
+++ incubator/clerezza/issues/CLEREZZA-47/org.apache.clerezza.web.resources.scripts/src/main/resources/META-INF/documentation.nt Wed Dec 23 10:45:51 2009
@@ -1,68 +1,72 @@
+_:A637513a0X3aX125bb056a08X3aXX2dX7e27 <http://discobits.org/ontology#holds> <bundle:///web-resources-scripts-content-el/1-content> .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e27 <http://discobits.org/ontology#pos> "1" .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e27 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#Entry> .
 <bundle:///web-resources-scripts-title> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#XHTMLInfoDiscoBit> .
-<bundle:///web-resources-scripts-title> <http://discobits.org/ontology#infoBit> "Javascript Library"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
+<bundle:///web-resources-scripts-title> <http://discobits.org/ontology#infoBit> "Scripts"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e26 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#Entry> .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e26 <http://discobits.org/ontology#holds> <bundle:///web-resources-scripts-content-el/2-title> .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e26 <http://discobits.org/ontology#pos> "0" .
 <bundle:///web-resources-scripts-content-el/3-title> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#XHTMLInfoDiscoBit> .
 <bundle:///web-resources-scripts-content-el/3-title> <http://discobits.org/ontology#infoBit> "Overlay"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c8e <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#Entry> .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c8e <http://discobits.org/ontology#pos> "3" .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c8e <http://discobits.org/ontology#holds> <bundle:///web-resources-scripts-content-el/3> .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c8d <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#Entry> .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c8d <http://discobits.org/ontology#holds> <bundle:///web-resources-scripts-content-el/2-title> .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c8d <http://discobits.org/ontology#pos> "0" .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e25 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#Entry> .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e25 <http://discobits.org/ontology#pos> "1" .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e25 <http://discobits.org/ontology#holds> <bundle:///web-resources-scripts-content-el/2-content> .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e24 <http://discobits.org/ontology#holds> <bundle:///web-resources-scripts-content> .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e24 <http://discobits.org/ontology#pos> "1" .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e24 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#Entry> .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e23 <http://discobits.org/ontology#holds> <bundle:///web-resources-scripts-title> .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e23 <http://discobits.org/ontology#pos> "0" .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e23 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#Entry> .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e22 <http://discobits.org/ontology#holds> <bundle:///web-resources-scripts-content-el/0-title> .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e22 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#Entry> .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e22 <http://discobits.org/ontology#pos> "0" .
+<bundle:///web-resources-scripts-content> <http://discobits.org/ontology#contains> _:A637513a0X3aX125bb056a08X3aXX2dX7e21 .
 <bundle:///web-resources-scripts-content> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#OrderedContent> .
-<bundle:///web-resources-scripts-content> <http://discobits.org/ontology#contains> _:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c8c .
-<bundle:///web-resources-scripts-content> <http://discobits.org/ontology#contains> _:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c8b .
-<bundle:///web-resources-scripts-content> <http://discobits.org/ontology#contains> _:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c8a .
-<bundle:///web-resources-scripts-content> <http://discobits.org/ontology#contains> _:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c8e .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c89 <http://discobits.org/ontology#holds> <bundle:///web-resources-scripts-content-el/2-content> .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c89 <http://discobits.org/ontology#pos> "1" .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c89 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#Entry> .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c8a <http://discobits.org/ontology#pos> "2" .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c8a <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#Entry> .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c8a <http://discobits.org/ontology#holds> <bundle:///web-resources-scripts-content-el/2> .
-<bundle:///web-resources-scripts-content-el/1-content> <http://discobits.org/ontology#infoBit> "<code xmlns=\"http://www.w3.org/1999/xhtml\">StatusMessage</code> allows to add/remove status messages (e.g. saving) to an overlay (absolut positioned <code xmlns=\"http://www.w3.org/1999/xhtml\">div</code>) which follows the mouse pointer. During a ajax request a status message can be added and after the response the message can be removed. Each message is added to an array.\n<br xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<br xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<strong xmlns=\"http://www.w3.org/1999/xhtml\">Example</strong>:\n\n<br xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"tx-blockcode\">\n&lt;html xmlns=\"http://www.w3.org/1999/xhtml\"&gt;\n    &lt;head&gt;\n        &lt;meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/&gt;\n                &lt;link type=\"text/css\" href=\"/style/style.css\
 " rel=\"stylesheet\" /&gt;\n\t\t&lt;script src=\"/jquery/jquery-1.3.2.min.js\" type=\"text/javascript\" /&gt;\n\t\t&lt;script src=\"/scripts/status-message.js\" type=\"text/javascript\" /&gt;\n\n        &lt;title&gt;Simple&lt;/title&gt;\n    &lt;/head&gt;\n    &lt;body&gt;\n       &lt;div&gt;\n         &lt;a href=\"#\" onclick=\"statusMessage.add('id-of-message', 'text to display');\"&gt;click here to add the message &lt;/a&gt; &lt;br/&gt;\n         &lt;a href=\"#\" onclick=\"statusMessage.remove('id-of-message');\"&gt;click here to remove the message &lt;/a&gt;\n       &lt;/div&gt;\n    &lt;/body&gt;\n&lt;/html&gt;\n<br></br>\n</div>"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
+<bundle:///web-resources-scripts-content> <http://discobits.org/ontology#contains> _:A637513a0X3aX125bb056a08X3aXX2dX7e20 .
+<bundle:///web-resources-scripts-content> <http://discobits.org/ontology#contains> _:A637513a0X3aX125bb056a08X3aXX2dX7e1f .
 <bundle:///web-resources-scripts-content-el/1-content> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#XHTMLInfoDiscoBit> .
+<bundle:///web-resources-scripts-content-el/1-content> <http://discobits.org/ontology#infoBit> "<code xmlns=\"http://www.w3.org/1999/xhtml\">StatusMessage</code> allows to add/remove status messages (e.g. saving) to an overlay (absolut positioned <code xmlns=\"http://www.w3.org/1999/xhtml\">div</code>) which follows the mouse pointer. During a ajax request a status message can be added and after the response the message can be removed. Each message is added to an array.\n<br xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<br xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<strong xmlns=\"http://www.w3.org/1999/xhtml\">Example</strong>:\n\n<br xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"tx-blockcode\">\n&lt;html xmlns=\"http://www.w3.org/1999/xhtml\"&gt;\n    &lt;head&gt;\n        &lt;meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/&gt;\n                &lt;link type=\"text/css\" href=\"/style/style.css\
 " rel=\"stylesheet\" /&gt;\n\t\t&lt;script src=\"/jquery/jquery-1.3.2.min.js\" type=\"text/javascript\" /&gt;\n\t\t&lt;script src=\"/scripts/status-message.js\" type=\"text/javascript\" /&gt;\n\n        &lt;title&gt;Simple&lt;/title&gt;\n    &lt;/head&gt;\n    &lt;body&gt;\n       &lt;div&gt;\n         &lt;a href=\"#\" onclick=\"statusMessage.add('id-of-message', 'text to display');\"&gt;click here to add the message &lt;/a&gt; &lt;br/&gt;\n         &lt;a href=\"#\" onclick=\"statusMessage.remove('id-of-message');\"&gt;click here to remove the message &lt;/a&gt;\n       &lt;/div&gt;\n    &lt;/body&gt;\n&lt;/html&gt;\n<br></br>\n</div>"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
+<bundle:///web-resources-scripts-content-el/3> <http://discobits.org/ontology#contains> _:A637513a0X3aX125bb056a08X3aXX2dX7e1e .
 <bundle:///web-resources-scripts-content-el/3> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#TitledContent> .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c88 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#Entry> .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c88 <http://discobits.org/ontology#pos> "0" .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c88 <http://discobits.org/ontology#holds> <bundle:///web-resources-scripts-content-el/1-title> .
 <bundle:///web-resources-scripts-content-el/0-content> <http://discobits.org/ontology#infoBit> "The <code xmlns=\"http://www.w3.org/1999/xhtml\">ModificationStatus</code> is a global object with a field <code xmlns=\"http://www.w3.org/1999/xhtml\">isModified</code> indicating if some saveable information has been changed on the page. \n<br xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<br xmlns=\"http://www.w3.org/1999/xhtml\"></br>\nThe isModified field can be set by client code (see example: if the user clicks on the div with the blue background color <code xmlns=\"http://www.w3.org/1999/xhtml\">isModified</code> is set to true), or alternatively elements that fire change events can be registered for being monitored using <code xmlns=\"http://www.w3.org/1999/xhtml\">watchElements</code> (the following example adds listeners to all input fields).<code xmlns=\"http://www.w3.org/1999/xhtml\">watchElements</code> takes a jquery selector string to specify the elements to be wat
 ched.<br xmlns=\"http://www.w3.org/1999/xhtml\"></br><br xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<br xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<strong xmlns=\"http://www.w3.org/1999/xhtml\">Example</strong>:\n\n<br xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"tx-blockcode\">\n&lt;html xmlns=\"http://www.w3.org/1999/xhtml\"&gt;\n    &lt;head&gt;\n        &lt;meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/&gt;\n\t\t&lt;script src=\"/jquery/jquery-1.3.2.min.js\"\n\t\t\t\ttype=\"text/javascript\" /&gt;\n\t\t&lt;script src=\"/scripts/modification-status.js\" type=\"text/javascript\" /&gt;\n\t\t&lt;script type=\"text/javascript\"&gt;\n\t\t\tModificationStatus.watchElements(\"input\");\n\t\t&lt;/script&gt;\n        &lt;title&gt;Simple&lt;/title&gt;\n    &lt;/head&gt;\n    &lt;body&gt;\n       &lt;div&gt;\n           &lt;div&gt;click to modify:\n               &lt;div style=\"background-color: blue
 \" \n                   onclick=\"this.style.backgroundColor = 'red'; ModificationStatus.isModified = true\"&gt;\n               &lt;/div&gt;\n           &lt;/div&gt;\n\t\t&lt;a href=\"http://clerezza.org/\"&gt;clerezza.org&lt;/a&gt;\n\t\t&lt;a href=\"http://clerezza.org/\"&gt;clerezza.org&lt;/a&gt;\n\t\t&lt;input type=\"text\" / &gt;\n    &lt;/body&gt;\n&lt;/html&gt;\n<br></br>\n</div>"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
 <bundle:///web-resources-scripts-content-el/0-content> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#XHTMLInfoDiscoBit> .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c87 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#Entry> .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c87 <http://discobits.org/ontology#holds> <bundle:///web-resources-scripts-content-el/0-content> .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c87 <http://discobits.org/ontology#pos> "1" .
 <bundle:///web-resources-scripts-content-el/3-content> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#XHTMLInfoDiscoBit> .
-<bundle:///web-resources-scripts-content-el/3-content> <http://discobits.org/ontology#infoBit> "The <code xmlns=\"http://www.w3.org/1999/xhtml\">Overlay</code> behave similarly to an OS window. Unlike true browser popup windows, the overlay is floating DHTML elements embedded directly within the page context. The Overlay is positioned above the flow of a page and is draggable, resizable and has a close button. The Overlay has a method show with arguments body, header, width and height, which renders the overlay. The body and the header can be html elements or text. The width (default value: 46em) and height (default value: 37em) can be defined absolutely or relatively. \n<br xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<br xmlns=\"http://www.w3.org/1999/xhtml\"></br>\nThe following css and scripts have to be included:\n<div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"tx-blockcode\">\n &lt;link href=\"/yui/container/assets/container-core.css\" rel=\"stylesheet\" type=\"te
 xt/css\"/&gt;\n &lt;script src=\"/yui/yahoo-dom-event/yahoo-dom-event.js\" type=\"text/javascript\"/&gt;\n &lt;script src=\"/yui/element/element-min.js\" type=\"text/javascript\"/&gt;\n &lt;script src=\"/yui/container/container-min.js\" type=\"text/javascript\"/&gt;\n &lt;script src=\"/yui/dragdrop/dragdrop-min.js\" type=\"text/javascript\"/&gt;\n &lt;script src=\"/yui/resize/resize-min.js\" type=\"text/javascript\"/&gt;\n &lt;script src=\"/yui/utilities/utilities.js\" type=\"text/javascript\"/&gt;\n &lt;script src=\"/scripts/overlay.js\" type=\"text/javascript\"/&gt;\n</div>\n<br xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<br xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<strong xmlns=\"http://www.w3.org/1999/xhtml\">Example</strong>:\n\n<br xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"tx-blockcode\">\n...\n    &lt;body&gt;\n       &lt;div&gt;\n         &lt;a href=\"#\" onclick=\"Overlay.show('&amp;lt;div&amp;gt;body&a
 mp;lt;/div&amp;gt;','header', '20em', '10em');\"&gt;click here to add the overlay &lt;/a&gt; &lt;br/&gt;\n       &lt;/div&gt;\n    &lt;/body&gt;\n...\n<br></br>\n</div>"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
-<bundle:///web-resources-scripts-content-el/2> <http://discobits.org/ontology#contains> _:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c89 .
-<bundle:///web-resources-scripts-content-el/2> <http://discobits.org/ontology#contains> _:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c8d .
+<bundle:///web-resources-scripts-content-el/3-content> <http://discobits.org/ontology#infoBit> "The <code xmlns=\"http://www.w3.org/1999/xhtml\">Overlay</code> behave similarly to an OS window. Unlike true browser popup windows, the overlay is floating DHTML elements embedded directly within the page context. The Overlay is positioned above the flow of a page and is draggable, resizable and has a close button. The Overlay has a method show with arguments body, header, width and height, which renders the overlay. The body and the header can be html elements or text. The width (default value: 46em) and height (default value: 37em) can be defined absolutely or relatively. \n<br xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<br xmlns=\"http://www.w3.org/1999/xhtml\"></br>\nThe following css and scripts have to be included:\n<div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"tx-blockcode\">\n &lt;link href=\"/yui/container/assets/container-core.css\" rel=\"stylesheet\" type=\"te
 xt/css\"/&gt;\n &lt;script src=\"/yui/yahoo-dom-event/yahoo-dom-event.js\" type=\"text/javascript\"/&gt;\n &lt;script src=\"/yui/element/element-min.js\" type=\"text/javascript\"/&gt;\n &lt;script src=\"/yui/container/container-min.js\" type=\"text/javascript\"/&gt;\n &lt;script src=\"/yui/dragdrop/dragdrop-min.js\" type=\"text/javascript\"/&gt;\n &lt;script src=\"/yui/resize/resize-min.js\" type=\"text/javascript\"/&gt;\n &lt;script src=\"/yui/utilities/utilities.js\" type=\"text/javascript\"/&gt;\n &lt;script src=\"/scripts/overlay.js\" type=\"text/javascript\"/&gt;\n</div>\n<br xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<br xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<strong xmlns=\"http://www.w3.org/1999/xhtml\">Example</strong>:\n\n<br xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"tx-blockcode\">\n...\n    &lt;body&gt;\n       &lt;div style=\"display: none\"&gt;\n         &lt;div id=\"myOverlayBody\"&gt;body&lt;/d
 iv&gt;\n       &lt;/div&gt;\n       &lt;div&gt;\n         &lt;a href=\"#\" onclick=\"Overlay.show($('#myOverlayBody').html(),'header', '20em', '10em');\"&gt;click here to add the overlay &lt;/a&gt; &lt;br/&gt;\n       &lt;/div&gt;\n    &lt;/body&gt;\n...\n<br></br>\n</div>"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
+<bundle:///web-resources-scripts-content-el/2> <http://discobits.org/ontology#contains> _:A637513a0X3aX125bb056a08X3aXX2dX7e25 .
+<bundle:///web-resources-scripts-content-el/2> <http://discobits.org/ontology#contains> _:A637513a0X3aX125bb056a08X3aXX2dX7e26 .
 <bundle:///web-resources-scripts-content-el/2> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#TitledContent> .
 <bundle:///web-resources-scripts-content-el/2-title> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#XHTMLInfoDiscoBit> .
 <bundle:///web-resources-scripts-content-el/2-title> <http://discobits.org/ontology#infoBit> "Alert Message"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e21 <http://discobits.org/ontology#holds> <bundle:///web-resources-scripts-content-el/2> .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e21 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#Entry> .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e21 <http://discobits.org/ontology#pos> "2" .
 <bundle:///web-resources-scripts-content-el/2-content> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#XHTMLInfoDiscoBit> .
 <bundle:///web-resources-scripts-content-el/2-content> <http://discobits.org/ontology#infoBit> "AlertMessage shows a dialog box on top of a page. AlertMessage has a method show, which creates and renders a dialog box. This method takes as argument a callback function, which is executed when the \"accept\"-button is pressed,  message, a header message, text for the \"accept\"-button and text for the \"decline\"-button. The message, header message, text for \"accept\"-button, text for the \"decline\"-button are optional. The default values are shown in the following example.\n<br xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<br xmlns=\"http://www.w3.org/1999/xhtml\"></br>\nAlertMessage needs the following css and javascript:\n <div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"tx-blockcode\">\n&lt;link href=\"/yui/container/assets/container-core.css\" rel=\"stylesheet\" type=\"text/css\"/&gt;<br></br>\n&lt;script src=\"/yui/yahoo-dom-event/yahoo-dom-event.js\" type=\"text/ja
 vascript\"/&gt;<br></br>\n&lt;script src=\"/yui/element/element-min.js\" type=\"text/javascript\"/&gt;<br></br>\n&lt;script src=\"/yui/container/container-min.js\" type=\"text/javascript\"/&gt;<br></br>\n</div>\n<br xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<br xmlns=\"http://www.w3.org/1999/xhtml\"></br>\n<div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"tx-blockcode\">\nAlertMessage.show(function(){alert(\"done\");}, \"Are you sure you want to lose the unsaved changes\", \"Unsaved changes\", \"Yes\", \"No\");\n</div>"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c8c <http://discobits.org/ontology#holds> <bundle:///web-resources-scripts-content-el/0> .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c8c <http://discobits.org/ontology#pos> "0" .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c8c <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#Entry> .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c86 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#Entry> .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c86 <http://discobits.org/ontology#pos> "0" .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c86 <http://discobits.org/ontology#holds> <bundle:///web-resources-scripts-title> .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e1f <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#Entry> .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e1f <http://discobits.org/ontology#pos> "1" .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e1f <http://discobits.org/ontology#holds> <bundle:///web-resources-scripts-content-el/1> .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e1d <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#Entry> .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e1d <http://discobits.org/ontology#pos> "0" .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e1d <http://discobits.org/ontology#holds> <bundle:///web-resources-scripts-content-el/1-title> .
 <bundle:///web-resources-scripts-content-el/1-title> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#XHTMLInfoDiscoBit> .
 <bundle:///web-resources-scripts-content-el/1-title> <http://discobits.org/ontology#infoBit> "Status Message"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c85 <http://discobits.org/ontology#pos> "0" .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c85 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#Entry> .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c85 <http://discobits.org/ontology#holds> <bundle:///web-resources-scripts-content-el/0-title> .
-<bundle:///web-resources-scripts-content-el/0-title> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#XHTMLInfoDiscoBit> .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e1e <http://discobits.org/ontology#holds> <bundle:///web-resources-scripts-content-el/3-title> .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e1e <http://discobits.org/ontology#pos> "0" .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e1e <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#Entry> .
 <bundle:///web-resources-scripts-content-el/0-title> <http://discobits.org/ontology#infoBit> "Modification Status"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
-<bundle:///web-resources-scripts-content-el/1> <http://discobits.org/ontology#contains> _:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c84 .
+<bundle:///web-resources-scripts-content-el/0-title> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#XHTMLInfoDiscoBit> .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e20 <http://discobits.org/ontology#holds> <bundle:///web-resources-scripts-content-el/0> .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e20 <http://discobits.org/ontology#pos> "0" .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e20 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#Entry> .
+<bundle:///web-resources-scripts-content-el/1> <http://discobits.org/ontology#contains> _:A637513a0X3aX125bb056a08X3aXX2dX7e1d .
 <bundle:///web-resources-scripts-content-el/1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#TitledContent> .
-<bundle:///web-resources-scripts-content-el/1> <http://discobits.org/ontology#contains> _:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c88 .
-<bundle:///web-resources-scripts-content-el/0> <http://discobits.org/ontology#contains> _:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c87 .
-<bundle:///web-resources-scripts-content-el/0> <http://discobits.org/ontology#contains> _:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c85 .
+<bundle:///web-resources-scripts-content-el/1> <http://discobits.org/ontology#contains> _:A637513a0X3aX125bb056a08X3aXX2dX7e27 .
 <bundle:///web-resources-scripts-content-el/0> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#TitledContent> .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c84 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#Entry> .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c84 <http://discobits.org/ontology#pos> "1" .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c84 <http://discobits.org/ontology#holds> <bundle:///web-resources-scripts-content-el/1-content> .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c8b <http://discobits.org/ontology#holds> <bundle:///web-resources-scripts-content-el/1> .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c8b <http://discobits.org/ontology#pos> "1" .
-_:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c8b <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#Entry> .
-<bundle:///web-resources-scripts> <http://discobits.org/ontology#contains> _:AX2dX1add52afX3aX125b0b0ce6cX3aXX2dX7c86 .
+<bundle:///web-resources-scripts-content-el/0> <http://discobits.org/ontology#contains> _:A637513a0X3aX125bb056a08X3aXX2dX7e22 .
+<bundle:///web-resources-scripts-content-el/0> <http://discobits.org/ontology#contains> _:A637513a0X3aX125bb056a08X3aXX2dX7e1c .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e1c <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#Entry> .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e1c <http://discobits.org/ontology#holds> <bundle:///web-resources-scripts-content-el/0-content> .
+_:A637513a0X3aX125bb056a08X3aXX2dX7e1c <http://discobits.org/ontology#pos> "1" .
+<bundle:///web-resources-scripts> <http://discobits.org/ontology#contains> _:A637513a0X3aX125bb056a08X3aXX2dX7e24 .
+<bundle:///web-resources-scripts> <http://discobits.org/ontology#contains> _:A637513a0X3aX125bb056a08X3aXX2dX7e23 .
 <bundle:///web-resources-scripts> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://discobits.org/ontology#TitledContent> .