|
Site
WikiSandbox
edit SideBar |
Cookbook /
Jscm-sample2JsCmvar paletteMenuOLD = [ [null, 'File', null, null, null, [null, 'Open', null, null, null], [null, 'Save', null, null, null] ], [null, 'Palette', null, null, null, [null, 'Options', null, null, null], _cmSplit, [_cmNoAction, '<td class="ThemeOfficeMenuItemLeft"><td colspan="2"><table summary="" border="0" cellpadding="0" cellspacing="2" style="cursor: default">' + '<tr class="Palette">' + '<td onmouseover="overPalette (this)" onmouseout="outPalette (this)" onclick="clickPalette (this)" class="Palette" bgcolor="#000000"> </td>' + '<td onmouseover="overPalette (this)" onmouseout="outPalette (this)" onclick="clickPalette (this)" class="Palette" bgcolor="#00007F"> </td>' + '<td onmouseover="overPalette (this)" onmouseout="outPalette (this)" onclick="clickPalette (this)" class="Palette" bgcolor="#007F00"> </td>' + '<td onmouseover="overPalette (this)" onmouseout="outPalette (this)" onclick="clickPalette (this)" class="Palette" bgcolor="#007F7F"> </td>' + '<td onmouseover="overPalette (this)" onmouseout="outPalette (this)" onclick="clickPalette (this)" class="Palette" bgcolor="#7F0000"> </td>' + '<td onmouseover="overPalette (this)" onmouseout="outPalette (this)" onclick="clickPalette (this)" class="Palette" bgcolor="#7F007F"> </td>' + '<td onmouseover="overPalette (this)" onmouseout="outPalette (this)" onclick="clickPalette (this)" class="Palette" bgcolor="#7F7F00"> </td>' + '<td onmouseover="overPalette (this)" onmouseout="outPalette (this)" onclick="clickPalette (this)" class="Palette" bgcolor="#7F7F7F"> </td>' + '</tr>' + '<tr class="Palette">' + '<td onmouseover="overPalette (this)" onmouseout="outPalette (this)" onclick="clickPalette (this)" class="Palette" bgcolor="#CCCCCC"> </td>' + '<td onmouseover="overPalette (this)" onmouseout="outPalette (this)" onclick="clickPalette (this)" class="Palette" bgcolor="#0000FF"> </td>' + '<td onmouseover="overPalette (this)" onmouseout="outPalette (this)" onclick="clickPalette (this)" class="Palette" bgcolor="#00FF00"> </td>' + '<td onmouseover="overPalette (this)" onmouseout="outPalette (this)" onclick="clickPalette (this)" class="Palette" bgcolor="#00FFFF"> </td>' + '<td onmouseover="overPalette (this)" onmouseout="outPalette (this)" onclick="clickPalette (this)" class="Palette" bgcolor="#FF0000"> </td>' + '<td onmouseover="overPalette (this)" onmouseout="outPalette (this)" onclick="clickPalette (this)" class="Palette" bgcolor="#FF00FF"> </td>' + '<td onmouseover="overPalette (this)" onmouseout="outPalette (this)" onclick="clickPalette (this)" class="Palette" bgcolor="#FFFF00"> </td>' + '<td onmouseover="overPalette (this)" onmouseout="outPalette (this)" onclick="clickPalette (this)" class="Palette" bgcolor="#FFFFFF"> </td>' + '</tr>' + '</table>'] ] ]; var paletteMenu = [ [null, 'File', null, null, null, [null, 'Open', null, null, null], [null, 'Save', null, null, null] ], [null, 'Palette', null, null, null, [null, 'Options', null, null, null], _cmSplit, [_cmNoAction, '<td class="ThemeOfficeMenuItemLeft"><td colspan="2"><table summary="" border="0" cellpadding="0" cellspacing="2" style="cursor: default">' + '<tr class="Palette">' + '<td onmouseover="overPalette (this)" onmouseout="outPalette (this)" onclick="clickPalette (this)" class="Palette" bgcolor="#000000"> </td>' + '<td onmouseover="overPalette (this)" onmouseout="outPalette (this)" onclick="clickPalette (this)" class="Palette" bgcolor="#00007F"> </td>' + '<td onmouseover="overPalette (this)" onmouseout="outPalette (this)" onclick="clickPalette (this)" class="Palette" bgcolor="#007F00"> </td>' + '<td onmouseover="overPalette (this)" onmouseout="outPalette (this)" onclick="clickPalette (this)" class="Palette" bgcolor="#007F7F"> </td>' + '<td onmouseover="overPalette (this)" onmouseout="outPalette (this)" onclick="clickPalette (this)" class="Palette" bgcolor="#7F0000"> </td>' + '<td onmouseover="overPalette (this)" onmouseout="outPalette (this)" onclick="clickPalette (this)" class="Palette" bgcolor="#7F007F"> </td>' + '<td onmouseover="overPalette (this)" onmouseout="outPalette (this)" onclick="clickPalette (this)" class="Palette" bgcolor="#7F7F00"> </td>' + '<td onmouseover="overPalette (this)" onmouseout="outPalette (this)" onclick="clickPalette (this)" class="Palette" bgcolor="#7F7F7F"> </td>' + '</tr>' + '<tr class="Palette">' + '<td onmouseover="overPalette (this)" onmouseout="outPalette (this)" onclick="clickPalette (this)" class="Palette" bgcolor="#CCCCCC"> </td>' + '<td onmouseover="overPalette (this)" onmouseout="outPalette (this)" onclick="clickPalette (this)" class="Palette" bgcolor="#0000FF"> </td>' + '<td onmouseover="overPalette (this)" onmouseout="outPalette (this)" onclick="clickPalette (this)" class="Palette" bgcolor="#00FF00"> </td>' + '<td onmouseover="overPalette (this)" onmouseout="outPalette (this)" onclick="clickPalette (this)" class="Palette" bgcolor="#00FFFF"> </td>' + '<td onmouseover="overPalette (this)" onmouseout="outPalette (this)" onclick="clickPalette (this)" class="Palette" bgcolor="#FF0000"> </td>' + '<td onmouseover="overPalette (this)" onmouseout="outPalette (this)" onclick="clickPalette (this)" class="Palette" bgcolor="#FF00FF"> </td>' + '<td onmouseover="overPalette (this)" onmouseout="outPalette (this)" onclick="clickPalette (this)" class="Palette" bgcolor="#FFFF00"> </td>' + '<td onmouseover="overPalette (this)" onmouseout="outPalette (this)" onclick="clickPalette (this)" class="Palette" bgcolor="#FFFFFF"> </td>' + '</tr>' + '</table></td>'] ] ]; var textBoxNA = [[null, 'Palette', null, null, null, [_cmNoAction, '<p>this is plain text with some <br><a href="#">links</a> in between</p>' ]]]; var textBoxNC = [[null, 'Palette', null, null, null, [_cmNoClick, '<p>this is plain text with some <br><a href="#">links</a> in between</p>' ]]]; |