I have a project where I wish to open up a form at a specific location relative to other page elements. I'd also like to block the non-form page items while the form is open. I've played around with blockUI, but it appears that I can only position the non-blocked DIV relative to the browser window. That's great for modals, but not great for my situation.
Let me see if I can clarify with an example. Let's say I have some code like:
<div style="position:relative; height:400px; width:600px;">
<p>This content should be blocked, as well as anything not in the next div</p>
<div id="non-blocked-content" style="position:absolute; top:40px; left: 200px; width:300px; height:200px;">
<form>
<label>This should not be blocked</label>
<input type="text" name="name">
</form>
</div>
</div>
I'd like the form to appear and be useable, but the rest of the page content should be blocked. Does anyone know of a javascript (preferably jQuery) package to pull this off?
Thanks! - Bret