87,909
社区成员
发帖
与我相关
我的任务
分享
<!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>jQuery.ccdialog</title>
<script type="text/javascript" src="js/jquery-1.6.4.min.js"></script>
<script type="text/javascript" src="js/jquery.ccdialog-1.1.min.js"></script>
<script type="text/javascript">
$(function(){
//jQuery.ccdialog
$("#hello-ccdialog").click(function(){
$("#test").ccdialog({
width: 200,
height: 'auto'
});
});
});
</script>
</head>
<body>
<a href="#hello-ccdialog" id="hello-ccdialog" style="color:red;">点击看看效果</a>
<div id="test" style="display:none;">-----ccdialog-----<br /><br />*****hello world*****</div>
</body>
</html>