Forum .LRN Q&A: Re: RFC: Portlet shading

Collapse
3: Re: RFC: Portlet shading (response to 1)
Posted by Malte Sussdorff on
I think you should add client sided shading and use the shaded_p parameter to control the javascript/css default parameter for each portlet.

E.g. if you have a JS variable "my_portlet_shaded_p", this controls the shading state on the client side. The shaded_p variable controls to what the my_portlet_shaded_p JS variable should be set whenever the server sends data to the client.

Obviously you would remove the < if @shaded_p@ ne "t"> part :).