the second argument should really be some condition that determines if that is the current age and returns True/False
On Oct 13, 6:06 pm, Stef Mientki <stef.mien...@gmail.com> wrote: > On 14-10-2010 00:58, Stef Mientki wrote: > > > hello, > > > thanks to you all I got the left sidebar menu working, great !! > > > Still a few questions : > > > 1. In chapter 5, it says, each MENU item takes 3 parameters "as described > > in chapter 4", > > but I can't find the description of these parameters, where should I look, > > and more what does that second parameter "False" mean ? > > And that raises the next question, it it's (almost) always False, can't it > > be a keyword argument > > that might be left out ? > > > 2. why so many square brackets ? > > ( I think it can be done with one less) > > > 3. I love the "append" (and probably other methods) of the Helpers, really > > beautiful !! > > Why does Menu not allow these methods ? > > sorry, I forgot to mention the work around, I use now > LSB_Menu = [] > LSB_Menu.append ( [ 'Stef','http://pic.flappie.nl'] ) > LSB_Menu.append ( [ 'Stef','http://pic.flappie.nl'] ) > LSB_Menu.append ( [ 'Stef','http://pic.flappie.nl'] ) > for Item in LSB_Menu : > Item.insert ( 1, False ) > response.beertje = MENU ( LSB_Menu ) > > > thanks, > > Stef Mientki > >