[jQuery] Re: Make width of inner div equal outer

2009-07-29 Thread Paul Collins
Hi all, I haven't received a response, so I've put up a test page to make it a bit more clear. http://paulcollinslondon.com/test/test.html Basically, the second level navigation is showing when the page loads, because the parent list item for "ABOUT US" has a class of "selected". When you mouseove

[jQuery] Re: Make width of inner div equal outer

2009-07-27 Thread Paul Collins
Hi all, I'm completely stuck and been trying to solve this all day! Any help would be greatly appreciated... Basically, I have a suckerfish type navigation. It works fine with CSS and I'm trying to add some JQuery to animate the slide-down effect. I've got that working, but I need to have the sub

[jQuery] Re: Make width of inner div equal outer

2009-07-24 Thread Paul Collins
Excellent, works a treat, thanks Eric... 2009/7/23 Eric Garside > > $('.secondLevel').css('width', $('#header').width()); > > On Jul 23, 1:16 pm, Paul Collins wrote: > > Hi all, > > I've got a problem with IE6 and I need to basically find the width of the > > "header" DIV and make the "secondLe

[jQuery] Re: Make width of inner div equal outer

2009-07-23 Thread Eric Garside
$('.secondLevel').css('width', $('#header').width()); On Jul 23, 1:16 pm, Paul Collins wrote: > Hi all, > I've got a problem with IE6 and I need to basically find the width of the > "header" DIV and make the "secondLevel" DIV match it. So, I guess I need to > target IE6 specifically in the code.