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

Watching:

Creating the HTML for Q and A containers


Creating the HTML for Q and A containers provides you with in-depth training on Web. Taught by Chris… Show More
From:

Create an Expandable FAQ Listing with jQuery and Dreamweaver

with Chris Converse

Video: Creating the HTML for Q and A containers

Creating the HTML for Q and A containers provides you with in-depth training on Web. Taught by Chris Converse as part of the Create an Expandable FAQ Listing with jQuery and Dreamweaver
please wait ...
Creating the HTML for Q and A containers
Video duration: 2m 28s 41m 48s Intermediate

Viewers:

Creating the HTML for Q and A containers provides you with in-depth training on Web. Taught by Chris Converse as part of the Create an Expandable FAQ Listing with jQuery and Dreamweaver

Subject:
Web
Software:
Dreamweaver jQuery
Author:

Creating the HTML for Q and A containers

Now we need to add divs into our HTML page and make use of this CSS class that we just created. So let's get our cursor after the word "class" and that default text for the faq_container. Let's come up to the Insert panel. Under Layout, let's choose Insert Div Tag. And the first one we are going to select is faq, then click OK. Next let's get our cursor after the word "class" and the default text for faq. Let's insert another div. This one is going to be faq_question. Click OK, and let's get our cursor after the word "Goes." Still inside of the default text for faq, let's insert another div tag.

This one is going to be the answer_container. Click OK. And then lastly, let's get our cursor inside of the default text for faq_answer_container. Choose Insert a Div, and let's insert faq_answer. Then click OK. Now at this point, let's come in and select the text for faq_answer, the default text Dreamweaver put in, and let's type in This is the answer.

Next let's come up and select the default text for faq_question. And let's replace that by typing This is the question. And now that we know where the question and answer areas are going to be, let's come in and get rid of the default text that was added by the outermost containers. Let's come in here, and delete the default text for faq Goes Here, and then let's delete the default text for faq_answer_container Goes Here.

And then lastly, let's get rid of the default text for faq_container. Delete that down here, up here, and then lastly the small bit of text at the top. If we switch over to Source Code, you will see all of the individual containers, so we have an outermost container here called faq, and then we have a div for faq_question, a div for the answer_ container, and then another div inside of there for the actual answer. Now that we have all of our HTML and CSS structure in place, in the next movie we will start by writing some JavaScript that will open and close the answer when we click on the question.

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

 

Lynda.comへようこそ!

各分野の一流のエキスパートによるビデオトレーニングコースをお探しですか?日々増え続けているLynda.comの日本語によるビデオライブラリをぜひご覧ください。そして広がり続けているlynda.comコミュニティーにあなたもぜひご参加ください。

日本版へ行く

各分野の一流のエキスパートによるビデオトレーニングコースをお探しですか?日々増え続けているlynda.comの日本語によるビデオライブラリをぜひご覧ください。そして広がり続けているlynda.comコミュニティーにあなたもぜひご参加ください。

日本版へ行く
Don't show this message again
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

Upgrade to View Courses Offline

login

With our new Desktop App, Annual Premium Members can download courses for Internet-free viewing.

Upgrade Now

After upgrading, download Desktop App Here.

Become a Member and Create Custom Playlists

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

Get started

Already a member?

Log in

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:

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.

You started this assessment previously and didn’t complete it.

You can pick up where you left off, or start over.


Resume Start over

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.