Alex Cook wrote:
>> As a mere mortal I'm just surprised you haven't written
>> one in between asking the question??!!  ;-)
>>     
> Well I started on one thinking it would be simple, but ran into some
> problems so I figured I'd ask if anyone else had solved them. As Douglas
> Crockford says, "The good thing about reinventing the wheel is you get
> to
> make a round one."
Well I still have a unfinished splitter jQuery plugin, the most problems 
are the different css width behaviors, some older Opera versions seems 
to change the size as soon as the width properties are set via 
javascript. :/

I took the unobtrusive way, so I have a complete css layout, a container 
with 3 panes, each pane is styled via css.

$(document).ready(
        function()
        {
                $('#container').Splitter(
                        {
                                type: 'v'
                        }
                ).ieFixLayout();
        }
);
As usually IE doesn't really support this kind of layout,
this means currently IE is fixed via javascript.
(In the spirit of Dean Edwards IE7)

The real challenging tasks are still not solved:
- How to handle certain size constraints right. 
- Let panes behave right when you start to resize the browser.
(Specially challenging when you have more then two panes.)
- Make css margins/paddings/borders behave right on all browsers.

Best regards
Oskar



_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to