source: companies/serpro/expressoMail1_2/js/fckeditor/editor/css/behaviors/hiddenfield.htc @ 903

Revision 903, 691 bytes checked in by niltonneto, 15 years ago (diff)

Importacao inicial do Expresso do Serpro

Line 
1<public:component lightweight="true">
2
3<public:attach event="oncontentready" onevent="ShowField()" />
4<public:attach event="ondoubleclick" onevent="EditField()" />
5
6<script language="javascript">
7
8var bIsHiddenField = this.type == 'hidden' ;
9
10function ShowField()
11{
12        if ( bIsHiddenField )
13        {
14                this.runtimeStyle.width                         = '20px' ;
15                this.runtimeStyle.height                        = '20px' ;
16                this.runtimeStyle.border                        = '1px dotted #FF0000' ;
17                this.runtimeStyle.backgroundImage       = 'url(css/behaviors/hiddenfield.gif)' ;
18                this.runtimeStyle.fontSize                      = '99px' ;
19        }
20}
21
22function EditField()
23{
24        if ( bIsHiddenField )
25                alert( this.outerHTML ) ;
26}
27
28</script>
29
30</public:component>
Note: See TracBrowser for help on using the repository browser.