[jQuery] Re: height of div

2007-08-30 Thread John Resig
Try this: $('#content').load('home.html', function(){ $(.seperator).height( $(this).height() ); }); --John On 8/30/07, b0bd0gz [EMAIL PROTECTED] wrote: Hi, I'm trying to get the height value of a div that's contents are retrieved from a separate html file using .load, but it only ever

[jQuery] Re: height of div

2007-08-30 Thread b0bd0gz
Thanks for the quick reply, still getting a height value of zero I'm afraid, any other ideas? b0bd0gz Try this: $('#content').load('home.html', function(){ $(.seperator).height( $(this).height() ); }); --John -- View this message in context:

[jQuery] Re: height of div

2007-08-30 Thread Dragan Krstic
In this situations, I prefer to use dimension plugin. It is quite charming to use it. 2007/8/30, b0bd0gz [EMAIL PROTECTED]: Thanks for the quick reply, still getting a height value of zero I'm afraid, any other ideas? b0bd0gz Try this: $('#content').load('home.html', function(){