2009-02-07 41 views
0

我正在尝试使用bgiform,但它似乎没有任何效果。显示时,IE中的文本被从对话框的屏幕上移开。它在FF中正常工作。有任何想法吗?Jquery - 对话框在IE6上无法正确显示

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<title>Zoleris</title> 
<link href="style.css" rel="stylesheet" type="text/css" /> 
<link href="jquery-ui-themeroller/theme/ui.theme.css" rel="stylesheet" type="text/css" /> 

<script type="text/javascript" src="jquery-1.3.1.js"></script> 
<script type="text/javascript" src="bgiframe_2.1.1/jquery.bgiframe.js"></script> 
<script type="text/javascript" src="jquery-ui-personalized-1.5.3.js"></script> 
<script type="text/javascript">           
    $(document).ready(
    function() 
    { 
    $("#block").dialog({ 
    bgiframe: true}); 
    } 
); 
</script> 
<style> 
#block { 
    width: 150px; 
    height: 70px; 
    margin: 10px; 
} 
</style> 
</head> 
<body> 
<div id="block" title="title">blah</div> 
</body> 
</html> 

回答

1

library已过时,它被标记为Metaplugin

Metaplugins具有以下特点:

  • 你可以用 jQuery的实现自己
  • 可能难以实现跨浏览器
  • 用户 不会注意到他们

看到Release notes

现在,它的工作原理与jQuery 1.1.3

我建议你看其他插件像这样。