Book Image

Oracle APEX Cookbook : Second Edition

Book Image

Oracle APEX Cookbook : Second Edition

Overview of this book

Table of Contents (21 chapters)
Oracle APEX Cookbook Second Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Enhancing your application with the Google API


In the previous recipe you could see how a JavaScript library such as jQuery can be used within APEX. Other JavaScript libraries can also be used, but they need first to be downloaded and installed. To make life easier for people who intend to use the various JavaScript libraries, Google introduced the Google API. Google puts the most well known JavaScript libraries online so you can reference them now without installing them into your own APEX environment! By the way, you can also use the JavaScript libraries in other languages such as PHP or just plain HTML with JavaScript.

To demonstrate this, we will make use of the scriptaculous library. Suppose you have the following intranet home page:

We will let the Latest news section pulsate on loading the homepage.

How to do it...

  1. In the Application Builder, edit page 1.

  2. In the Page section, click on the Edit icon.

  3. In the HTML Header section, enter the following code in the HTML Header textarea:

    <script...