[fusion-users] Jx.Panel Start Maximized/Closed

Tómas Guðmundsson tomas at snertill.is
Fri Aug 8 05:08:17 EDT 2008


Hi tim,

Not sure if this is what you're looking for but in index.html under the 
templates folder for the template you are using there is a function called
fusionInitialized. In there you can ask the panelman, (manager of panels)
to maximize a single panel for you.


var fusionInitialized = function() {
    $('AppContainer').resize({forceResize: true});
    panelman.maximizePanel(panel1); // Maximize the panel at startup.

}

However, I do not know how to programmatically resize the panels so that
one is x sized, other is y sized and all others are closed for example.
(If that is what you're looking for).

Regards,
Tómas

-----Original Message-----
From: fusion-users-bounces at lists.osgeo.org [mailto:fusion-users-bounces at lists.osgeo.org] On Behalf Of Nolte, Tim
Sent: 7. ágúst 2008 16:37
To: fusion-users at lists.osgeo.org
Subject: [fusion-users] Jx.Panel Start Maximized/Closed

I've got two widgets in a panel bar. I'd like one to be default
maximized and the other default closed, when first launching the Fusion
application. I've tried looking through the JX JavaScript file to get a
handle on how the Panel are constructed. I see that there are some items
in there to maximize, and even found a 'state' option for panels.
However, it seems that the 'state' (open/closed) option isn't
implemented yet. Anyone have any suggestions on this? Thanks.

- Tim

----
Timothy J Nolte - tnolte at ilpcs.com
Network Planning Engineer

iPCS Wireless, Inc.
4717 Broadmoor Ave, Suite G
Kentwood, MI 49512

Office: 616-656-5163
PCS:    616-706-2438
Fax:    616-554-6484
Web: www.ipcswirelessinc.com
_______________________________________________
fusion-users mailing list
fusion-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fusion-users


More information about the fusion-users mailing list