function toHTML() { // I'm Still having erratic problems with NN4 // Hence this check. if ($GLOBALS['tmsDoesMenus'] == 'maybe') { $tmb = new ccBrowserInfo(); $GLOBALS['tmsDoesMenus'] = $tmb->is_ie5up() || $tmb->is_moz5up(); } if (!$GLOBALS['tmsDoesMenus']) { $this_sucks =& new HTML_TreeMenu_RigidXL($this->menu, array('images' => $this->images, 'defaultClass' => $this->defaultClass, 'autostyles' => $this->autostyles, 'linkSelectKey' => $this->linkSelectKey, 'lineImageWidth' => $this->lineImageWidth, 'lineImageHeight' => $this->lineImageHeight, 'iconImageWidth' => $this->iconImageWidth, 'iconImageHeight' => $this->iconImageHeight, 'linkTarget' => $this->linkTarget, 'selectedStyle' => $this->selectedStyle, 'brOK' => $this->brOK)); return $this_sucks->toHTML(); } // Expand the branch(es), if any, that contain nodes with matching links. if (!empty($this->linkSelectKey)) { $keys = $this->linkSelectKey; if (!is_array($keys)) { $keys = array($keys); } foreach ($keys as $key) { $this->_expandSelected($this->menu, $key); } } // Is the entire menu "expanded"? Then make it so... if (isset($this->expanded) && $this->expanded) { for ($i = 0; $i < count($this->menu->items); $i++) { $this->menu->items[$i]->setChildProperties(array('expanded' => true)); } } return HTML_TreeMenu_DHTML::toHTML(); }
$fontlistSerif = '"Times New Roman", Times, serif'; $fontlistFixed = '"Courier New", Courier, monospace'; if ($browser->is_winNN()) { echo '/* Font sizes adjusted for Windows Netscape Navigator 4 */' . "\n"; $fsize['largetext']++; $fsize['p']++; $fsize['smalltext']++; $fsize['smallitalic']++; $fsize['smallertext']++; $fsize['smallerertext']++; $fsize['xsmalltext']++; $fsize['xxsmalltext']++; // I simply cannot get Win NN 4 to render Verdana at the size I want. $fontlistBodySmall = 'Arial, Helvetica, sans-serif'; } else { if ($browser->is_moz5up()) { echo '/* Font sizes adjusted for Mozilla 5Up */' . "\n"; $fsize['h1']++; $fsize['h2']++; $fsize['h4']--; $fsize['h5']--; $fsize['p']--; $fsize['tt'] -= 2; $fsize['smalltext']--; $fsize['smallitalic']--; // added 2002-11-02 $fsize['smallertext']--; $fsize['smallerertext']--; $fsize['xsmalltext']--; $fsize['xxsmalltext']--; }