Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Changing the content

From: Creating a First Web Site with Dreamweaver CS6

Video: Changing the content

Anytime you use a widget you probably want to go in and customize it with your own content. In fact, that's what I want to do. I happen to use this Lightbox widget right here, which gives me a great portfolio. And how I've inserted it is I went to Insert > Widget and I've added it by going to the Widget Browser. So that's how I've inserted it, and now I need to customize it, because these are actually example files. In fact, as I select it, you can see right down here, in my Properties panel, that it gives me this example/thumbs.

Changing the content

Anytime you use a widget you probably want to go in and customize it with your own content. In fact, that's what I want to do. I happen to use this Lightbox widget right here, which gives me a great portfolio. And how I've inserted it is I went to Insert > Widget and I've added it by going to the Widget Browser. So that's how I've inserted it, and now I need to customize it, because these are actually example files. In fact, as I select it, you can see right down here, in my Properties panel, that it gives me this example/thumbs.

Well, I need to replace that with my own content. So I'm going to click Browse for File to replace that thumbnail. You can see this example folder is actually what's been added since I added that Lightbox gallery. So I'm going to go out to my 02 Begin folder. And really, what you want to do is use your own files for this, but if you do have access to the example files, you can go into images. You can go into thumbs and right in here, here is port1. I'll just hit the spacebar, and you can see that small image happens to be 72x72 pixels. It's just small and appropriate for my gallery. Selecting Open and there it is.

Now it's still linking to that Dancer image, that example image, so I need to replace where it links to, by going back out to my 02 Begin folder and going into my images folder and pointing to, inside of the slides folder, that port1.jpg. Hitting the spacebar, you can see what will be displayed. So this is what I want, something that I've created, something I've shot. It looks great and again, selecting Open.

So I've changed those two references, In fact, this Alt text says Dancers in Red. Well, that's not going to work for me. It's Venice, Italy, adding that Alt text or changing that Alt text. Now let's take a look at this. As I save the page, I'm going to preview it in a browser, just to see how that one image looks. Rolling over it. Now it says Dancers. Where does that come from? We're going to take a look. As I select that image, you can see that get larger. That says Dancers and Dancers in Red.

So there are still a couple more things that I need to change. So I did want to show you sort of some of those areas that still need to be changed, because they are actually not available down here. So you do reach this point where you need to go in and change some of the code, so that's exactly what I'm going to do. With this image selected, I'm going to go to the Code view. All right, here I am, in the Code view. I'll scroll down, and it's this div right here. This is that image.

So you can see this is what I've changed, the path to the slide. I also change the path to the thumbnail but you can see that comment. Oh, that's where that comes from. I can change Dancers in Red to Venice, Italy, 2012, just when that was taken. And the title right here, I can change that to Venice, okay. And lastly, this Alt text, that's Venice, Italy as well. All right! So that's what I've done. I was able to change those additional items--the comment, the title, the Alt text. Everything should be pretty good now.

I'll click the Design view, and I'm going to save this page and just preview it in a browser one more time. As I roll over, ah, there we go, Venice, more like it. As I select it, right down here, Venice, Venice Italy. Well, that's only one that I've done. Now I would have to go in and do the same thing for these additional images. There's a couple of ways we can do that. I can select this image here, and I can change it the way I always have.

So Browse for File, going to my 02 Begin folder. Inside of that images folder, inside of that thumbs folder, that's my port2. Hit that spacebar. That's what it looks like, and changing it that way. So I'm changing that source and then changing it, what it links to. So 02 Begin/Images/Slides as well. All right, but I have quite a few images in here. Click Open. And I've done two so far, and I still have to go into Code view, okay.

I can go into Code view to start to change this. And that's what I'm going to do. I'm going to change the comment to Lost in Flight book cover, title is Lost in Flight, and I'll just copy this and paste it for the Alt text. All right! So I don't need to keep going to the Properties panel; in fact, what I can do is I can just take this and I can just copy it and paste it below and just change the numbers and the additional content.

In fact, that's what I'm going to do. I'm going to copy this, and instead of having all of these various items as I scroll down, I don't need most of it. So you can see clear down here this final div. I can select all this code. Or another way to do it is going into Design view. See how I've selected it? It already actually highlights it. Well, again selecting all of that code, all of those images and clicking Delete.

Going back into Code view, I've deleted all that content, hitting Return after that last div there, and pasting in that exact div that you see above. And then I can start swapping out this content. This is the fast way to do things, to start to changing some of these items the way you would, making reference to the appropriate images, changing the appropriate comments, titles, Alt text, to really build out your portfolio.

All right, now that I've added all the images, I can go ahead and take a look at them. Everything is customized. And let's preview this in a browser. You can see right in here, here's all those various thumbnails. I can select them, whichever one I want. Not only that, it gives me the title as well as the comment right down here. I can click to the next image. You can see how that looks customized, customized. Even as I roll over, I can click on the next one, just like that. Everything looks good.

So again, I was just able to copy and paste a div and then just customize it accordingly. You can see everything is looking great. The last thing I'm going to do is just move this down to the next line, but overall, I'd say that looks pretty good, even as I scale it down some. All right, so right down here, as I go into Design view, I can just hit Return. Okay, so with all of the content customized, you can then start to work more on the style, just to make sure it works well with your website.

Show transcript

This video is part of

Image for Creating a First Web Site with Dreamweaver CS6
Creating a First Web Site with Dreamweaver CS6

30 video lessons · 40156 viewers

Paul Trani
Author

 

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
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

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 Creating a First Web Site with Dreamweaver CS6.

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?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

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 preferencesfrom 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.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

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.