-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pete Dowdell Sent: 14 February 2007 12:07 To: jQuery Discussion. Subject: Re: [jQuery] How to expand the height of a DIV
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 discuss@jquery.com Hey All, Apologies if this has been answered elsewhere, but is there any reason this wouldnt work on IE? I'm sure my lack of fundamental understanding contributes to this too so any further reading is welcomed :¬) $("a#css_switch").toggle(function(){ $("html, body").css({ color: "#fff;", background: "#222;" }); },function(){ $("html, body").css({ color: "#525252;", background: "#ededed;" }); }); Are there better ways of doing this also? Annndddd is there a way to search the list? I noticed you can view month-by-month but I guess I am looking for a quicker way to find information. Cheers! Toby _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/