alex Fri Jul 27 17:57:16 2001 EDT
Modified files:
/r2/binarycloud/user/htdocs/resources/bc_edit example.html
Log:
Update of the example bc_edit html to include some javascript.
Index: r2/binarycloud/user/htdocs/resources/bc_edit/example.html
diff -u r2/binarycloud/user/htdocs/resources/bc_edit/example.html:1.1 r2/binarycloud/user/htdocs/resources/bc_edit/example.html:1.2
--- r2/binarycloud/user/htdocs/resources/bc_edit/example.html:1.1 Fri Jul 27 17:54:48 2001
+++ r2/binarycloud/user/htdocs/resources/bc_edit/example.html Fri Jul 27 17:57:16 2001
@@ -1,6 +1,6 @@
<!--
// {{{ Header
--File $Id: example.html,v 1.1 2001/07/28 00:54:48 alex Exp $
+-File $Id: example.html,v 1.2 2001/07/28 00:57:16 alex Exp $
-License LGPL (http://www.gnu.org/copyleft/lesser.html)
-Copyright 2001, The Turing Studio, Inc.
-Author alex black, en...@tu...
@@ -8,12 +8,24 @@
-->
<html xmlns:cms>
<head>
+
<?import namespace="cms" implementation="bc_edit.htc" />
<!-- ?> -->
+
</head>
<body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">
<cms:bc_edit id="content_edit" style="height:100%; width:100%;" />
+<script>
+document.all.content_edit.Text = window.opener.document.all.change_text.value;
+</script>
+
+<button onclick='window.opener.document.all.change_text.value=document.all.content_edit.Text; window.close();' title="Bold" id="done" name="">Done</button>
+
+<button onclick='window.close();' title="Bold" id="cancel" name="">Cancel</button>
+
+
</body>
</html>
+
|