|
复制代码 代码如下:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<TITLE>脚本之家 - www.jb51.NET</TITLE>
<script type="text/Javascript" src="mootools.js"></script>
<link href="imageMenu.css" rel="stylesheet" type="text/css" />
<script type="text/Javascript" src="imageMenu.js"></script>
</head>
<body >
<div id="kwick">
<ul class="kwicks">
<li class="kwick opt1"><span>1</span></li>
<li class="kwick opt2"><span>2</span></li>
<li class="kwick opt3"><span>3</span></li>
<li class="kwick opt4"><span>4</span></li>
<li class="kwick opt5"><span>5</span></li>
</ul>
</div>
<script type="text/Javascript">
var myMenu ;
window.onload=load_var
function load_var(){
if (ImageMenu){myMenu = new ImageMenu($$('#kwick .kwick'),{openWidth:200});return}
else setTimeout ("load_var()",30)
}
</script>
<br />
<a href=http://www.jb51.NET/> 脚本之家</a>
</body>
</html>
演示:
http://www.jb51.NET/test/picslide/
JavaScript技术:非常漂亮的JS代码经典广告,转载需保留来源!
郑重声明:本文版权归原作者所有,转载文章仅为传播更多信息之目的,如作者信息标记有误,请第一时间联系我们修改或删除,多谢。