Join Chris Converse for an in-depth discussion in this video Simulating a navigation menu rollover, part of Design the Web: Layer Comps.
Now, to begin the lesson, let's come in to the Exercise Files. Let's open up interaction design.psd. Now again, if you don't have access to the exercise files, you can use any layered Photoshop file to follow along. First we're going to need to bring up the Layer Comps panel. Let's come up to the Window menu, come down and choose layer comps. So this panel here will keep track of any of the different layers that we have turned on and off in the Layers panel. I'm going to grab this panel and just drag it into the panel over here on the left, customize my workspace a little bit. I want to be able to see the Layer Comps panel up here and the Layers panel underneath.
Now in the Layers panel, you'll see this is just a standard Photoshop file with a series of different layers. I have a pointer selection there. I have navigation menus, headers. So the first thing I want to do is create the state of our website that's going to be the homepage without any interaction. So let's come up here to the Layers panel. Let's turn off the Pointer layer. Now that I have all of the layers turned on and off and positioned the way I want, let's come up to the Layer Comps panel and let's come down here and click on this button here, which says Create a New layer comp. The Layer Comp dialog box here gives me some options for my layer comp.
The first thing I want to do is come down and check Position and Appearance. All of the nondestructive aspects of Photoshop can be captured into individual layer comps. So, Visibility, Position, and Appearance, which are the Layers Styles or Effects. Under the Name, I'm going to type in "home" and click OK. Now that I've done that, you'll see that we have a home layer inside of the Layer Comps panel and this little icon here, indicating that this is the active layer comp. Now the first interaction state I want to show is going to be the hover state for the menus. So I am going to come up to the main canvas. I'm just going to zoom up here to 100%.
Let's turn on the Pointer layer in the Layers panel. I'm going to select the Move tool. Let's grab the Pointer tool, and let's move it over here under the word Services. I use my arrow keys to position this exactly where I want it. Notice this one I make a change to any of the layers in the Layers panel, the layer comps will unhighlight home and highlight this area here called Last Document State. This indicates that we've made a change to the home layer comp. Let's come over to the Layers panel, let's open up Navigation menu, and let's come in here and let's turn on the subfolder called submenu.
If we open this up, we will see that this is just a simple shape that looks like a drop- down menu, and we have a text layer here showing our subnavigation. So now this is the rollover state that we want to show for the subnav. So let's come up to the Layer Comps menu. Let's click Create New Layer Comp. Let's Name this submenu and then click OK. Now in the Layer Comps panel we'll see we have two layer comps now: we have home and Sub Menu. If I click on home, you'll see that all of the layers will hide and show in the Layers panel that matches the layer comp that we saved there. And if I come down and click Sub Menu, you'll see all of the layers change there as well.
So now we can click between this two layer comps and see the individual layer states, based on when we created our new layer comp. And now that we have our first two layer comps created, next we'll combine layer comps with clipping masks.
This course was created and produced by Chris Converse. We are honored to host this content in our library.
- Simulating a navigation menu rollover
- Combining layer masks and layer comps
- Simulating a video lightbox
- Representing movement
- Exporting layer comps
Skill Level Intermediate
Q: This course was updated on 12/01/2014. What changed?
A: There is one new movie, "Exploring new tools in the Layer Comps panel," which covers changes to the 2014 version of Photoshop CC.