Mercurial > moin > 1.9
view wiki/htdocs/applets/FCKeditor/editor/css/behaviors/hiddenfield.htc @ 0:77665d8e2254
tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
(automatically generated log message)
imported from: moin--main--1.5--base-0
author | Thomas Waldmann <tw-public@gmx.de> |
---|---|
date | Thu, 22 Sep 2005 15:09:50 +0000 |
parents | |
children |
line wrap: on
line source
<public:component lightweight="true"> <public:attach event="oncontentready" onevent="ShowField()" /> <public:attach event="ondoubleclick" onevent="EditField()" /> <script language="javascript"> var bIsHiddenField = this.type == 'hidden' ; function ShowField() { if ( bIsHiddenField ) { this.runtimeStyle.width = '20px' ; this.runtimeStyle.height = '20px' ; this.runtimeStyle.border = '1px dotted #FF0000' ; this.runtimeStyle.backgroundImage = 'url(css/behaviors/hiddenfield.gif)' ; this.runtimeStyle.fontSize = '99px' ; } } function EditField() { if ( bIsHiddenField ) alert( this.outerHTML ) ; } </script> </public:component>