[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4284: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4286: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4287: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4288: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
www.dhtmlgoodies.com • View topic - Menu bar problem with firefox 3.5
Page 1 of 1

Menu bar problem with firefox 3.5

PostPosted: Wed Jul 08, 2009 9:23 am
by khedive

PostPosted: Fri Jul 10, 2009 9:00 am
by Batalf
I'm looking at it. Will hopefully have a fix ready soon.

PostPosted: Fri Jul 10, 2009 10:37 am
by khedive
as a quick workaround I found a following way:

dhtmlSuite-menuModel.js:

...
var menuItems = new Array();
...

__getDepths:function(){
for(var no=0;no<this.menuItemsOrder.length;no++){
var id=this.menuItemsOrder[no];
if(!id)continue;
while (!this.menuItems[id]) { //add this
}
this.menuItems[id].depth=1;
if(this.menuItems[id].parentId){
this.menuItems[id].depth=this.menuItems[this.menuItems[id].parentId].depth+1;

}
this.menuItems[id].type=this.submenuType[this.menuItems[id].depth];
// Save menu direction for this menu item.
}
}

// }}}
,

// {{{ __setHasSubs()
/**
* Create variable for the depth of each menu item.
*
*
*@private
*/
__setHasSubs:function(){
for(var no=0;no<this.menuItemsOrder.length;no++){
var id=this.menuItemsOrder[no];
if(!id)continue;
while (!this.menuItems[id]) { //add this
}
if(this.menuItems[id].parentId){
this.menuItems[this.menuItems[id].parentId].hasSubs=1;

}
}
}

PostPosted: Fri Jul 10, 2009 6:13 pm
by Batalf
Thank you khedive :)

PostPosted: Wed Aug 19, 2009 3:21 pm
by notaplayer83
Hi guys :)

I have a problem with that fix and previous versions of FF (like 3.0.13) and IE 7.
When it reaches the while you added (either in _getDepths or _setHasSubs) it stops working. The browser shows me that message where it says there's a javascript file which is taking too much time to execute, and it asks you if you wanna stop it, or debug it or continue executing it.

And of course if I comment that part the menu disappears in FF 3.5 :(

Thanks in advance for your help :)

R.

to notaplayer83

PostPosted: Thu Sep 17, 2009 1:06 pm
by khedive
notaplayer83, pls, give us the structure of your menu (full html+ initializing javascript pieces)

My menus work ok with fix with all types of browsers.

PostPosted: Sun Jun 13, 2010 4:25 am
by sweet12
After experiencing some difficulty logging on, I am now in business. Last week I was lucky enough to see the 'simpsons movie'.