Revision 389,
691 bytes
checked in by niltonneto, 16 years ago
(diff) |
Ver Tickets no Trac #286 e #287.
Inclusão de template de assinatura padrão.
Assinatura também disponível em formato de texto rico.
Inclusão da biblioteca FCKEditor.
|
-
Property svn:executable set to
*
|
Rev | Line | |
---|
[389] | 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 |
|
---|
| 8 | var bIsHiddenField = this.type == 'hidden' ;
|
---|
| 9 |
|
---|
| 10 | function 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 |
|
---|
| 22 | function 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.