Browse files

ajax & effects exercise updates

  • Loading branch information...
1 parent 333efd2 commit 525e8977a896046a7f7d5ba7ac7c738b9ad31b9c @rmurphey committed Feb 20, 2011
View
24 exercises/ajax.html
@@ -0,0 +1,24 @@
+<!doctype html>
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+ <title>jQuery Fundamentals :: Ajax</title>
+ <link href="css/reset.css" rel="stylesheet" type="text/css" media="all" />
+ <link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
+</head>
+
+<body>
+ <ul id="seen"></ul>
+
+ <form id="people">
+ <select name="person"></select>
+ </form>
+
+ <div id="info"></div>
+
+ <script src="libs/jquery-1.5.0.js"></script>
+ <script>
+
+ </script>
+</body>
+</html>
View
33 exercises/data/people.json
@@ -0,0 +1,33 @@
+{
+ "people" : [
+ {
+ "id" : "jaubourg",
+ "name" : "Julian Auborg"
+ },
+
+ {
+ "id" : "phiggins",
+ "name" : "Peter Higgins"
+ },
+
+ {
+ "id" : "blowery",
+ "name" : "Ben Lowery"
+ },
+
+ {
+ "id" : "jeresig",
+ "name" : "John Resig"
+ },
+
+ {
+ "id" : "slightlylate",
+ "name" : "Alex Russell"
+ },
+
+ {
+ "id" : "ajpiano",
+ "name" : "Adam Sontag"
+ }
+ ]
+}
View
6 exercises/data/people/ajpiano.json
@@ -0,0 +1,6 @@
+{
+ "bio" : "i cohost the @yayquery podcast. i play synth in @bellevuesfinest. i have a lot of monitors but have been known to code in the tub.",
+ "twitter" : "ajpiano",
+ "tweet" : "http://twitter.com/#!/tvishwanadha/status/38748324672577536",
+ "avatar" : "http://a0.twimg.com/profile_images/530311059/twitpic_reasonably_small.jpg"
+}
View
7 exercises/data/people/blowery.json
@@ -0,0 +1,7 @@
+{
+ "bio" : "all your bandwidth is belong to me",
+ "twitter" : "blowery",
+ "tweet" : "http://twitter.com/#!/blowery/status/39006602925322241",
+ "avatar" : "http://a3.twimg.com/profile_images/108664742/blowery-128.png"
+}
+
View
7 exercises/data/people/jaubourg.json
@@ -0,0 +1,7 @@
+{
+ "twitter" : "blowery",
+ "tweet" : "http://twitter.com/#!/jaubourg/status/38786284113633282",
+ "avatar" : "http://a0.twimg.com/profile_images/935212408/mmorpg2.png"
+}
+
+
View
6 exercises/data/people/jeresig.json
@@ -0,0 +1,6 @@
+{
+ "bio" : "Creator of jQuery, JavaScript programmer, blogger, author, work for Mozilla.",
+ "twitter" : "jeresig",
+ "tweet" : "http://twitter.com/#!/jeresig/status/38709496792485888",
+ "avatar" : "http://a1.twimg.com/profile_images/1181631474/john.jpg"
+}
View
8 exercises/data/people/phiggins.json
@@ -0,0 +1,8 @@
+{
+ "bio" : "JavaScript hacker^H^H^H^H^Hlover, Dojo Toolkit Project Lead, Future President",
+ "twitter" : "phiggins",
+ "tweet" : "http://twitter.com/#!/phiggins/status/37070257508057088",
+ "avatar" : "http://a3.twimg.com/profile_images/57589677/dante.png"
+}
+
+
View
6 exercises/data/people/slightlylate.json
@@ -0,0 +1,6 @@
+{
+ "bio" : "Turns out it's not turtles, it's C++...all the way down.",
+ "twitter" : "blowery",
+ "tweet" : "http://twitter.com/#!/slightlylate/status/38652678389235712",
+ "avatar" : "http://a0.twimg.com/profile_images/1195918887/headshot.png"
+}
View
13 exercises/data/specials.json
@@ -5,11 +5,18 @@
"image" : "/images/special.jpg",
"color" : "red"
},
-
+
"tuesday" : {
"title" : "Twofer Tuesday",
"text" : "Two vegetables for the price of one!.",
"image" : "/images/special.jpg",
"color" : "green"
- }
-}
+ },
+
+ "friday" : {
+ "title" : "20% Off",
+ "text" : "All meals 20% off. Yeah, on our busiest day.",
+ "image" : "/images/special.jpg",
+ "color" : "cyan"
+ }
+}
View
3 exercises/index.html
@@ -94,9 +94,10 @@ <h2 rel="yummy fruit!">Fruit</h2>
<ul>
<li>
<select name="day">
- <option value="">Select</option>
+ <option value="" selected>Select</option>
<option value="monday">Monday</option>
<option value="tuesday">Tuesday</option>
+ <option value="friday">Friday</option>
</select>
</li>
<li class="buttons">
View
35 exercises/slideshow.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+ <title>jQuery Fundamentals :: Slideshow</title>
+ <link href="css/reset.css" rel="stylesheet" type="text/css" media="all" />
+ <link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
+</head>
+
+<body>
+ <ul id="slideshow">
+ <li>
+ <h2>Fruit</h2>
+ <img src="images/fruit.jpg" alt="fruit" />
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
+ </li>
+ <li>
+ <h2>Vegetables</h2>
+ <img src="images/vegetable.jpg" alt="vegetables" />
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
+ </li>
+ <li>
+ <h2>Bread</h2>
+ <img src="images/bread.jpg" alt="bread" />
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
+ </li>
+ </ul>
+
+ <script src="libs/jquery-1.5.0.js"></script>
+ <script>
+
+ </script>
+</body>
+</html>
+

0 comments on commit 525e897

Please sign in to comment.