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
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to