Hi,
I hope you can help me - I've tried to find the answer in the forum, but I can't seem to find an answer that helps me.
The thing is...
I have a design with a topbanner, a content area and a footer (and a hole lot more, but these are the basiv divs). On a special event (I don't have a problem triggering the expose on the event), I need the content area to be exposed - and only the content area.
The problem is that expose resizes the window, and present scrolling-bars (because it resizes the maskId to window-size ). I somehow need to be able to first calculate the size of #contentArea, and make it fit to that area only (perhaps I can use fit() here, but I don't know how), and I just can't get my head around it :(
Can you please help me - and please feel free to ask me, if you don't understand my problem.
Thanks in advance :)
I hope you can help me - I've tried to find the answer in the forum, but I can't seem to find an answer that helps me.
The thing is...
I have a design with a topbanner, a content area and a footer (and a hole lot more, but these are the basiv divs). On a special event (I don't have a problem triggering the expose on the event), I need the content area to be exposed - and only the content area.
The problem is that expose resizes the window, and present scrolling-bars (because it resizes the maskId to window-size ). I somehow need to be able to first calculate the size of #contentArea, and make it fit to that area only (perhaps I can use fit() here, but I don't know how), and I just can't get my head around it :(
$("#overlay").expose({
maskId: 'overlay',
color: '#c3d940',
opacity: 0.6
});
<div id="topBanner" style="height:100px;">Top</div>
<div id="contentArea" style="min-height:400px;">Content</div>
<div id="foot" style="height:20px;">Foot</div>
Can you please help me - and please feel free to ask me, if you don't understand my problem.
Thanks in advance :)
