[mapguide-users] Fusion jx.splitter

benjanmin erictsn at gmail.com
Tue Sep 7 00:19:38 EDT 2010


Dear All,

Now I would like to modify the Fusion layout; how can the splitter be closed
at first? and then it will be opened when the user click the "snapevents".
Which option I can use for that?

http://jxlib.org/reference/api/files/Layout/splitter-js.html

    var splitter = new Jx.Splitter('SplitterArea', { 
        elements:[$('Sidebar'),$('MapArea')],
        layout:'horizontal',
        containerOptions: [{minWidth:8, width: 180}],
		snaps:
		barTooltip:
        barOptions: [{
            snap: 'before',
            snapElement: $('SidebarCollapse'),
            snapEvents: ['click']
        }]
    });



Thanks in advance.
Ben
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Fusion-jx-splitter-tp5505173p5505173.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list