Frederic G. MARAND
							
						 | 
						
							
							
								13c46145a6
							
							Listing 4.2: read font size.
						 | 
						10 years ago | 
					
				
					
						
							
								   Frederic G. MARAND
							
						 | 
						
							
							
								d61cca567a
							
							Listing 4.1: handle click on switcher-large.
						 | 
						10 years ago | 
					
				
					
						
							
								   Frederic G. MARAND
							
						 | 
						
							
							
								a5570b3e57
							
							Exercice 5: track mouse down/up on whole surface.
						 | 
						10 years ago | 
					
				
					
						
							
								   Frederic G. MARAND
							
						 | 
						
							
							
								b6cdf70a96
							
							Exercise 4: track mouse moves across P elements.
						 | 
						10 years ago | 
					
				
					
						
							
								   Frederic G. MARAND
							
						 | 
						
							
							
								70b0ed814a
							
							Exercice 3: use next body class on right arrow.
						 | 
						10 years ago | 
					
				
					
						
							
								   Frederic G. MARAND
							
						 | 
						
							
							
								fad4611f1a
							
							Exercise 2: hide/reveal chapters on title click.
						 | 
						10 years ago | 
					
				
					
						
							
								   Frederic G. MARAND
							
						 | 
						
							
							
								7e5229bfd9
							
							Exercise 1: toggle "selected" when clicking on Charles Dickens.
						 | 
						10 years ago | 
					
				
					
						
							
								   Frederic G. MARAND
							
						 | 
						
							
							
								4351af518a
							
							Listing 3.26: general refactoring to reduce redundancy and get a single handler.
						 | 
						10 years ago | 
					
				
					
						
							
								   Frederic G. MARAND
							
						 | 
						
							
							
								ef560e2023
							
							Listing 3.25: bubbling keyup.
						 | 
						10 years ago | 
					
				
					
						
							
								   Frederic G. MARAND
							
						 | 
						
							
							
								3fddcf9ea9
							
							Listing 3.24: trigger() alias/shortcuts.
						 | 
						10 years ago | 
					
				
					
						
							
								   Frederic G. MARAND
							
						 | 
						
							
							
								e70c4f73a6
							
							Listing 3.23: simulating click with trigger().
						 | 
						10 years ago | 
					
				
					
						
							
								   Frederic G. MARAND
							
						 | 
						
							
							
								0651b2b3ff
							
							Listing 3.22: selecting handler unbiding.
						 | 
						10 years ago | 
					
				
					
						
							
								   Frederic G. MARAND
							
						 | 
						
							
							
								097e1bc7f2
							
							Listing 3.21: event rebinding.
						 | 
						10 years ago | 
					
				
					
						
							
								   Frederic G. MARAND
							
						 | 
						
							
							
								0aeb73e7a6
							
							Listing 3.20: event handler as a variable.
						 | 
						10 years ago | 
					
				
					
						
							
								   Frederic G. MARAND
							
						 | 
						
							
							
								ed3bebd080
							
							Listing 3.19: event handler namespacing.
						 | 
						10 years ago | 
					
				
					
						
							
								   Frederic G. MARAND
							
						 | 
						
							
							
								af79817a7b
							
							Listing 3.18: removing an event handler.
						 | 
						10 years ago | 
					
				
					
						
							
								   Frederic G. MARAND
							
						 | 
						
							
							
								95dab092a3
							
							Listing 3.17: use on() for delegation.
						 | 
						10 years ago | 
					
				
					
						
							
								   Frederic G. MARAND
							
						 | 
						
							
							
								6cb229817f
							
							Listing 3.16: single click handler.
						 | 
						10 years ago | 
					
				
					
						
							
								   Frederic G. MARAND
							
						 | 
						
							
							
								3564fb0289
							
							Listing 3.15: working with factored button handling.
						 | 
						10 years ago | 
					
				
					
						
							
								   Frederic G. MARAND
							
						 | 
						
							
							
								a42e85005b
							
							Listing 3.14: factor button click handling.
						 | 
						10 years ago | 
					
				
					
						
							
								   Frederic G. MARAND
							
						 | 
						
							
							
								4f8ba61458
							
							Listing 3.13: Stop propagation.
						 | 
						10 years ago | 
					
				
					
						
							
								   Frederic G. MARAND
							
						 | 
						
							
							
								c489dab013
							
							Listing 3.12: targeting this.
						 | 
						10 years ago | 
					
				
					
						
							
								   Frederic G. MARAND
							
						 | 
						
							
							
								6765350ff3
							
							Listing 3.11: unwanted bubbling.
						 | 
						10 years ago | 
					
				
					
						
							
								   Frederic G. MARAND
							
						 | 
						
							
							
								4a08605090
							
							Intermezzo: events capturing/bubbling, vanilla js and jQuery.
						 | 
						10 years ago | 
					
				
					
						
							
								   Frederic G. MARAND
							
						 | 
						
							
							
								476d72ed5c
							
							Listing 3.10: hover() method.
						 | 
						10 years ago | 
					
				
					
						
							
								   Frederic G. MARAND
							
						 | 
						
							
							
								630a857ee2
							
							Listing 3.8: toggleClass() method.
						 | 
						10 years ago | 
					
				
					
						
							
								   Frederic G. MARAND
							
						 | 
						
							
							
								79837528e2
							
							Listing 3.8: click() instead of on('click').
						 | 
						10 years ago | 
					
				
					
						
							
								   Frederic G. MARAND
							
						 | 
						
							
							
								c88d47a91e
							
							Listing 3.7: completely remove discrete handlers.
						 | 
						10 years ago | 
					
				
					
						
							
								   Frederic G. MARAND
							
						 | 
						
							
							
								3d1c68ac46
							
							Listing 3.6: refactor more actions to the generic handler.
						 | 
						10 years ago | 
					
				
					
						
							
								   Frederic G. MARAND
							
						 | 
						
							
							
								541189e8e8
							
							Listing 3.4: generic "selected" handling.
						 | 
						10 years ago |