is there a simple way to get the div elements fitting completely in a defined area?
Example:

<div id="redbox"> RESIZE DIV </div>
<div id="grid">
<div id="box1"></div>
<div id="box2"></div>
<div id="box3"></div>
<div id="box4"></div>
</div>
I got 4 Boxes (grey) and I am able to resize a div (red on top of all boxes). After resize I want to know which of the div elements are fitting completely in this area.
Does anyone knows how to do this? Is there a method or function in JQUERY?
It looks to me like the
withinBoxplugin might help you solve this (jquery.fn.withinBox). You could use the code like this: