Not in the base, but you might want to use the dimensions plugin.
Look at this sample page:
http://brandon.jquery.com/plugins/dimensions/test/offset.html
There are a few "rounded corner" plugins as well which find those spots.
http://docs.jquery.com/Plugins
When you say "overlay" do you mean like a modal dialog?
The interface plugin has lots of features to do this kind of stuff.
http://interface.eyecon.ro/demos
I hope this helps.
Glen
On 2/22/07, Microtoby <[EMAIL PROTECTED]> wrote:
Hi, Guys,
In yui library, there is a good way to set overlay's position:
// This call says that myOverlay's top right corner should be snapped to
"myContextEl"'s top left corner.
*myOverlay.cfg.setProperty("context", ["myContextEl", "tr", "tl"]); *
// To change the alignment later, you can also call "align" once the context
property has already been set.
// This call will change the alignment so that myOverlay's top right corner is snapped to
"myContextEl"'s bottom left corner.
*myOverlay.align("tr", "bl");*
* *
does there any to use this in jquery?
Best regards,
Microtoby
2007-2-22
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/