[ Index ]
 

Code source de LifeType 1.2.4

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/js/JSCookMenu/ThemeOffice/ -> theme.js (source)

   1  
   2  // directory of where all the images are

   3  var cmThemeOfficeBase = 'js/JSCookMenu/ThemeOffice/';
   4  
   5  // the follow block allows user to re-define theme base directory

   6  // before it is loaded.

   7  try
   8  {
   9      if (myThemeOfficeBase)
  10      {
  11          cmThemeOfficeBase = myThemeOfficeBase;
  12      }
  13  }
  14  catch (e)
  15  {
  16  }
  17  
  18  var cmThemeOffice =
  19  {
  20        // main menu display attributes

  21        //

  22        // Note.  When the menu bar is horizontal,

  23        // mainFolderLeft and mainFolderRight are

  24        // put in <span></span>.  When the menu

  25        // bar is vertical, they would be put in

  26        // a separate TD cell.

  27  
  28        // HTML code to the left of the folder item

  29        mainFolderLeft: '&nbsp;',
  30        // HTML code to the right of the folder item

  31        mainFolderRight: '&nbsp;',
  32      // HTML code to the left of the regular item

  33      mainItemLeft: '&nbsp;',
  34      // HTML code to the right of the regular item

  35      mainItemRight: '&nbsp;',
  36  
  37      // sub menu display attributes

  38  
  39      // 0, HTML code to the left of the folder item

  40      folderLeft: '<img alt="" src="' + cmThemeOfficeBase + 'spacer.gif">',
  41      // 1, HTML code to the right of the folder item

  42      folderRight: '<img alt="" src="' + cmThemeOfficeBase + 'arrow.gif">',
  43      // 2, HTML code to the left of the regular item

  44      itemLeft: '<img alt="" src="' + cmThemeOfficeBase + 'spacer.gif">',
  45      // 3, HTML code to the right of the regular item

  46      itemRight: '<img alt="" src="' + cmThemeOfficeBase + 'blank.gif">',
  47      // 4, cell spacing for main menu

  48      mainSpacing: 0,
  49      // 5, cell spacing for sub menus

  50      subSpacing: 0,
  51      // 6, auto dispear time for submenus in milli-seconds

  52      delay: 500
  53  };
  54  
  55  // for horizontal menu split

  56  var cmThemeOfficeHSplit = [_cmNoClick, '<td class="ThemeOfficeMenuItemLeft"></td><td colspan="2"><div class="ThemeOfficeMenuSplit"></div></td>'];
  57  var cmThemeOfficeMainHSplit = [_cmNoClick, '<td class="ThemeOfficeMainItemLeft"></td><td colspan="2"><div class="ThemeOfficeMenuSplit"></div></td>'];
  58  var cmThemeOfficeMainVSplit = [_cmNoClick, '|'];


Généré le : Mon Nov 26 21:04:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics