jQuery-ui Position
Teste com posicionamento
by edgardleal
HTML
<div id="center"></div>
CSS
#center{
width : 50px;
height : 50px;
background : red;
border-radius : 15px;
position : absolute;
top : 150px;
left : 150px;
}
.bol{
width : 20px;
height : 20px;
background : blue;
border-top-left-radius : 10px;
border-top-right-radius : 10px;
/*position : absolute;*/
}
JavaScript
$(document).ready(function(){
$("<div class='bol'></div>").appendTo("body")
.position({my : "bottom", at : "top", of : "#center"});
console.log('done');
});