[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/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/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/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/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
www.dhtmlgoodies.com • View topic - Modify the status bar depending on the active tab
Page 1 of 1

Modify the status bar depending on the active tab

PostPosted: Thu Jul 12, 2007 11:10 am
by Bruno Konik

PostPosted: Thu Jul 12, 2007 12:55 pm
by Batalf

PostPosted: Thu Jul 12, 2007 2:01 pm
by Bruno Konik

PostPosted: Thu Jul 12, 2007 2:12 pm
by Bruno Konik

PostPosted: Fri Jul 13, 2007 11:34 am
by Batalf

PostPosted: Fri Jul 13, 2007 1:57 pm
by Bruno Konik
Thanks Batalf,

this is good... I had done almost the same thing but... :

1 - this would be good to have the method setCallbackOnTabSwitch available publicly on the window model (so that it is not mandatory to fill the properties in the div but better hide some of them to the user).
2 - I think you should call the method __handleCallback from the __displayActiveContent method so that the callback is also called at the first opening of the window (after a refresh for instance) and not only after a click.

I have also noticed a little bug on the div windowProperties : you must name isResizable and not resizable, as well as isClosable instead of closable and the others 'able' are the same I believe.

Thanks for your fast reply.

Bruno

PostPosted: Fri Jul 13, 2007 1:59 pm
by Bruno Konik
Batalf,

in my last post, the Thanks for your fast reply is standing at the end of the email, it should be at the start to thank you first!

Best regards,

Bruno