我是新手mootools
,我正在处理演示示例,moopopup
但对我来说,加载远程的选项 url 不会弹出。
<link href="moopopup.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="mootools-core-yc.js"></script>
<script type="text/javascript" src="mootools-more-yc.js"></script>
<script src="moopopup-yc.js" type="text/javascript"></script>
<script type="text/javascript">
function runExample3() {
var mypopup3 = new moopopup({
title: 'My home page',
resizable: false,
width: 800,
max_body_height: 600,
url: 'http://www.google.co.in/'
});
mypopup3.display();
}
</script>
</head>
<body onLoad="prettyPrint()">
<span class="button link" onclick="runExample3();">run javascript</span>
</body>
这是网址: