pbwest 2003/03/24 07:47:22
Modified: targets/fop/design/alt.design/properties
AbstractPropertyValue.html FOAttributes.html
PropNames.html Property.html PropertyConsts.html
PropertyParser.html PropertySets.html
PropertyTokenizer.html PropertyValue.html
PropertyValueList.html ShorthandPropSets.html
codedisplay.js
Log:
Updates
Revision Changes Path
1.13 +0 -0
xml-site/targets/fop/design/alt.design/properties/AbstractPropertyValue.html
Index: AbstractPropertyValue.html
===================================================================
RCS file:
/home/cvs/xml-site/targets/fop/design/alt.design/properties/AbstractPropertyValue.html,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
1.13 +0 -0
xml-site/targets/fop/design/alt.design/properties/FOAttributes.html
Index: FOAttributes.html
===================================================================
RCS file:
/home/cvs/xml-site/targets/fop/design/alt.design/properties/FOAttributes.html,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
1.13 +0 -0
xml-site/targets/fop/design/alt.design/properties/PropNames.html
Index: PropNames.html
===================================================================
RCS file:
/home/cvs/xml-site/targets/fop/design/alt.design/properties/PropNames.html,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
1.13 +0 -0
xml-site/targets/fop/design/alt.design/properties/Property.html
Index: Property.html
===================================================================
RCS file:
/home/cvs/xml-site/targets/fop/design/alt.design/properties/Property.html,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
1.13 +0 -0
xml-site/targets/fop/design/alt.design/properties/PropertyConsts.html
Index: PropertyConsts.html
===================================================================
RCS file:
/home/cvs/xml-site/targets/fop/design/alt.design/properties/PropertyConsts.html,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
1.13 +0 -0
xml-site/targets/fop/design/alt.design/properties/PropertyParser.html
Index: PropertyParser.html
===================================================================
RCS file:
/home/cvs/xml-site/targets/fop/design/alt.design/properties/PropertyParser.html,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
1.13 +0 -0
xml-site/targets/fop/design/alt.design/properties/PropertySets.html
Index: PropertySets.html
===================================================================
RCS file:
/home/cvs/xml-site/targets/fop/design/alt.design/properties/PropertySets.html,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
1.13 +0 -0
xml-site/targets/fop/design/alt.design/properties/PropertyTokenizer.html
Index: PropertyTokenizer.html
===================================================================
RCS file:
/home/cvs/xml-site/targets/fop/design/alt.design/properties/PropertyTokenizer.html,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
1.13 +0 -0
xml-site/targets/fop/design/alt.design/properties/PropertyValue.html
Index: PropertyValue.html
===================================================================
RCS file:
/home/cvs/xml-site/targets/fop/design/alt.design/properties/PropertyValue.html,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
1.13 +0 -0
xml-site/targets/fop/design/alt.design/properties/PropertyValueList.html
Index: PropertyValueList.html
===================================================================
RCS file:
/home/cvs/xml-site/targets/fop/design/alt.design/properties/PropertyValueList.html,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
1.13 +0 -0
xml-site/targets/fop/design/alt.design/properties/ShorthandPropSets.html
Index: ShorthandPropSets.html
===================================================================
RCS file:
/home/cvs/xml-site/targets/fop/design/alt.design/properties/ShorthandPropSets.html,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
1.3 +59 -1
xml-site/targets/fop/design/alt.design/properties/codedisplay.js
Index: codedisplay.js
===================================================================
RCS file:
/home/cvs/xml-site/targets/fop/design/alt.design/properties/codedisplay.js,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- codedisplay.js 17 Mar 2003 23:29:16 -0000 1.2
+++ codedisplay.js 24 Mar 2003 15:47:20 -0000 1.3
@@ -1 +1,59 @@
-<html><head><title>Resource not Found</title><STYLE><!--H1{font-family :
sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;}
BODY{font-family : sans-serif,Arial,Tahoma;color : black;background-color :
white;} B{color : white;background-color : #0086b2;} HR{color : #0086b2;}
--></STYLE> </head><body><h1>Cocoon 2 - Resource not Found</h1><hr size="1"
noshade="noshade"/><p><b>type</b> resource-not-found</p><p><b>message</b>
<u>Page Not Available.</u></p><p><b>description</b> <u>The requested resource
couldn't be found.</u></p><p><b>sender</b>
org.apache.cocoon.Main</p><p><b>source</b> Cocoon commandline
(Main.java)</p><p><b>request-uri</b><pre>design/alt.design/properties/codedisplay.js</pre></p><p><b>missing-file</b><pre>/usr/serverlocal/forrestbot/scripts/work/build/bot/xml-fop/site/design/alt.design/properties/codedisplay.js</pre></p><hr
size="1" noshade="true"/></body></html>
\ No newline at end of file
+// $Id$
+var showing = new Array();
+var x = new Array(); // scrollX
+var y = new Array(); // scrollY
+
+function toggleCode(id, src, height, width) {
+ //alert('In toggleCode');
+ if (showing[id]) {
+ hideCode(id);
+ } else {
+ showCode(id, src, height, width);
+ }
+}
+
+function showCode(id, src, height, width) {
+ //alert('In showCode');
+ if (showing[id]) { return; }
+ if (document.getElementById && document.createElement) {
+ if (window.scrollX != undefined) {
+ x[id] = window.scrollX;
+ y[id] = window.scrollY;
+ }
+ var parent = document.getElementById(id);
+ var span = document.createElement('SPAN');
+ parent.appendChild(span);
+ var br = document.createElement('BR');
+ var iframe = document.createElement('IFRAME');
+ iframe.setAttribute('src', src);
+ iframe.setAttribute('height', height);
+ iframe.setAttribute('width', width);
+ span.appendChild(br);
+ span.appendChild(iframe);
+ //parent.replaceChild(iframe, parent.lastChild);
+ // window.scrollTo(x[id],y[id]);
+ showing[id] = true;
+ } else {
+ alert(
+ "Requires Navigator >= 7, Mozilla >= 1.2.1 or IE >= 6");
+ return;
+ }
+}
+
+function hideCode(id) {
+ //alert('In hideCode');
+ if ( ! showing[id]) { return; }
+ if (document.getElementById && document.createElement) {
+ var parent = document.getElementById(id);
+ parent.removeChild(parent.lastChild);
+ if (x[id] != undefined) {
+ window.scrollTo(x[id],y[id]);
+ }
+ showing[id] = false;
+ } else {
+ alert(
+ "Requires Navigator >= 7, Mozilla >= 1.2.1 or IE >= 6");
+ return;
+ }
+}
+
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]