Join Mike Rankin for an in-depth discussion in this video 061 Creating buttons for interaction, part of InDesign FX.
- View Offline
Hi! I'm Mike Rankin and welcome to this week's InDesign effect. Now more than ever, InDesign documents are being built with interactive features like hyperlinks, animations, slide shows and video. To allow readers to control those interactive elements, you usually have to include buttons for them to press. InDesign comes with a slew of premade buttons and these can certainly save you time and effort, but if you want something unique you have to make your own. Fortunately you can make great looking buttons with very little effort in InDesign. So here I have in my document a couple of buttons that I made from scratch, a Go button and a Stop button and you can see that they have a little shiny effect, they have a glow coming out from the text, and they have a frame going around it so it sort of holds the button in place. Let's see how we made those.
So I'll go to the next page in my document where I just have the text go and stop in text frames. I'll tap the L key on my keyboard to get my Ellipse tool, click in the document and I'm going to make a circle with these dimensions, 160 pixels in Width and Height, I'll click OK. I want to increase the Width of the stroke to 10 pixels, so I'll go up to the Control panel, I'll hold down the Shift key on keyboard and tap the up arrow, and now I have a ten point stroke. I want to align this stroke to the outside, so I'll go to my Stroke panel and click Align Stroke to the Outside of the path.
Next I'll switch to my Selection tool, I'll copy this path, I'll choose Edit > Paste in Place or press Command+Shift+Option+V or Ctrl+Shift+ Alt+V on the PC, and then I'll press Shift+X on my keyboard to exchange the Stroke and Fill. So now I have two circles, one which has a stroke but no fill and the other which has a fill but no stroke. For the circle with the fill I want to change that fill from black to a gradient, so I'll go to my Swatches panel, scroll down and choose my Go button gradient. Then I want to rearrange that gradient a little bit, so I'll go to my Gradient panel, and I'll change the Angle to negative 90 degrees, so it's lighter at the top and darker at the bottom.
All right, now let's start applying some effects. I'll select the path that has the stroke on it, I'll go to the Effects panel and I'll choose Bevel and Emboss. I'm going to choose Inner Bevel with Chisel Hard, I'll leave the direction at Up and the size at 7, but I'll soften it a little bit say 2 pixels. I'll change the Angle, so it's 90 degrees so the light source is coming straight down from above and I'll leave the Altitude at 30 degrees, then click OK. Now to create the shinny effect, I'm going to select my green circle, copy it and choose Edit > Paste in Place, or press Command+Shift+Option +V or Ctrl+Shift+Alt+V, go back to the Swatches panel and now I'm going to set the Fill to be Paper.
I'll confirm up in my Control panel that the Reference Point is set to the Top Center and I want to make this a little bit smaller, so about 130 pixels in Width and Height. I want to reduce the Opacity of this so I'll go back to the Effects panel, set the Opacity to 50%. And then I'm going to press Shift+G on my keyboard to my Gradient Feather tool. I want to fade this out a little bit from the top to the bottom. So I'll click and drag from the top of the white circle to the bottom and as I do so I'll fade from opaque to transparent. And deselect, and there I have a nice highlight object.
Next I just want to select the text frame, move it into position, bring it to the front and I'd like to add a little bit of a glow here. So again my Effects panel, I'll choose Outer Glow and I'll just accept the default values. Now to change this Go button into a Stop button, I'll select all the pieces, I'll Option+Drag or Alt+Drag to make a copy and then I just need to change the Fill from my green gradient to a red one. So I'll select the circle, go to the Swatches panel and I'll choose the Stop button gradient. And then I could just select the text frame, delete it and then I'll move the stop text frame into place and bring it to the front; Object > Arrange > Bring to Front.
I also need to apply that outer glow to the text, so I'll go to the Effects panel, Outer Glow, default values OK. And there's one more thing I could do, I could also add an Inner Shadow along the inner edge of the red and green circles. So let's select both of them, and in the Effects panel I'll go to Inner Shadow, I'll leave the Distance at 7 pixels, I'll make that Angle of the lighting 90 degrees to match the other lighting on this page and click OK, and that just adds a nice little shadow.
And since I want to move down the highlight a little bit to make it a little more convincing, I'll select it, tap the down arrow key a few times and do the same for the one on the left, right about there. So here we saw how just a few simple elements can come together and make great looking buttons for interactive documents with Gradient Feather and Bevel and Emboss providing a 3D shape and a shiny texture. I'm Mike Rankin and I'll be back in two weeks. Thanks for watching.