25 Sep 2006 1:49 AM #1
Split-bar elementtodrag object
While creating split-bar, i want it to be created without the 'elementtodrag'
i.e. some what like this
var YSB = YAHOO.ext.SplitBar; var split1 = new YSB(null, 'lnav', null, YSB.LEFT);
Is this possible? (coz. i tried it's giving me some errors)
How do i make it possible? (except for the fact that i can tweak the minSize and maxSize to the same value and remove the e-resize cursor from the lsplit, but still having the lsplit panel on my page. This doesn't seem right to me)
25 Sep 2006 2:58 AM #2
I'm a little lost. What good is a SplitBar with no element to drag?
If you are just looking to hide the splitter:
var splitbar = new YAHOO.ext.SplitBar(...);
Did you just want to hide it?
25 Sep 2006 4:34 AM #3
I was just trying to have an option of making divisions in the page ( like frameset but without using it) and then i thought of the splitbar control in yui-ext and wondered that it would have been better to have an option to explicitly make it fixed and not re-sizable
25 Sep 2006 5:05 AM #4
Hiding the drag element will accomplish that. In fact on my blog when the navigation bar is collapsed, it's not resizable. All I did was hide the splitter element as described above.
25 Sep 2006 5:43 AM #5
By raphinou in forum Ext 1.x: Help & DiscussionReplies: 4Last Post: 1 Jun 2007, 7:20 AM
By nbailey in forum Ext 1.x: Help & DiscussionReplies: 4Last Post: 28 Mar 2007, 2:16 PM
By alastairD in forum Ext 2.x: Help & DiscussionReplies: 7Last Post: 25 Feb 2007, 11:38 AM
By artnum in forum Ext 1.x: Help & DiscussionReplies: 1Last Post: 4 Jan 2007, 7:07 AM
By KuN in forum Ext 1.x: Help & DiscussionReplies: 1Last Post: 30 Oct 2006, 12:16 PM