~ubuntu-branches/ubuntu/raring/webcalendar/raring

« back to all changes in this revision

Viewing changes to includes/menu/themes/autumn/theme.js

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere
  • Date: 2009-06-09 06:26:24 UTC
  • mfrom: (18.2.3 karmic)
  • Revision ID: james.westby@ubuntu.com-20090609062624-9n9xea2ftpipmg38
Tags: 1.2.0+dfsg-4
* debian/patches/06_send-reminder-paths.diff: Adjust patch to help
  translate.php to find the translation files under /etc/webcalendar.
  Thanks to Dale and Cheryl Schroeder for the help on debugging this
  (really, closes: #531312).
* debian/patches/16_no-blink-public-access-title.diff: New patch for
  avoiding the blinking title when changing the Public Access title in
  English-US.txt

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
// directory of where all the images are
 
3
var cmThemeBase = 'includes/menu/themes/autumn/';
 
4
 
 
5
var cmTheme =
 
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="includes/menu/icons/spacer.gif">',
 
28
  // 1, HTML code to the right of the folder item
 
29
  folderRight: '<img alt="" src="includes/menu/icons/arrow.gif">',
 
30
  // 2, HTML code to the left of the regular item
 
31
  itemLeft: '<img alt="" src="includes/menu/icons/spacer.gif">',
 
32
  // 3, HTML code to the right of the regular item
 
33
  itemRight: '<img alt="" src="includes/menu/icons/blank.gif">',
 
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: 500
 
40
};
 
41
 
 
42
// for horizontal menu split
 
43
var cmThemeHSplit = [_cmNoAction, '<td class="ThemeMenuItemLeft"></td><td colspan="2"><div class="ThemeMenuSplit"></div></td>'];
 
44
var cmThemeMainHSplit = [_cmNoAction, '<td class="ThemeMainItemLeft"></td><td colspan="2"><div class="ThemeMenuSplit"></div></td>'];
 
45
var cmThemeMainVSplit = [_cmNoAction, '&nbsp;'];