Join James Williamson for an in-depth discussion in this video Using Bridge with Dreamweaver CS3, part of Dreamweaver CS3 Beyond the Basics.
In this movie, we are going to take a look at some of the new integration features between Dreamweaver and some of the other programs in the Creative Suite. Since Macromedia has been acquired by Adobe, one of the things I was really looking forward to is seeing how Dreamweaver and Flash and some of those programs would integrate with the other Adobe tools, and they have really worked hard to integrate programs like Bridge and Photoshop and with Dreamweaver. So we are going to take a quick look at Bridge and a quick look at integrating Photoshop into the Dreamweaver documents. The first thing I want to do is start up Bridge and you can begin Bridge-- we can start Bridge directly from Dreamweaver now, which is nice. There is no launch Bridge icon like you will find in Photoshop or InDesign. But if you go to the menu and you go to File, right there you can see Browse in Bridge. So if I click on that, it will take a second, it will launch Bridge for us. If you have never used Bridge before, Bridge is a program that gives you kind of an overview of everything that you have going on throughout the Creative Suite. So it's a nice way of sort of keeping track of all of your files, finding those files and modifying them and managing them. There are really three views to this Bridge window that we have up here. On the left-hand side, we can see our Navigation where we browse through folders and filter out results, the Filter tab underneath that.
In the center section here this is that what we call the Browser window and that allows us to browse our thumbnails and themes going on. To the right-hand side of that, we have some other panes that allow us to add metadata, keywords and all those types of things; we also have a Preview window. Just like any other Adobe application, the interface is customizable, so you can change where these panels are located. Now I am going to click -- up here on the upper left-hand corner, I am going to click on the Folders icon so that I am browsing specific folders the same way you would in the Finder or in Windows the same way you would in the Explore window. And I am going to go into the Chapter_01, Starting files and I am going to click on the _images directory and I can see that it gives me a whole set of thumbnails of all the images in our file.
Now if you want a better look at these, lower right-hand corner has a slider bar and I can drag that slider bar to the right to increase the size of the thumbnails and I can also drag it to the left to decrease their size. Now you are going to notice that we have got an ad here, this Photoshop ad file and I want to see this in Photoshop before I talk about the integration feature. So I am going to double-click this really quickly the ad.psd and it will launch that in Photoshop. So here we are in Photoshop and here is our ad. Now this is actually a fully layered Photoshop file. If we look at the Layers panel, we can see that I have got multiple backgrounds for my artwork and I have got specific text layers that are going to allow me to change the artist's name. So when new prints from the artist becomes available, I can quickly modify this ad. Now the old way of working would be that every time I needed to make the modification, I would have to open this up in Photoshop, change out the layers that I need to change out and then save over my previous JPEG and come back to it anytime I want to edit it. And to put it on the page to begin with, I have to first go ahead and save it for the web and save at a JPEG and make sure it was the way I wanted it and maybe flatten it out. So they've really worked hard to make sure that our workflow process is a little smoother now. So I am going to go back in the Dreamweaver just briefly here, and of course got all three of these applications running right now. But if I go under Dreamweaver, I want to open up the page calendar.htm from our example files. So if you are following along with me, go back in the Dreamweaver and we want to open up a file calendar. If we look in the Sidebar for Calendar, you can see that we have got a placeholder for text right here where it says, this month's ad goes here. So it's telling us exactly where this month's ad is supposed to go. Now, let's move back into Bridge and we'll take a look at a different mode of Bridge called Compact Mode. Now before we switch in a Compact Mode, there is a lot of thumbnails here and in order for me to find the exact image that I am looking for, it's a good idea to go ahead and give your file some type of a label. You can see that I have the ad.psd selected here and it has this sort of green bar underneath it. That means that this file already has a label. Well, if you look in the Bridge menu, I can go up to Label and I can choose exactly what I want.
Select Second, Approved, Review, that sort of thing. So it's got an Approved label and I could also give it a Star rating for example, but because it has an Approved label right now and clicking it again takes it off, so you want to be careful about that. I can go over to my Filter settings over here on the left-hand side and I can click on the Approved filter. You will notice that it will go ahead and filter out any file that's not set for approval, which is nice. It's a nice way of sort of making sure that you are not having to search through every single thumbnail when you are looking for a specific image. One of the great things about our new integration is that we do have drag-and-drop functionality now from Bridge directly into Dreamweaver, and in order to get this to work, we want to make sure that we have got Bridge in the right view.
If you look in the upper right-hand corner of Bridge, there is this icon right up there, and if you hover over it, it says Switch to Compact Mode. Now this works for every Adobe application. So InDesign, Illustrator, Photoshop, it doesn't matter which program you are in. Bridge, it's going to float right over the top of your software and you can see I am floating right on the top of Dreamweaver right now. As a matter of fact, I can click back in Dreamweaver. Notice I have restored focus to Dreamweaver and Bridge remains on top, so it's just going to float there. Now because it's floating there, it's going to float on pretty much every window that comes up. So you are going to want to make sure that you really shrink Bridge down in terms of the amount of screen real estate is taking up. It's very easy to have Bridge sort of overtake your own interface and you are going to need to be answering some questions here and you don't want to cover those up. So you will notice that I am making it very thin, maybe even thin as it will go and moving it over to the far left-hand side.
Well, I am going to select my ad.psd and I think before I do that, I am going to go into Dreamweaver and actually highlight the text. So that I am actually replacing the text and not sort of putting it inside the text. So I am going to highlight the text where it says this month's add goes here. I am then going to grab the ad.psd. Now, notice that we are dragging the Photoshop file and not a JPEG. So as I drag the Photoshop file onto that area and release the mouse, it's going to take a second but it's going to prompt me and it's going to say hey, this is a Photoshop file, it's not JPEG. So we need to optimize this and save it out as a Web-safe or a Web- graphics file. So you will notice that Bridge is still floating on top of everybody else and you can hide Bridge by the way, you can minimize it. So it's not like you can't minimize it even when it's in compact mode and sort of get it out of the way. So I am going to do that real quick. So notice that I am saving it as a JPEG and I am just going to leave my settings at 80%. That's fine. And I am just going to click OK and you are actually creating this JPEG. So at the same time that you are saying I need this Photoshop file here, Dreamweaver and Bridge and Photoshop are sort of all collaborating say well, this really need to go some place. Where should this go? And I am going to save it in my _ images directory and of course I am just going to leave it as ad.jpg, so I will browse to my _images directory and then I will just click Save. Now, because I am placing a graphic inside of Dreamweaver and I have got my accessibility options turned on, it's prompting me for some alt text. So I am just going to put in Monthly Ad for my alt text and click OK and there is my ad. Now for some reason it didn't replace all of my text, so it's pretty easy to do that. I am just going to highlight and delete that placeholder text. Probably that would have been a good idea at the beginning. Okay, so when I select this file now, I can actually see that it says source_images/ad.jpg. So it not only knew that I wanted to place the graphic in that location but it was smart enough to understand that I needed a JPEG and the Photoshop file wouldn't work, so I went ahead and optimized it.
Now, in our next movie what we are going to focus on is what we call Round Trip Editing. Now that we have created that JPEG file, it's established a relationship with the source Photoshop file. So anytime I tell Dreamweaver that I need to edit this file, it's actually going to open up the original file in Photoshop and we'll take a look at that next.
- Reviewing and customizing the coding toolbar
- Understanding the CSS Styles panel
- Using absolute and relative positioning
- Creating accessible forms
- Building AJAX pages with the Spry framework
- Extending templates
- Working with XML and XSL
- Building dynamic content
- Creating custom behaviors in Dreamweaver
- Running reports
Skill Level Intermediate
Q: In the Chapter 3 movie “Creating rounded corners with background graphics”, the instructor uses a .last class selector. What are the CSS properties of this selector?
A: The .last selector is as follows:
background: url(../_images/current_btm_bg.gif) no-repeat bottom
The background is the bottom rounded corner graphic, the bottom padding keeps the type away from the bottom of the box and thus the rounded corners, and the margin ensures that the box elements fit seamlessly with each other.