/pro-javascript-ria-techniques

Code listings to support the Apress book "Pro JavaScript RIA Techniques"

Primary LanguageJavaScript

Pro JavaScript RIA Techniques : Best Practices, Performance, Presentation

by Den Odell

ISBN 9781430219347

Source Code Release - Version 1.6

Updated 17 December 2010 - Version 1.6 Fixes:

  • Chapter 2, Listing 2-14, Updated getPosition method to correctly return the width and height of the element

Updated 8 November 2010 - Version 1.5 Fixes:

  • Chapter 2, Listing 2-12, Updated save method to rename incorrectly named HTTP header from 'Content type' to 'Content-type'

Updated 4 November 2010 - Version 1.4 Fixes:

  • Chapter 2, Listing 2-10, Updated onDomReady method, which was ignoring the callback parameter in certain browsers

Updated 11 October 2010 - Version 1.3 Fixes:

  • Chapter 2, Listing 2-11, Updated getRelatedTarget method to only use event.fromElement and event.toElement if the browser supports them
  • Chapter 9, Listing 9-1, Updated set method to reference 'expiry' variable instead of 'expiryDate' when creating a cookie

Updated 3 September 2010 – Version 1.2 Fixes:

  • Chapter 2, Listing 2-11, Updated getTarget and getRelatedTarget methods to account for events on the window object

Updated 1 November 2009 – Version 1.1 Fixes:

  • Chapter 11, Listing 11-5, Line 192 should read: text.insertAfter(point);

The latest version of this code will be available at the following URLs: http://www.apress.com/book/view/9781430219347 https://github.com/denodell/pro-javascript-ria-techniques