diff options
Diffstat (limited to 'frontends/php/include/classes/cpumenu.inc.php')
-rw-r--r-- | frontends/php/include/classes/cpumenu.inc.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/frontends/php/include/classes/cpumenu.inc.php b/frontends/php/include/classes/cpumenu.inc.php index 1b697941..95cb104e 100644 --- a/frontends/php/include/classes/cpumenu.inc.php +++ b/frontends/php/include/classes/cpumenu.inc.php @@ -30,6 +30,22 @@ function CPUMenu($items=array(), $width=null) { $this->InsertJavaScript(); + /*********************** ITEM ARRAY *********************** + ITEM: array(name, url, param, css, submenu1, submenu2, ... , submenuN) + + name: text + url: text (url for href perameter) + param: array(tw => t_val, sb => s_val) + tw: target parameter + t_val: one of '_blank', '_parent', '_self', '_top' + sb: text for statusbar) + s_val: text + css: array(outer => cssarray, inner => cssarray) + outer -> style for outer div element + inner -> style for inner link element with text + cssarray -> array(normal, mouseover, mousedown) + submen1-N: list of subitems + **********************************************************/ $this->items = $items; $this->width = $width; } |