howard chen wrote:
> seems this is a basic effect which didn't cover in the jquery effect methods?
>
Hi,
I am new to this list and have just started JQuery: this was one of my
first uses for JQUERY, for equalising a two column layout: I found this
works:
// equalise length of columns
lh = $("#lefthandcolinner").height();
rh = $("#maincolinner").height();
if ( lh > rh ) $("#maincolinner").height(lh);
if ( lh < rh ) $("#lefthandcolinner").height(rh);
RELATED ISSUE:
However, I also wanted to apply corner shaping to these columns too. I
found that the bottom corners would have the effect applied at their
initial position, not their new position after calling the height()
function - regardless of the order of statements. Anyone else come
across this and know if there is a fix for this? I was using :
//
// jq-corner.js - jQuery method for creating corner effects
//
// If this works, it was written by Dave Methvin ([EMAIL PROTECTED]).
// If it's broken, please fix it and send me a working copy.
// Modified by M. Alsup ([EMAIL PROTECTED]) to support more styles
// Version 1.01, 10/24/2006
//
Thanks, Pete
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/