User Tools

Site Tools


eg-259:ch14

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
eg-259:ch14 [2013/02/27 08:06] eechriseg-259:ch14 [2013/02/28 20:23] – [What's Next?] eechris
Line 218: Line 218:
 ===== Fiddle with jQuery ===== ===== Fiddle with jQuery =====
  
-**Play with this example on [[http://jsfiddle.net/cpjobling/pvknH/10/|jsFiddle]]**+**Play with this example on [[http://jsfiddle.net/cpjobling/pvknH/12/|jsFiddle]]**
  
 ===== jQuery Selection ===== ===== jQuery Selection =====
Line 273: Line 273:
  
   * Filtering by equivalent of CSS pseudo classes   * Filtering by equivalent of CSS pseudo classes
-  * See this example on [[http://jsfiddle.net/cpjobling/45Uw6/2/|jsFiddle]]+  * See this example on [[http://jsfiddle.net/cpjobling/45Uw6/3/|jsFiddle]]
  
 <code javascript> <code javascript>
Line 316: Line 316:
 Functions that help you move around the selection set: Functions that help you move around the selection set:
 <code javascript> <code javascript>
-jQuery('p').add('<span>A Span</span>');+jQuery('p').append('<span>A Span</span>');
 var children = jQuery('p').children(); var children = jQuery('p').children();
 jQuery('li').each(function(index) { jQuery('li').each(function(index) {
Line 335: Line 335:
 jQuery('p').hide().css({'border', '3px solid red'}).fadeIn(2000); jQuery('p').hide().css({'border', '3px solid red'}).fadeIn(2000);
 </code> </code>
-To play with this example see  this [[http://jsfiddle.net/cpjobling/Ms6L4/1/|jsFiddle]]+To play with this example see  this [[http://jsfiddle.net/cpjobling/Ms6L4/7/|jsFiddle]]
  
 See [[http://api.jquery.com/category/manipulation/|jQuery Manipulation]] for more DOM manipulation functions and examples. See [[http://api.jquery.com/category/manipulation/|jQuery Manipulation]] for more DOM manipulation functions and examples.
Line 828: Line 828:
 **Model View Controller Frameworks (Part 1)** **Model View Controller Frameworks (Part 1)**
  
-[[eg-259:lecture8|Previous Lecture]] | [[eg-259:home]] | [[eg-259:ch15|Next Lecture]]+On Blackboard only at the moment! 
 + 
 +[[eg-259:lecture8|Previous Lecture]] | [[eg-259:home]] 
eg-259/ch14.txt · Last modified: 2013/03/05 15:59 by eechris