我正在尝试在页面加载时调用 jquery (avgrund) 模态窗口插件,但我不知道该怎么做,这是我目前所拥有的;插件页面在按钮单击时调用插件,但我不希望它在页面加载时执行...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en" class="no-js">
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="AvgrundModal/avgrund.css" />
</head>
<body>
<div id="avtest">NO RESULTS</div>
<!-- Include JavaScript file -->
<script src="AvgrundModal/jquery.avgrund.js"></script>
<script>
$(document).ready(function(){
$('#avtest').avgrund();
});
</script>
</body>
</html>
该插件的链接在这里... http://labs.voronianski.com/jquery.avgrund.js/