~hexmode/+junk/main

« back to all changes in this revision

Viewing changes to install-files/apps/sqlitemanager1.2.0/theme/default/menu/theme.js

  • Committer: Mark A. Hershberger
  • Date: 2008-01-05 19:38:56 UTC
  • Revision ID: hershberger@spawn-xp-20080105193856-6rnzgwa4nehue3qj
initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
// directory of where all the images are
 
3
var cmThemeOfficeBase = 'theme/default/menu/';
 
4
 
 
5
var cmThemeOffice =
 
6
{
 
7
        // main menu display attributes
 
8
        //
 
9
        // Note.  When the menu bar is horizontal,
 
10
        // mainFolderLeft and mainFolderRight are
 
11
        // put in <span></span>.  When the menu
 
12
        // bar is vertical, they would be put in
 
13
        // a separate TD cell.
 
14
 
 
15
        // HTML code to the left of the folder item
 
16
        mainFolderLeft: '&nbsp;',
 
17
        // HTML code to the right of the folder item
 
18
        mainFolderRight: '&nbsp;',
 
19
        // HTML code to the left of the regular item
 
20
        mainItemLeft: '&nbsp;',
 
21
        // HTML code to the right of the regular item
 
22
        mainItemRight: '&nbsp;',
 
23
 
 
24
        // sub menu display attributes
 
25
 
 
26
        // 0, HTML code to the left of the folder item
 
27
        folderLeft: '<img alt="" src="' + cmThemeOfficeBase + 'spacer.png">',
 
28
        // 1, HTML code to the right of the folder item
 
29
        folderRight: '<img alt="" src="' + cmThemeOfficeBase + 'arrow.png">',
 
30
        // 2, HTML code to the left of the regular item
 
31
        itemLeft: '<img alt="" src="' + cmThemeOfficeBase + 'spacer.png">',
 
32
        // 3, HTML code to the right of the regular item
 
33
        itemRight: '<img alt="" src="' + cmThemeOfficeBase + 'blank.png">',
 
34
        // 4, cell spacing for main menu
 
35
        mainSpacing: 0,
 
36
        // 5, cell spacing for sub menus
 
37
        subSpacing: 0,
 
38
        // 6, auto dispear time for submenus in milli-seconds
 
39
        delay: 400
 
40
};
 
41
 
 
42
// for horizontal menu split
 
43
var cmThemeOfficeHSplit = [_cmNoAction, '<td class="ThemeOfficeMenuItemLeft"></td><td colspan="2"><div class="ThemeOfficeMenuSplit"></div></td>'];
 
44
var cmThemeOfficeMainHSplit = [_cmNoAction, '<td class="ThemeOfficeMainItemLeft"></td><td colspan="2"><div class="ThemeOfficeMenuSplit"></div></td>'];
 
45
var cmThemeOfficeMainVSplit = [_cmNoAction, '&nbsp;'];