[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
Advertisement

Menu bar problem with firefox 3.5

Moderators: Calcifer, slothy

Menu bar problem with firefox 3.5

Postby khedive » Wed Jul 08, 2009 9:23 am

khedive
 
Posts: 5
Joined: Tue Nov 11, 2008 12:41 pm

Postby Batalf » Fri Jul 10, 2009 9:00 am

I'm looking at it. Will hopefully have a fix ready soon.
Batalf
Site Admin
 
Posts: 2160
Joined: Sat Oct 22, 2005 9:38 pm

Postby khedive » Fri Jul 10, 2009 10:37 am

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;

}
}
}
khedive
 
Posts: 5
Joined: Tue Nov 11, 2008 12:41 pm

Postby Batalf » Fri Jul 10, 2009 6:13 pm

Thank you khedive :)
Batalf
Site Admin
 
Posts: 2160
Joined: Sat Oct 22, 2005 9:38 pm

Postby notaplayer83 » Wed Aug 19, 2009 3:21 pm

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.
notaplayer83
 
Posts: 2
Joined: Wed Aug 19, 2009 3:14 pm

to notaplayer83

Postby khedive » Thu Sep 17, 2009 1:06 pm

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.
khedive
 
Posts: 5
Joined: Tue Nov 11, 2008 12:41 pm

Postby sweet12 » Sun Jun 13, 2010 4:25 am

After experiencing some difficulty logging on, I am now in business. Last week I was lucky enough to see the 'simpsons movie'.
















sweet12
 
Posts: 1
Joined: Sun Jun 13, 2010 4:12 am


Return to General questions

Who is online

Users browsing this forum: No registered users and 12 guests

cron