O'Reilly logo

Moodle JavaScript Cookbook by Alastair Hole

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. Integrating External Libraries

In this chapter, we will cover:

  • Adding the jQuery framework
  • Adding the MooTools framework
  • Adding the Dojo framework
  • Adding the Prototype framework
  • Adding the script.aculo.us add-on to Prototype
  • Adding image enlargement with Lightbox 2

Introduction

In this chapter, we will look at the methods available to us for integrating external JavaScript libraries. The built-in JavaScript framework library, YUI, is powerful and feature-rich and can accomplish much, as we have seen in previous chapters. However, there are various reasons why we may need to make use of additional external libraries (for example, to implement something that is not possible with the YUI, or to make use of pre-written code that uses a specific ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required