Thank you for a test page. I'm going to take a look at this in more detail as soon as I get the chance.
-- Brandon Aaron On 3/15/07, rolfsf <[EMAIL PROTECTED]> wrote: > > okay, so I figured it out... I think > > http://www.monkeypuzzle.net/testfiles/jquery/leftRight/index2.html > > jQuery.fn.sizeLayout = function() { > if($.browser.msie){ > var ww = $(window).width(); > var wh = $(window).height(); > var pt = $('#rightPane').offset().top; > var dw = $('#leftPane').outerWidth(); > $('#leftPane').css('height', (wh - pt - 10) + > 'px'); // set height of > left div > $('#rightPane').css('height', (wh - pt - 10) > + 'px'); > $('#rightPane').css('width', (ww - dw - 30) + 'px'); }; > }; > > $().ready(function(){ > $(window).sizeLayout(); > $(window).resize(function(){ > $(this).sizeLayout(); > }); > }); > > but can someone tell me why, on document load in IE6, there's an additional > 16px at the bottom, which disappears on resize? Dimensions.js seems to think > there is a bottom scrollbar maybe? > > Thanks > > -- > View this message in context: > http://www.nabble.com/help-with-syntax%2C-naming-a-function-tf3409727.html#a9501497 > Sent from the JQuery mailing list archive at Nabble.com. > > > _______________________________________________ > jQuery mailing list > [email protected] > http://jquery.com/discuss/ > _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
