最佳答案
更新:我在编辑之前发布了我的第
一个答案,表明箭头被放置在对话框的正文中,所以这是我更新的
代码:
var $mydialog = $('
myArrow div已被移动到对话框的主内容div,CSS可能是这样的:
.myArrow{
display:block;
position:absolute;
width:15px;
height:15px;
left:-15px; /* pushes the arrow OUTSIDE the Box */
top:50px; /* or however far from the top you wish */
background: url(path/to/arrow.jpg) center right no-repeat;
margin:0 15px 0 0;
}