JQUERY中的resizable函数怎么无效呢
<html><head><title>Resizable</title><styletype="text/css">#resizable{border:#966solid...
<html>
<head>
<title>Resizable</title>
<style type="text/css">
#resizable
{
border:#966 solid 2px;
width:150px;
height:200px;
}
</style>
<script src="../script/jquery-1.8.3.min.js"></script>
<script src="../script/jquery.ui.core.js"></script>
<script src="../script/jquery.ui.widget.js"></script>
<script src="../script/jquery.ui.mouse.js"></script>
<script src="../script/jquery.ui.resizable.js"></script>
<script>
$(function(){
$("#resizable").resizable();
});
</script>
</head>
<body>
<div id="resizable">
<h3 align="center">Resizable</h3>
</div>
</body>
</html> 展开
<head>
<title>Resizable</title>
<style type="text/css">
#resizable
{
border:#966 solid 2px;
width:150px;
height:200px;
}
</style>
<script src="../script/jquery-1.8.3.min.js"></script>
<script src="../script/jquery.ui.core.js"></script>
<script src="../script/jquery.ui.widget.js"></script>
<script src="../script/jquery.ui.mouse.js"></script>
<script src="../script/jquery.ui.resizable.js"></script>
<script>
$(function(){
$("#resizable").resizable();
});
</script>
</head>
<body>
<div id="resizable">
<h3 align="center">Resizable</h3>
</div>
</body>
</html> 展开
1个回答
展开全部
参考官方的例子:
<html lang="en">
<head>
<meta charset="utf-8">
<title>resizable demo</title>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
<style>
#resizable {
width: 100px;
height: 100px;
background: #ccc;
} </style>
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
</head>
<body>
<div id="resizable"></div>
<script>
$( "#resizable" ).resizable();
</script>
</body>
</html>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询