Learning jQuery 1.3: better interaction design and web development with simple JavaScript techniques
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Birmingham [u.a.]
Packt Publ.
2009
|
Ausgabe: | 1. publ. |
Schriftenreihe: | From technologies to solutions
|
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis |
Beschreibung: | IX, 421 S. Ill., graph. Darst. |
ISBN: | 9781847196705 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV035405132 | ||
003 | DE-604 | ||
005 | 20101122 | ||
007 | t | ||
008 | 090401s2009 ad|| |||| 00||| eng d | ||
020 | |a 9781847196705 |9 978-1-847196-70-5 | ||
035 | |a (OCoLC)310402049 | ||
035 | |a (DE-599)BVBBV035405132 | ||
040 | |a DE-604 |b ger |e rakwb | ||
041 | 0 | |a eng | |
049 | |a DE-863 |a DE-83 | ||
050 | 0 | |a QA76.73.J39 | |
082 | 0 | |a 006.76 |2 22 | |
084 | |a ST 253 |0 (DE-625)143628: |2 rvk | ||
100 | 1 | |a Chaffer, Jonathan |e Verfasser |4 aut | |
245 | 1 | 0 | |a Learning jQuery 1.3 |b better interaction design and web development with simple JavaScript techniques |c Jonathan Chaffer ; Karl Swedberg |
250 | |a 1. publ. | ||
264 | 1 | |a Birmingham [u.a.] |b Packt Publ. |c 2009 | |
300 | |a IX, 421 S. |b Ill., graph. Darst. | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
490 | 0 | |a From technologies to solutions | |
650 | 4 | |a Internet programming | |
650 | 4 | |a JavaScript (Computer program language) | |
650 | 4 | |a Web site development | |
650 | 4 | |a Web sites |x Design | |
650 | 0 | 7 | |a Abfragesprache |0 (DE-588)4134011-5 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a jQuery |0 (DE-588)7681087-2 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a JavaScript |0 (DE-588)4420180-1 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a Abfragesprache |0 (DE-588)4134011-5 |D s |
689 | 0 | 1 | |a JavaScript |0 (DE-588)4420180-1 |D s |
689 | 0 | |5 DE-604 | |
689 | 1 | 0 | |a jQuery |0 (DE-588)7681087-2 |D s |
689 | 1 | |5 DE-604 | |
700 | 1 | |a Swedberg, Karl B. |e Verfasser |4 aut | |
856 | 4 | 2 | |m Digitalisierung UB Bayreuth |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=017325714&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
999 | |a oai:aleph.bib-bvb.de:BVB01-017325714 |
Datensatz im Suchindex
DE-BY-862_location | 2801 |
---|---|
DE-BY-FWS_call_number | 2801/2024:0134 |
DE-BY-FWS_katkey | 338031 |
DE-BY-FWS_media_number | 083101086447 |
_version_ | 1809863199181242368 |
adam_text | Table
of
Contents
Preface
________________________________________________________1
Chapter
1 :
Getting Started
_______________________________________7
What jQuery does
7
Why jQuery works well
8
History of the jQuery project
10
Our first jQuery-powered web page
11
Downloading jQuery
11
Setting up the HTML document
11
Adding jQuery
14
Finding the poem text
15
Injecting the new class
15
Executing the code
15
The finished product
17
Summary
18
Chapter
2:
Selectors
___________________________________________19
The Document Object Model
19
The
$()
factory function
20
CSS selectors
21
Styling list-item levels
23
Attribute selectors
24
Styling links
25
Custom selectors
26
Styling alternate rows
27
Form selectors
29
DOM traversal methods
30
Styling specific cells
31
Chaining
32
Accessing DOM elements
33
Summary
34
Table of
Contents
Chapter
3: Events----------------------------------------------------------------------------35
Performing tasks on page load
35
Timing of code execution 35
Multiple scripts on one page
36
Shortcuts for code brevity
37
Coexisting with other libraries
38
Simple events 39
A simple style switcher
39
Enabling the other buttons
41
Event handler context
43
Further consolidation
45
Shorthand events
47
Compound events
48
Showing and hiding advanced features
48
Highlighting clickable items
50
The journey of an event
51
Side effects of event bubbling
53
Altering the journey: the event object
53
Event targets
54
Stopping event propagation
55
Default actions
56
Event delegation
56
Removing an event handler
58
Event namespacing
59
Rebinding events
60
Simulating user interaction
62
Keyboard events
63
Summary g6
Chapter
4:
Effects
____________________________________________
g7
Inline CSS modification
57
Basic hide and show
72
Effects and speed
74
Speeding in
74
Fading in and fading out
75
Compound effects jq
Creating custom animations
77
Toggling the fade
78
Animating multiple properties
7g
Positioning with CSS 81
Simultaneous versus queued effects
82
Working with a single set of elements
82
-------------------------------------
[¡і]
--------------.------------------------
Table of
Conten
ís
Working with multiple sets of elements
85
Callbacks
87
In a nutshell
89
Summary
90
Chapter
5:
DOM Manipulation
__________________________________91
Manipulating attributes
91
Non-class attributes
91
The
$()
factory function revisited
94
Inserting new elements
96
Moving elements
98
Marking, numbering, and linking the context
101
Appending footnotes
103
Wrapping elements
105
Copying elements
106
Clone with events
107
Cloning for pull quotes
107
A CSS diversion
108
Back to the code
109
Prettifying the pull quotes
111
DOM manipulation methods in a nutshell
113
Summary
114
Chapter
6: AJAX___________________________________________
И5
Loading data on demand
115
Appending HTML
117
Working with JavaScript objects
120
Retrieving a JavaScript object
120
Global jQuery functions
121
Executing a script
125
Loading an XML document
127
Choosing a data format
130
Passing data to the server
131
Performing a GET request
132
Performing a POST request
136
Serializing a form
137
Keeping an eye on the request
139
AJAX
and events
142
Security limitations
143
Using JSONP for remote data
144
Additional options
146
The low-level
AJAX
method
146
Modifying default options
147
---------------------------------------------
[Ш]
---------------------------------------------
Table of Contents
Loading parts of an HTML page
Summary
Chapter
7:
Tahle
Manipulation
Sorting and paging
jj
Server-side sorting
Д
Preventing page refreshes 1 ~J
JavaScript sorting
ДЗ
Row grouping tags
]
~
Basic alphabetical sorting ]~°
The power of plugins
^1
Performance concerns 6
Finessing the sort keys
1 ^3
Sorting other types of data 165
Column highlighting 168
Alternating sort directions 168
Server-side pagination
171
Sorting and paging go together
171
JavaScript pagination
173
Displaying the pager
173
Enabling the pager buttons
174
Marking the current page
176
Paging with sorting
177
The finished code
178
Modifying table appearance
180
Row highlighting
181
Row striping
182
Advanced row striping
185
Interactive row highlighting
186
Tooltips
189
Collapsing and expanding sections
194
Filtering
196
Filter options
197
Reversing the filters
199
Interacting with other code
200
The finished code
202
Summary
205
Chapter
8:
Forms with Function
________________________________
2ÖZ
Improving a basic form
207
Progressively enhanced form styling
208
The legend
210
Required field messages
211
Conditionally displayed fields
215
Form validation
217
Required fields
218
----------------------------— [iv] -------------_-----------------
Table of
Contents
Required formats
221
A final check
223
Checkbox manipulation
226
The finished code
228
Compact forms
232
Placeholder text for fields
232
AJAX
auto-completion
235
On the server
236
In the browser
237
Populating the search field
238
Keyboard navigation
239
Handling the arrow keys
241
Inserting suggestions in the field
242
Removing the suggestion list
243
Auto-completion versus live search
243
The finished code
244
Working with numeric form data
246
Shopping cart table structure
247
Rejecting non-numeric input
250
Numeric calculations
251
Parsing and formatting currency
252
Dealing with decimal places
254
Other calculations
255
Rounding values
256
Finishing touches
257
Deleting items
258
Editing shipping information
263
The finished code
266
Summary
268
Chapter
9:
Shufflers and Rotators
______________________________269
Headline rotator
269
Setting up the page
270
Retrieving the feed
272
Setting up the rotator
275
The headline rotate function
276
Pause on hover
279
Retrieving a feed from a different domain
281
Adding a loading indicator
282
Gradient fade effect
283
The finished code
285
An image carousel
287
Setting up the page
288
Revising the styles with JavaScript
290
-----------------------------------
[v]
-----------------------------------
Table
of
Contents
Shuffling
images
when clicked
291
Adding sliding animation 294
Displaying action icons 295
Image enlargement
299
Hiding the enlarged cover
301
Displaying a close button
302
More fun with badging
304
Animating the cover enlargement
306
Deferring animations until image loads
310
Adding a loading indicator
311
The finished code
313
Summary
316
Chapter
10:
Using
Plugins____________________________________
Ш
Finding plugins and help
317
How to use a plugin
318
The Form plugin
318
Tips and tricks
320
The jQuery Ul plugin library
321
Effects
321
Color animations
322
Class animations
322
Advanced easing
322
Additional effects
323
Interaction components
324
Widgets
326
jQuery Ul ThemeRoller
329
Other recommended plugins
330
Forms
330
Autocomplete 33q
Validation 331
Jeditable 331
Masked input
332
fables
Tables
jqGrid
Tables
332
Tablesorter
»33
333
Flexigrid
334
Images
«04
Jcrop
334
Magnify
tg.
Lightboxes and Modal Dialogs
336
FancyBox
^rZ
Thickbox
ГІГ
BlockUl f£
JqModa. gj
[vij
Table of
Contents
Charting
338
Flot
338
Sparklines
339
Events 340
hoverlntent
340
Live query
340
Summary
340
Chapter
11:
Developing plugins
________________________________341
Adding new global functions
341
Adding multiple functions
342
What s the point?
343
Creating a utility method
343
Adding jQuery Object Methods
345
Object Method context
345
Method chaining
348
DOM traversal methods
349
Adding new shortcut methods
354
Method parameters
357
Simple parameters
359
Parameter maps
360
Default parameter values
361
Callback functions
362
Customizable defaults
363
Adding a selector expression
365
Sharing a plugin with the world
368
Naming conventions
368
Use of the
$
alias
369
Method interfaces
369
Documentation style
370
Summary
370
Appendix A: Online Resources
________________________________371
jQuery documentation
371
jQuery wiki
371
jQuery API
371
jQuery API browser
371
Visual jQuery
372
Adobe AIR jQueryAPI viewer
372
JavaScript reference
372
Mozilla
developer center
372
Dev.opera
372
[vii]
Table of
Contents
MSDN JScript
Reference
372
Quirksmode 373
JavaScript Toolbox 373
JavaScript
code compressors 373
YUI
Compressor 373
JSMin 373
Pretty printer 374
(X)HTML
reference
574
W3C
hypertext markup language home page
374
CSS reference 374
W3C cascading style sheets home page
374
Mezzoblue
CSS cribsheet
374
Position is everything
375
Useful blogs
375
The jQuery blog
375
Learning jQuery
375
Ajaxian
375
John Resig
375
JavaScript ant
376
Robert s talk
376
Web standards with imagination
376
Snook
376
Matt Snider JavaScript resource
376
I can t
376
DOM scripting
377
As days pass by
377
A list apart
377
Web development frameworks using jQuery
377
Appendix B: Development Tools
___________________________
3_ZS
Tools for Firefox
379
Firebug
379
Web developer toolbar
380
Venkman
380
Regular expressions tester
380
Tools for Internet Explorer
380
Microsoft Internet Explorer Developer Toolbar
380
Microsoft Visual Web Developer
381
DebugBar 3g1
Drip 381
[viii]
Table of
Contents
Tools for Safari
381
Develop Menu
381
Web Inspector
382
Tools for Opera
382
Dragonfly
382
Other tools
382
Firebug Lite
382
NitobiBug
383
TextMate jQuery bundle
383
Charles
383
Fiddler
383
Aptana
383
Appendix C: JavaScript Closures
____________________________385
Inner functions
385
The great escape
387
Variable scoping
388
Interactions between closures
390
Closures in jQuery
391
Arguments to SidocumentJ.readyO
391
Event handlers
392
Memory leak hazards
394
Accidental reference loops
395
The Internet Explorer memory leak problem
396
The good news
397
Summary
397
Appendix D: Quick Reference
__________________________________399
Selector expressions
399
DOM traversal methods
401
Event methods
402
Effect methods
404
DOM manipulation methods
405
AJAX
methods
408
Miscellaneous methods
409
Index
_________________________________________________ 411
[ix]
|
any_adam_object | 1 |
author | Chaffer, Jonathan Swedberg, Karl B. |
author_facet | Chaffer, Jonathan Swedberg, Karl B. |
author_role | aut aut |
author_sort | Chaffer, Jonathan |
author_variant | j c jc k b s kb kbs |
building | Verbundindex |
bvnumber | BV035405132 |
callnumber-first | Q - Science |
callnumber-label | QA76 |
callnumber-raw | QA76.73.J39 |
callnumber-search | QA76.73.J39 |
callnumber-sort | QA 276.73 J39 |
callnumber-subject | QA - Mathematics |
classification_rvk | ST 253 |
ctrlnum | (OCoLC)310402049 (DE-599)BVBBV035405132 |
dewey-full | 006.76 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 006 - Special computer methods |
dewey-raw | 006.76 |
dewey-search | 006.76 |
dewey-sort | 16.76 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
edition | 1. publ. |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>01832nam a2200481 c 4500</leader><controlfield tag="001">BV035405132</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20101122 </controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">090401s2009 ad|| |||| 00||| eng d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781847196705</subfield><subfield code="9">978-1-847196-70-5</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)310402049</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)BVBBV035405132</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">rakwb</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-863</subfield><subfield code="a">DE-83</subfield></datafield><datafield tag="050" ind1=" " ind2="0"><subfield code="a">QA76.73.J39</subfield></datafield><datafield tag="082" ind1="0" ind2=" "><subfield code="a">006.76</subfield><subfield code="2">22</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 253</subfield><subfield code="0">(DE-625)143628:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Chaffer, Jonathan</subfield><subfield code="e">Verfasser</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Learning jQuery 1.3</subfield><subfield code="b">better interaction design and web development with simple JavaScript techniques</subfield><subfield code="c">Jonathan Chaffer ; Karl Swedberg</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="a">1. publ.</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Birmingham [u.a.]</subfield><subfield code="b">Packt Publ.</subfield><subfield code="c">2009</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">IX, 421 S.</subfield><subfield code="b">Ill., graph. Darst.</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="490" ind1="0" ind2=" "><subfield code="a">From technologies to solutions</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Internet programming</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">JavaScript (Computer program language)</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Web site development</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Web sites</subfield><subfield code="x">Design</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Abfragesprache</subfield><subfield code="0">(DE-588)4134011-5</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">jQuery</subfield><subfield code="0">(DE-588)7681087-2</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">JavaScript</subfield><subfield code="0">(DE-588)4420180-1</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">Abfragesprache</subfield><subfield code="0">(DE-588)4134011-5</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2="1"><subfield code="a">JavaScript</subfield><subfield code="0">(DE-588)4420180-1</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="689" ind1="1" ind2="0"><subfield code="a">jQuery</subfield><subfield code="0">(DE-588)7681087-2</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="1" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="700" ind1="1" ind2=" "><subfield code="a">Swedberg, Karl B.</subfield><subfield code="e">Verfasser</subfield><subfield code="4">aut</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">Digitalisierung UB Bayreuth</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=017325714&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="999" ind1=" " ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-017325714</subfield></datafield></record></collection> |
id | DE-604.BV035405132 |
illustrated | Illustrated |
indexdate | 2024-09-11T04:00:49Z |
institution | BVB |
isbn | 9781847196705 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-017325714 |
oclc_num | 310402049 |
open_access_boolean | |
owner | DE-863 DE-BY-FWS DE-83 |
owner_facet | DE-863 DE-BY-FWS DE-83 |
physical | IX, 421 S. Ill., graph. Darst. |
publishDate | 2009 |
publishDateSearch | 2009 |
publishDateSort | 2009 |
publisher | Packt Publ. |
record_format | marc |
series2 | From technologies to solutions |
spellingShingle | Chaffer, Jonathan Swedberg, Karl B. Learning jQuery 1.3 better interaction design and web development with simple JavaScript techniques Internet programming JavaScript (Computer program language) Web site development Web sites Design Abfragesprache (DE-588)4134011-5 gnd jQuery (DE-588)7681087-2 gnd JavaScript (DE-588)4420180-1 gnd |
subject_GND | (DE-588)4134011-5 (DE-588)7681087-2 (DE-588)4420180-1 |
title | Learning jQuery 1.3 better interaction design and web development with simple JavaScript techniques |
title_auth | Learning jQuery 1.3 better interaction design and web development with simple JavaScript techniques |
title_exact_search | Learning jQuery 1.3 better interaction design and web development with simple JavaScript techniques |
title_full | Learning jQuery 1.3 better interaction design and web development with simple JavaScript techniques Jonathan Chaffer ; Karl Swedberg |
title_fullStr | Learning jQuery 1.3 better interaction design and web development with simple JavaScript techniques Jonathan Chaffer ; Karl Swedberg |
title_full_unstemmed | Learning jQuery 1.3 better interaction design and web development with simple JavaScript techniques Jonathan Chaffer ; Karl Swedberg |
title_short | Learning jQuery 1.3 |
title_sort | learning jquery 1 3 better interaction design and web development with simple javascript techniques |
title_sub | better interaction design and web development with simple JavaScript techniques |
topic | Internet programming JavaScript (Computer program language) Web site development Web sites Design Abfragesprache (DE-588)4134011-5 gnd jQuery (DE-588)7681087-2 gnd JavaScript (DE-588)4420180-1 gnd |
topic_facet | Internet programming JavaScript (Computer program language) Web site development Web sites Design Abfragesprache jQuery JavaScript |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=017325714&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT chafferjonathan learningjquery13betterinteractiondesignandwebdevelopmentwithsimplejavascripttechniques AT swedbergkarlb learningjquery13betterinteractiondesignandwebdevelopmentwithsimplejavascripttechniques |
Inhaltsverzeichnis
Schweinfurt Magazin
Signatur: |
2801 2024:0134 |
---|---|
Exemplar 1 | ausleihbar Verfügbar Bestellen |