Looks like you solved it, works great! Thanks Raluca :-)
Regards,
Lockie
Raluca Stavro-2 wrote:
>
> Hello Ricardo and Lockie,
>
> If you want the initial value to be collapsed, but then you want cookies
> to
> work, what you have to do is to add a JavaScript function that will handle
> the in
Ricardo Rodríguez wrote:
>
> Please, Lockie, how to you get a collapsed panel at page loading time
> being later on controlled by a cookie? I mean, panel A appears collapsed
> when you access the site for the first time. From this moment onwards, a
> cookie will remember the preferences of eac
Hi Lockie!
On 3/8/11 1:31 AM, Lockie wrote:
> Ricardo Rodríguez wrote:
>> #if(!$expanded)
>> #set($expanded = 'collapsed')
>> #end
>>
> Thanks I found this helpful. It means I don't have to have javascript
> extensions collapsing the panels, slowing down load times.
But as Raluca stated in he
Thanks Raluca!
Please, see below.
On 3/7/11 7:51 AM, Raluca Stavro wrote:
> Hello,
>
> On Mon, Mar 7, 2011 at 12:39 AM, Ricardo Rodriguez [eBioTIC.]
> mailto:ricardo.rodrig...@ebiotic.net>>
> wrote:
>
> Hi all!
>
> I'm still struggling to understand how expanded/collapsed state of
>
Ricardo Rodríguez wrote:
>
> #if(!$expanded)
>#set($expanded = 'collapsed')
> #end
>
Thanks I found this helpful. It means I don't have to have javascript
extensions collapsing the panels, slowing down load times.
-
Lockie
--
View this message in context:
http://xwiki.475771.n2.n
Hello,
On Mon, Mar 7, 2011 at 12:39 AM, Ricardo Rodriguez [eBioTIC.] <
ricardo.rodrig...@ebiotic.net> wrote:
> Hi all!
>
> I'm still struggling to understand how expanded/collapsed state of
> panels do work.
>
> I'm currently using a 2.4.30451 XE/XEM installation.
>
> Looking for macros controlli
Hi all!
I'm still struggling to understand how expanded/collapsed state of
panels do work.
I'm currently using a 2.4.30451 XE/XEM installation.
Looking for macros controlling this state in macros.vm, I see:
***
#macro(panelheader $title)
#set($cookieName = "${context.user.replaceAll(':','')}_$