Create an Expandable FAQ Listing with jQuery and Dreamweaver
Illustration by John Hersey

Video: Creating project folders

Now to create the graphics for our site, let's come into the Art Template folder inside of the exercise files, and let's open template_items.psd. Now this file contains all of the individual layers, so if you want to come in and customize any of the artwork, you can come in here and do that. It also includes the slices. So if we come over here under the Cropping tool, and come down to Slice Selection Tool, we can see the individual slices here. Double-clicking on an individual slice will bring up the Slice Options dialog box, and you can come in here and see the different settings that we have for each of the slices, and the Name property here, which is going to correspond to the file name that we're going to get when we export this out.

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now
please wait ...
Watch the Online Video Course Create an Expandable FAQ Listing with jQuery and Dreamweaver
41m 47s Intermediate Apr 05, 2012

Viewers: in countries Watching now:

Frequently asked questions (FAQs) are a popular aspect of any web site. This course shows how to create questions that have expandable and collapsible answers, allowing visitors to easily find the information they need. Author and jQuery expert Chris Converse shows how to build an FAQ section for your site quickly, using the tools in Dreamweaver and the code libraries in jQuery. In addition, the course demonstrates how to automatically link to a specific question, and automatically open the answer, giving you the ability to provide users with a direct answer to their question.

Topics include:
  • Creating project folders
  • Creating the HTML, CSS, and JavaScript files in Dreamweaver
  • Activating the FAQ carousel with JavaScript
  • Adding in sample question and answer content
  • Creating CSS rules for graphics
  • Animating the graphic states
Subject:
Web
Software:
Dreamweaver jQuery
Author:
Chris Converse

Creating project folders

Now to create the graphics for our site, let's come into the Art Template folder inside of the exercise files, and let's open template_items.psd. Now this file contains all of the individual layers, so if you want to come in and customize any of the artwork, you can come in here and do that. It also includes the slices. So if we come over here under the Cropping tool, and come down to Slice Selection Tool, we can see the individual slices here. Double-clicking on an individual slice will bring up the Slice Options dialog box, and you can come in here and see the different settings that we have for each of the slices, and the Name property here, which is going to correspond to the file name that we're going to get when we export this out.

So I'm going to click OK here. Some of the graphics are going to be saved out as 24-bit PNGs; the Q&A down here for example, and the rest of these are going to be saved out as JPEGs. To export all of our files, let's come up to the File menu. Let's choose Save for Web & Devices, and this dialog box comes up. There's also Slice Selection tool on here as well, so I can click on these individual items and see all of the different the Optimization settings set for this particular slice. Hold the spacebar to get the Hand tool. I can move down, select the Q and the A, and notice that these are set to 24-bit PNGs.

Since all if these slices have been created and saved with the Optimization settings. Let's come down and choose Save. From the desktop let's choose myFAQ. Let's choose the Images directory. Let's come down under Slices and choose All User Slices, and let's choose Save. And now back in the operating system I can see all of the individual slices in the Photoshop file are now individual graphics inside of the Images directory. Let's come back to Photoshop and close our document. Now that we have all of the graphics created, in the next movie we'll create our HTML, CSS, and JavaScript files.

There are currently no FAQs about Create an Expandable FAQ Listing with jQuery and Dreamweaver.

 
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now Already a member? Log in

* Estimated file size

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Create an Expandable FAQ Listing with jQuery and Dreamweaver.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member ?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferences from the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your lynda.com subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.