#2 Menu does not show up in Netscape 4.79

closed
nobody
None
5
2015-01-21
2003-01-09
Anonymous
No

Hi,

I ran into a serious problem. After trying to display a vertical menu, I can no longer access any of the
other menus. Need to reload the page to get it working again.
This happens almost randomly (sometimes I can go from one menu to another without a problem) But
eventually, the access to the menus stops.
I don't have this problem with IE. Unfortunately, a lot of my users are Netscape.

thanks !

Eduardo.

---------------------
This is the index.php I'm using

<link rel="stylesheet" href="menu/layersmenu.css" type="text/css">
<link rel="shortcut icon" href="menu/images/www.kernel.org_images_tux16-16.png">

<?php

if (!$cual) {
$cual="PME";
}
if ($cual <> "PME") {
include ("html/$cual");
exit;
}

include ("menu/lib/template.inc.php"); // taken from PHPLib
include ("menu/lib/layersmenu.inc.php");
include ("menu/lib/layersmenu-noscript.inc.php");

//$mid = new LayersMenu(140, 20, 20);
$mid = new XLayersMenu();

$mid->setDirroot("/auto/ott-tst/apache/htdocs/qboot/menu/");
$mid->setLibdir("menu/lib/");
$mid->setLibwww("menu/lib/");
$mid->setTpldir("menu/templates/");
$mid->setImgdir("menu/images/");
$mid->setImgwww("menu/images/");

$mid->setVerticalMenuTpl("menu/templates/layersmenu-vertical_menu-green.ihtml");
$mid->setSubMenuTpl("menu/templates/layersmenu-sub_menu-darkgreen.ihtml");
$mid->setPlainMenuTpl("menu/templates/layersmenu-plain_menu-green.ihtml");
$mid->setForwardArrowImg("forward-nautilus.png");
//$mid->setForwardArrow(" -->");
//$mid->newPlainMenu("vermenu1");
//$mid->setPHPTreeMenuDefaultExpansion("67|68|82");
//$mid->newPHPTreeMenu("vermenu1");
//$mid->setTreeMenuDefaultExpansion("67|68");
//$mid->newTreeMenu("vermenu1");

///

$mid->setMenuStructureFile( "menu/boot.txt");
$mid->parseMenuStructure("boot");
$mid->newVerticalMenu("boot");
$mid->setMenuStructureFile( "menu/vlan.txt");
$mid->parseMenuStructure("vlan");
$mid->newVerticalMenu("vlan");
$mid->setMenuStructureFile( "menu/mana.txt");
$mid->parseMenuStructure("mana");
$mid->newVerticalMenu("mana");
$mid->setMenuStructureFile( "menu/qnet.txt");
$mid->parseMenuStructure("qnet");
$mid->newVerticalMenu("qnet");
$mid->setMenuStructureFile( "menu/kernel.txt");
$mid->parseMenuStructure("kernel");
$mid->newVerticalMenu("kernel");
$mid->setMenuStructureFile( "menu/pakman.txt");
$mid->parseMenuStructure("pakman");
$mid->newVerticalMenu("pakman");
$mid->setMenuStructureFile( "menu/filesys.txt");
$mid->parseMenuStructure("filesys");
$mid->newVerticalMenu("filesys");
$mid->setMenuStructureFile( "menu/distser.txt");
$mid->parseMenuStructure("distser");
$mid->newVerticalMenu("distser");
$mid->setMenuStructureFile( "menu/sysdb.txt");
$mid->parseMenuStructure("sysdb");
$mid->newVerticalMenu("sysdb");
$mid->setMenuStructureFile( "menu/isis.txt");
$mid->parseMenuStructure("isis");
$mid->newVerticalMenu("isis");
$mid->setMenuStructureFile( "menu/isp.txt");
$mid->parseMenuStructure("isp");
$mid->newVerticalMenu("isp");
$mid->setMenuStructureFile( "menu/sit.txt");
$mid->parseMenuStructure("sit");
$mid->newVerticalMenu("sit");
$mid->setMenuStructureFile( "menu/failover.txt");
$mid->parseMenuStructure("failover");
$mid->newVerticalMenu("failover");
$mid->setMenuStructureFile( "menu/mpls.txt");
$mid->parseMenuStructure("mpls");
$mid->newVerticalMenu("mpls");
$mid->setMenuStructureFile( "menu/transport.txt");
$mid->parseMenuStructure("transport");
$mid->newVerticalMenu("transport");
$mid->setMenuStructureFile( "menu/platform.txt");
$mid->parseMenuStructure("platform");
$mid->newVerticalMenu("platform");

$mid->setVerticalMenuTpl("menu/templates/layersmenu-vertical_menu.ihtml");
$mid->setSubMenuTpl("menu/templates/layersmenu-sub_menu-black.ihtml");
$mid->setPlainMenuTpl("menu/templates/layersmenu-plain_menu.ihtml");

$mid->setMenuStructureFile( "menu/local.txt");
$mid->parseMenuStructure("local");
$mid->newVerticalMenu("local");
$mid->setMenuStructureFile( "menu/howtoqps.txt");
$mid->parseMenuStructure("howtoqps");
$mid->newVerticalMenu("howtoqps");
$mid->setMenuStructureFile( "menu/howtoqboot.txt");
$mid->parseMenuStructure("howtoqboot");
$mid->newVerticalMenu("howtoqboot");

///

$mid->printHeader();

?>

</head>

<body>

<table width="99%" border="1" cellpadding="8" cellspacing="1">
<tr>
<td width="24%" class="navqb" align="center" valign="top" rowspan="2">

<br>Boot<br>
<?php $mid->printMenu("boot"); ?>

<br>Failover<br>
<?php $mid->printMenu("failover"); ?>

<br>File System<br>
<?php $mid->printMenu("filesys"); ?>

<br>QNET<br>
<?php $mid->printMenu("qnet"); ?>

<br>Manageability<br>
<?php $mid->printMenu("mana"); ?>

<br>Distributed Services<br>
<?php $mid->printMenu("distser"); ?>

</td>
<td width="24%" class="navqb" align="center" valign="top" rowspan="2">

<br>ISP Routing System<br>
<?php $mid->printMenu("isp"); ?>

<br>PFI Infrastructure<br>
<?php $mid->printMenu("pakman"); ?>

<br>Kernel<br>
<?php $mid->printMenu("kernel"); ?>

<br>MPLS<br>
<?php $mid->printMenu("mpls"); ?>

<br>SysDB<br>
<?php $mid->printMenu("sysdb"); ?>

</td>
<td width="24%" class="navqb" align="center" valign="top" rowspan="2">

<br>SIT<br>
<?php $mid->printMenu("sit"); ?>

<br>Platform<br>
<?php $mid->printMenu("platform"); ?>

<br>Transport<br>
<?php $mid->printMenu("transport"); ?>

<br>Routing protocols<br>
<?php $mid->printMenu("isis"); ?>

<br>VLAN<br>
<?php $mid->printMenu("vlan"); ?>

</td>
<td width="22%" bgcolor=white align="center" valign="top" rowspan="2">
<img src=/images/teamworkcup.gif>

<br>Q-performance Information<br>
<?php $mid->printMenu("local"); ?>

<br><img src=/images/flashing_star.gif>SYSTEM DOCUMENTATION<br>
<?php $mid->printMenu("howtoqps"); ?>

<br>Instructions for the instrumented (time) images<br>
<?php $mid->printMenu("howtoqboot"); ?>
</td>

</tr>
</table>
<?php
$mid->printFooter();
?>

</body>
</html>

Discussion

  • Marco Pratesi

    Marco Pratesi - 2003-01-10

    Logged In: YES
    user_id=65709

    You have submitted code that uses menu structures that you
    have not submitted, hence I cannot reproduce the problem.

    Anyway, the code you have submitted is not valid: it even
    does not open the "html" tag and it closes a "head" tag
    that it has not been opened; I cannot ensure that the menu
    system behaves correctly in non correct pages.

    Marco Pratesi

     
  • Marco Pratesi

    Marco Pratesi - 2003-01-12
    • status: open --> closed
     

Log in to post a comment.