O'Reilly Forums: Missing Folder - O'Reilly Forums
Page 1 of 1
Missing Folder
#1
Posted 07 February 2012 - 03:13 PM
First I am sorry if I have the wrong forum. I didn't see a forum for the jquery book. I'm doing the exercise on page 28 and I can not find the scripts folder that has the jquery-1.6.2.min.js file.
#2
Posted 07 February 2012 - 06:47 PM
mindapolis, on 07 February 2012 - 03:13 PM, said:
First I am sorry if I have the wrong forum. I didn't see a forum for the jquery book.
http://forums.oreill...d-first-jquery/
Quote
I'm doing the exercise on page 28 and I can not find the scripts folder that has the jquery-1.6.2.min.js file.
The code for all chapters is at http://forums.oreill...d-first-jquery/
The jQuery code seems to usually be located in the "scripts" folders. Look in both the Begin and end folders.
#4
Posted 08 February 2012 - 11:10 AM
It still isn't doing the exercise right. I have uploaded everything and I get the textbox, but nothing is clickable. here's the code.
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<link href="my_style.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="clickMe"> show me the furry friend of the day </div>
<div id="picframe">
<img src="assets/furry_friend.jpg" width="209" height="315">
</div>
<script src="scripts/jquery-1.6.2.min.js"> </script>
<script>
$(document).ready(function(){
$("$clickMe").click(function() {
$("img").fadeIn(1000);
$("#picframe").slideToggle("slow");
});
});
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<link href="my_style.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="clickMe"> show me the furry friend of the day </div>
<div id="picframe">
<img src="assets/furry_friend.jpg" width="209" height="315">
</div>
<script src="scripts/jquery-1.6.2.min.js"> </script>
<script>
$(document).ready(function(){
$("$clickMe").click(function() {
$("img").fadeIn(1000);
$("#picframe").slideToggle("slow");
});
});
</script>
</body>
</html>
This post has been edited by mindapolis: 08 February 2012 - 11:32 AM
#5
Posted 08 February 2012 - 11:20 AM
$("$clickMe").click(function() -> $("#clickMe").click(function()
Share this topic:
Page 1 of 1



















