我在让任何 jQuery 在我的页面上工作时遇到问题。并不是说它工作不正常,只是它似乎没有做任何事情……而且我已经搜索了一个星期试图找到答案或原因,但它没有转动有什么问题,所以我要在这里向大家提问,希望我能得到一些帮助。我的 html 和 js 文件粘贴在这里:
HTML
<html>
<head>
<title>My Page!</title>
<link rel='stylesheet' type='text/css' href='stylesheet.css'/>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/jquery.min.js"></script>
<script src='script.js'></script>
</head>
<body>
<div class="wrapper">
<header>Welcome to my site!</header>
<nav>
<a href="i310index.html"> About Me |</a>
<a href="i310interests.html">My Interests |</a>
<a href="i310resume.html">Resume |</a>
<a href="i310contact.html">Contact Me</a>
</nav>
<div class="content">
<p>Hello there, my name is Amanda and I'm a fifth year senior here at IU. I have been spent the semester learning jQuery for INFO-I 310 to make this website. It has been difficult to learn, but it has also been really interesting!
<br /> <br />
I will be graduating from IU this May (2014) with a Bachelor's degree in Informatics, as well as a cognate and minor in Pyschology. I would love to find a career after graduation where I can use the technology skills I have learned to help others. While I will be sad to leave IU, I am also excited about what will come in the future!</p>
</div>
</div>
</body>
</html>
jQuery 文件
$(document).ready(function() {
$( ".content" ).resizable({ animate: true });
});
我只是不知道在哪里可以看到这一点,我想弄清楚为什么它不会做任何事情,所以任何帮助都将不胜感激!!!非常感谢!!:)