3 <div id=
"note-<?VNOTE:UID>"
4 class=
"stickynote_outer"
5 style=
" left: <?VNOTE:POS:LEFT>px; top: <?VNOTE:POS:TOP>px; width: <?VNOTE:POS:WIDTH>px; height: <?VNOTE:POS:HEIGHT>px; background-color: #<?VNOTE:COLOR>">
6 <!--begin title bar div-->
7 <div id='titlebar-
<?VNOTE:UID>'
8 class=
"stickynote_titlebar"
9 onMouseDown=
"NotesDragMouseDown(event,'<?VNOTE:UID>')"
10 style=
" background-color: #<?VNOTE:BGCOLOR>"
12 <table border=
0 cellpadding=
0 cellspacing=
0 valign=middle width=
100%
><tr>
13 <td align=left valign=middle
>
14 <img onclick=
"NotesClickPalette(event,'<?VNOTE:UID>')" src=
"static/8paint16.gif">
16 <td></td><!-- nothing in the title bar, it's just for dragging-->
17 <td align=right valign=middle
>
18 <img onclick=
"DeleteStickyNote(event,'<?VNOTE:UID>','<?_("Delete this note?
")>')"
19 src=
"static/closewindow.gif">
22 <!--end title bar div; begin body div-->
23 <div id=
"notebody-<?VNOTE:UID>" class=
"stickynote_body">
27 <script type=
"text/javascript">
28 new Ajax
.InPlaceEditor('notebody-<?VNOTE:UID>', 'ajax_update_note?note_uid=<?VNOTE:UID>',
30 rows
:<?VNOTE
:POS
:HEIGHT2
>,
31 cols
:<?VNOTE
:POS
:WIDTH2
>,
34 okText
:'<?_("Save")>',
35 cancelText
:'<?_("Cancel")>',
36 clickToEditText
:'<?_("Click on any note to edit it.")>'
39 <div id=
"resize-<?VNOTE:UID>"
40 class=
"stickynote_resize" onMouseDown=
"NotesResizeMouseDown(event,'<?VNOTE:UID>')"> </div>
42 <div id=
"palette-<?VNOTE:UID>" class=
"stickynote_palette">
43 <table border=
0 cellpadding=
0 cellspacing=
0>
45 <td onClick=
"NotesClickColor(event,'<?VNOTE:UID>',128,128,128,'#808080','#404040')" bgcolor=
"#808080"> </td>
46 <td onClick=
"NotesClickColor(event,'<?VNOTE:UID>',255,128,128,'#ff8080','#7f4040')" bgcolor=
"#ff8080"> </td>
47 <td onClick=
"NotesClickColor(event,'<?VNOTE:UID>',128,128,255,'#8080ff','#40407f')" bgcolor=
"#8080ff"> </td>
49 <td onClick=
"NotesClickColor(event,'<?VNOTE:UID>',255,255,128,'#ffff80','#7f7f40')" bgcolor=
"#ffff80"> </td>
50 <td onClick=
"NotesClickColor(event,'<?VNOTE:UID>',128,255,128,'#80ff80','#407f40')" bgcolor=
"#80ff80"> </td>
51 <td onClick=
"NotesClickColor(event,'<?VNOTE:UID>',255,128,255,'#ff80ff','#7f407f')" bgcolor=
"#ff80ff"> </td>
53 <td onClick=
"NotesClickColor(event,'<?VNOTE:UID>',128,255,255,'#80ffff','#407f7f')" bgcolor=
"#80ffff"> </td>
54 <td onClick=
"NotesClickColor(event,'<?VNOTE:UID>',255,128,128,'#ff8080','#7f4040')" bgcolor=
"#ff8080"> </td>
55 <td onClick=
"NotesClickColor(event,'<?VNOTE:UID>',128,128,128,'#808080','#404040')" bgcolor=
"#808080"> </td>
60 <div id=
"resize-<?VNOTE:UID>"
61 class=
"stickynote_resize"
62 onMouseDown=
"NotesResizeMouseDown(event,'<?VNOTE:UID>')">
64 <!--end resize handle div-->