啥情況啊 完全沒反應
<!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>
? ? ? ? <title>拖曳插件</title>
? ? ? ? <link href="style.css" rel="stylesheet" type="text/css" />
? ? ? ? <script src="http://www.xianlaiwan.cn/data/jquery-1.8.2.min.js" type="text/javascript"></script>
? ? ? ? <script src="http://www.xianlaiwan.cn/data/jquery-ui-1.9.2.min.js" type="text/javascript"></script>
? ? </head>
? ??
? ? <body>
? ? ? ? <div id="divtest">
? ? ? ? ? ? <div id="x" class="drag">沿x軸拖拽</div>
? ? ? ? ? ? <div id="y" class="drag">沿y軸拖拽</div>
? ? ? ? </div>
? ? ? ??
? ? ? ? <script type="text/javascript">
? ? ? ? ? ? $(function () {
? ? ? ? ? ? ? ? $("#x").draggable({ containment:"parent",axis: "x"})
? ? ? ? ? ? ? ? $("#y").draggable({ containment:"parent",axis: "y" })
? ? ? ? ? ? });
? ? ? ? </script>
? ? </body>
</html>
2018-12-11
將引用js中的http改為https