Reputation: 119
I've seen a few threads here about the resizeable() function in JQuery not working but they usually seem to come down to not including the css. I'm including the CSS but something is still wrong and I've spent days trying to figure out what. Any help? Simplified version:
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css"></link>
<script src="http://code.jquery.com/jquery-1.10.2.js"></script>
<script src="http://code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<script> $(document).ready(function() {
$(function() { $("#test").resizeable(); }); }); </script>
</head>
<body>
<img id="test" src="http://i.imgur.com/lrdy4jc.jpg" />
</body>
</html>
Upvotes: 0
Views: 68
Reputation: 3815
works great for me......
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css"></link>
<script src="http://code.jquery.com/jquery-1.10.2.js"></script>
<script src="http://code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<script>
$(document).ready(function() {
$("#test").resizable();
});
</script>
</head>
<body>
<img id="test" src="http://i.imgur.com/lrdy4jc.jpg" />
</body>
</html>
ouchy resizable()
spelling
Upvotes: 1