<script type="text/javascript">
$(function() {
$('a.StackedSystem').hover(function(e) {
var html = '<div id="StackedSysteminfo">';
html += '<div id="StackedSystemTxt">
ETTER utilizes the latest technologies for our booster systems, including PLC-Based controls complete with touch-screen panel user interfaces (HMI). The base package includes the gray scale screen as shown; color screens are also available. The PLC not only provides a cleaner interface but provides additional features like automatic logging and time/date stamping of all alarms and shut-downs.
Great for trouble-shooting.</div>';
html += '</div>';
$('body').append(html).children('#info').hide().fadeIn(400);
}, function() {
$('#StackedSysteminfo').remove();
});
});
</script>发布于 2010-12-30 02:51:47
看一看jQuery UI Position,然后详细说明你的问题。哪些元素?
发布于 2010-12-30 03:10:50
$('element').css({"position":"absolute","top":15,"left":10 });在本例中,您将从页面顶部定位元素15 px,从页面左侧定位元素10 px。
编辑
然后,您可以将上面的absolute更改为relative,并确保包装器处于绝对或相对位置。
https://stackoverflow.com/questions/4556887
复制相似问题