WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Menu3 bug (100% overload), Andrew Hologram, August 30, 1999
     Re:Menu3 bug (100% overload) , test, February 13, 2001
     Re:Menu3 bug (100% overload), Erik Arvidsson, September 1, 1999

Subject: Menu3 bug (100% overload) From: Andrew Hologram Date: August 30, 1999

Menu 3 bug.

If you r using menu3 with big menu (over 1500 menu items) you can get 100% system overload when u open or close root menu.

You need to make this correction.



function hideAllMenuScriptlets() {
 var objs = document.all.tags("OBJECT");
 for (var i=0; i<objs.length; i++) {
  if (objs[i].hideMenu) // Test if the object is a menu
 var roots = document.all.item("opened"); //////// add this line
// var roots = document.all;                      //////// remove this line
 if(roots!=null)     /////////////////////////// add this line
 for (var i=0; i<roots.length; i++) {
  if (roots[i].className == "rootActive")  {
   roots[i].className = "root";
   roots[i].name = "";  /////////////////////////// add this line
   getParent(roots[i], isMenuBar).shownMenu = null;

in every place with this assingnment:

  el.className = "rootActive";

add this at next line:
  el.id = "opened";



    Andrew Hologram


Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.

View All Messages
Back to WebFX