-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Learning jQuery - Fourth Edition - Fourth Edition
To complete these exercises, you will need the index.html file for this chapter, as well as the finished JavaScript code as found in complete.js. These files can be downloaded from the Packt Publishing website at http://www.packtpub.com/support.
The challenge exercises may require the use of the official jQuery documentation at http://api.jquery.com/:
Alter the buildItem() function so that it includes the long description of each jQuery method it displays.
Here's a challenge for you. Add a form to the page that points to a Flickr public photo search (http://www.flickr.com/search/) and make sure it has <input name="q"> and a submit button. Use progressive enhancement to retrieve the photos from Flickr's JSONP feed service at http://api.flickr.com/services/feeds/photos_public.gne instead and insert them into the content area of the page. When sending data to this service, use tags instead of q and set format to json. Also note that rather than callback, the service expects the...
Change the font size
Change margin width
Change background colour