1.

Record Nr.

UNINA9910971756403321

Autore

Wellman Dan

Titolo

jQuery hotshot : ten practical projects that exercise your skill, build your confidence, and help you master JQuery / / Dan Wellman

Pubbl/distr/stampa

Birmingham, U.K., : Packt Publishing, 2013

ISBN

9781299441255

1299441254

9781849519113

1849519110

Edizione

[1st ed.]

Descrizione fisica

1 online resource (296 p.)

Disciplina

006.7/4

Soggetti

JavaScript (Computer program language)

Web site development

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

Nota di contenuto

Cover; Copyright; Credits; Foreword; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Project 1: Sliding Puzzle; Mission Briefing; Laying down the underlying HTML; Creating a code wrapper and defining variables; Splitting an image into pieces; Shuffling the puzzle pieces; Making the puzzle pieces draggable; Starting and stopping the timer; Determining if the puzzle has been solved; Remembering best times and adding some final styling; Mission Accomplished; You Ready To Go Gung HO? A Hotshot Challenge

Project 2:A Fixed Position Sidebar with  Animated ScrollingMission Briefing; Building a suitable demo page; Storing the initial position of the fixed element; Detecting when the page has scrolled; Handling browser window resizes; Automating scrolling; Restoring the browser's back button; Handling the hash fragment on page load; Mission Accomplished; You Ready To Go Gung HO? A Hotshot Challenge; Project 3:An Interactive Google Map; Mission Briefing; Creating the page and interface; Initializing the map; Showing the company HQ with a custom overlay; Capturing clicks on the map

Updating the UI with the start and end locationsHandling marker



repositions; Factoring in weights; Displaying the projected distance and cost; Mission Accomplished; You Ready To Go Gung HO? A Hotshot Challenge; Project 4:A jQuery Mobile Single-page App; Mission Briefing; Building the welcome page; Adding a second page; Creating the script wrapper; Getting some bounties; Adding a JsRender template; Building the list view; Building an item view; Handling paging; Mission Accomplished; You Ready To Go Gung HO? A Hotshot Challenge; Project 5:jQuery File Uploader; Mission Briefing

Creating the page and plugin wrapperGenerating the underlying markup; Adding event handlers for receiving files to upload; Displaying the list of selected files; Removing files from the upload list; Adding a jQuery UI progress indicator; Uploading the selected files; Reporting success and tidying up; Mission Accomplished; You Ready To Go Gung HO? A Hotshot Challenge; Project 6:Extending Chrome with jQuery; Mission Briefing; Setting up the basic extension structure; Adding a manifest and installing the extension; Adding a sandboxed JsRender template; Posting a message to the sandbox

Adding a content scriptScraping the page for microdata; Adding a mechanism for saving the microdata; Mission Accomplished; You Ready To Go Gung HO? A Hotshot Challenge; Project 7:Build Your Own jQuery; Mission Briefing; Installing Git and Make; Installing Node.js; Installing Grunt.js; Configuring the environment; Building a custom jQuery; Running unit tests with QUnit; Mission Accomplished; You Ready To Go Gung HO? A Hotshot Challenge; Project 8:Infinite Scrolling with jQuery; Mission Briefing; Preparing the underlying page; Getting the initial feeds; Displaying the initial set of results

Handling scrolling to the bottom of the page

Sommario/riassunto

This book takes a hands-on, tutorial-style approach that walks you step -by -step through 10 individual projects that each focus on producing a specific, real-world product or application.This book is aimed primarily at front-end developers, preferably already with a little jQuery experience, or those people that simply want to build on their existing skills with jQuery.