You can download the latest version of FancyBox directly from http://fancybox.net/, or a copy of the latest version is included in the code for this chapter at either http://packtpub.com/support or http://www.leonardmurphy.com/book2/chapter7.
1. First, download FancyBox and extract all the files from the compressed directory into a directory on your computer.
2. Once extracted, you should see a directory called
fancybox
, complete with a number of images, JavaScript files (.js
), and a CSS file. Upload this entire directory to the root of your website. Note that for the purposes of this chapter, you do not need any of the example files that ship with FancyBox.3. Next, if you are removing the
index.php
from your ExpressionEngine URLs using the exclude method, you will have to add this new directory to your.htaccess
file (otherwise it will be treated as an ExpressionEngine template group, rendering it inaccessible). Open.htaccess
and add FancyBox to the end of the list of...