+++ /dev/null
-<public:component lightweight="true">\r
-\r
-<public:attach event="oncontentready" onevent="ShowField()" />\r
-<public:attach event="ondoubleclick" onevent="EditField()" />\r
-\r
-<script language="javascript">\r
-\r
-var bIsHiddenField = this.type == 'hidden' ;\r
-\r
-function ShowField()\r
-{\r
- if ( bIsHiddenField ) \r
- {\r
- this.runtimeStyle.width = '20px' ;\r
- this.runtimeStyle.height = '20px' ;\r
- this.runtimeStyle.border = '1px dotted #FF0000' ;\r
- this.runtimeStyle.backgroundImage = 'url(css/behaviors/hiddenfield.gif)' ;\r
- this.runtimeStyle.fontSize = '99px' ;\r
- }\r
-}\r
-\r
-function EditField()\r
-{\r
- if ( bIsHiddenField ) \r
- alert( this.outerHTML ) ;\r
-}\r
-\r
-</script>\r
-\r
-</public:component>\r