Join Chris Converse for an in-depth discussion in this video Downloading and adding jQuery to your project, part of Creating an Interactive Photo Gallery with jQuery and Dreamweaver.
Now that all of our thumbnails are in place, I want to make one quick change.…I want to go into Code view and I actually want the refraction photo to be the…first one to show up.…So as I had mentioned earlier, you can change the order of the gallery items by…simply changing the order of the links.…So I'm going to cut and paste the refraction link and the refraction thumbnail…to be before the acrobats picture.…So now when I come back out to Design view, that's the first one that they'll see.…And at this point, we're ready to add some jQuery into our project.…So let's open up a web browser.…
Let's go to jquery.com. Over here on the far right side is a big button…that says Download jQuery.…I'm going to click on this.…Some browsers will actually start a download right away;…some, like Safari, will actually show you this code. But again, we can see up in…URL here that this points to the .js file.…So I can simply come down and say File > Save As, pick our includes directory…inside of our myGallery folder, keep the file name that they write by default,…
Download a copy of the finished web site here.
- Preparing gallery photos using Adobe Bridge
- Adding and linking thumbnail images
- Creating the layout in HTML and CSS
- Downloading and adding jQuery to the project
- Creating preview images from anchor links
- Implementing the preload functionality
- Building a customized lightbox with the Fancybox plug-in
- Styling the zoom and contact links
Skill Level Intermediate
Q: The finished state of the interactive photo gallery in this course shows a clickable preview. When you click on the preview image, or on the view larger icon, a larger lightbox image appears. Chris's example has a close button and border surronding the large image, but mine doesn't. Did I miss a step?
Q: This course was updated in April, 2013. What changed?
A: Since the release of this course, Internet Explorer 9 and 10 have been released, and sometimes these browsers do not activate interactive HTML content. To remedy this problem, the author has added a movie to Chapter 10 that will show you how to:
- Update the HTML to HTML5
- Update the version of jQuery
- Use the Google html5shiv to keep compatibility with Internet Explorer 7 & 8