O'Reilly logo

Front End Drupal: Designing, Theming, Scripting by Konstantin Käfer, Emma Jane Hogbin

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

Appendix B. Supplemental Code

On http://frontenddrupal.com, you can download the example code used throughout the book. Additionally, this appendix provides a short overview of the code as well as the most important example code, grouped by folders.

template

In Chapter 10, a sample template is used for practicing jQuery code in a clean environment. The template folder contains all required files for running code. Insert new code into the index.html file.

index.html

The index.html file serves as a playground for experimenting with JavaScript code. Just insert the JavaScript code you want to try in the marked section in the header.

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> ...

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