spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

Logo

HOME | EXPERTS | GRAPHICS | column 43

Menus with Beauty and Brains 2: Building Tab Menus

 

Moving the zero point in Photoshop. Click and drag at the point marked by the arrow. The dotted line shown is placed where you wish the new zero coordinates to appear.

We will only look at creating the actual tab images in this section.

General menu creation notes
The top tip for almost any menu technique is to use guides, and set your program to snap to those guides. Jumping rollover images are best prevented from the start, and when creating menus, a one pixel error can cause you great delays.

Learn to use your rulers. We usually know how many pixels we have for a total menu area. If we work to measurement from the start, we will have fewer surprises as we scale our work to final size. Many designers do not know that most graphics programs have an adjustable zero point, which means you can change the location for the zero point on the ruler. Simply click on the area between the horizontal and vertical rulers and drag the crosshair to the desired new zero location. (Paint Shop Pro does not offer this feature.) Also, take a look at the grid feature in most graphic programs. Rulers, guides and grids can all help to make the menu creation process more efficient.

Although the methods that follow are specifically for tabs, the setup and many of the techniques work for plain color bars, or bars with different colors for each menu listing.

I have included instructions for: Photoshop 6 (with variations for Photoshop 5.5), Paint Shop Pro, and Fireworks.

   

 

Work path created with Rounded Rectangle tool.

Path converted to a selection. Adding rectangular selection to bottom section. Note the + symbol indication an addition to a selection.

Finished selection above (magnified view). Filled with layer style and text added below.

Photoshop tabs
Photoshop added vector shapes with version 6, which finally gave us the ability to do an easy rounded rectangle selection. We are going to use that feature to create tabs. Note: (If you are using Photoshop 5.5, see an earlier article with instructions for creating a rounded rectangle selection, and includes an action to download.)

To start, set up your grid or guides, at least for the height of your tabs. Select the Rounded Rectangle Tool and set the corner diameter. For the sample here, I used 7 px. To complete the first tab, we will convert the vector path to a selection. Open the Paths palette (usually with your Layers Palette). You should have a path called Work Path in this palette.

Right click on the Work Path path, or select the path and click the flyout menu icon at the top right of the palette. Select Make Selection from the menu, with Antialiasing checked and Feather set to 0. Your path will become a selection. We want to add a square bottom so that our tabs can butt together tightly. Holding your Shift key down, add a rectangular selection to the lower half of the rounded rectangle as shown to the left. This is your finished tab selection. Save the selection. (See Photoshop Selections.)

Create a new layer. Fill the tab selection with your background color. This is your basic tab. You can add a stroke or a layer style to complete the effect you desire. Once you have completed one tab, you will use it to create the remaining tabs.

There are several ways to duplicate tabs in Photoshop. If you are making tabs of the same color, simply duplicate the layer containing the tab, moving the new layer into position beside the original. You can also load the saved selection to create a new tab on a new layer. Fill and copy any effects from the original tab layer. If you want tabs of different colors, loading the selection and filling with a new color is the best method. The tabs at the left were created using the saved selection.

   

 

Guides in place for tabs. Note raised area in the ruler that corresponds to each guide.


Adding a rectangular area to the rounded rectangle selection. Note the + by the cursor indicating that the selection will be added.


The selection ready to create a tab.

Tabs in Paint Shop Pro
Set guides for at least your tab height. Make sure that View>Rulers and View>Guides selection is turned on. Click and drag on the horizontal ruler to create a horizontal guide, releasing the mouse at the desired guide location. For a vertical guide, do the same, but from the vertical ruler. To move a guide once it is placed, click and drag the corresponding raised area in the ruler to the new location. A sample of the guide setup for tabs is shown at the left. To make selections snap to the guides, select View>Change Grid and Guide Properties and activate Snap to Guides.

Activate the Selection tool and choose Rounded Rectangle from the Tool Options palette. Create a selection the height and width desired for the first tab. Turn off the Snap to Guides option. Change to the Rectangle option in the Tool Options palette and with your Shift key held down, add a rectangular selection to the lower portion of the rounded rectangle as shown in the sample at the left. This will give you a square bottom for the tab, allowing each tab to butt against the next. Save your Selection. (See Paint Shop Pro Selections.)

Fill and add effects to your tab as desired. To create a second guide of the same color, simply duplicate the tab layer and reposition. If you require tabs of different colors, load the saved selection and apply the fill and effects for each new tab as you did for the original. The finished tab for this selection is shown here. The selection was filled with a solid color and a slight Outer Bevel effect added.

 

 

 

 

 

Guide setting for one tab with the zero point moved to the left edge of the tab position.

Rectangle drawn with a different color in front of the rounded rectangle.

The rounded rectangle and rectangle have been combined to form one object.

The final tabs.

Fireworks tabs
Vectors are the easy way to go with tabs in Fireworks. You can create a tab with a rounded top edge and square bottom edges easily by creating and combining two vector objects.

Start by setting up guides. Turn on your rulers, and click and drag on the horizontal ruler to set a horizontal guide. Release the mouse button at the desired location. Create a vertical guide in the same way, but click and drag from the vertical ruler. You can move the zero point to help while setting your guides. In the sample at the left, the zero point has been moved to the left edge of the first tab position.

Select the Rounded Rectangle Tool and, with the main tab color, draw a rounded rectangle between the guides. Change your fill color to make the next few steps easier to complete. The color does not matter. Change to the Rectangle tool and draw a rectangle over the lower portion of the tab, creating square corners at the bottom edge (see left).

We will now combine the two objects to make them one and complete our tab shape. Select both objects. Select Modify>Combine>Union. This joins the objects into one, with the color taken from the object at the back. And that's that. You have a basic tab shape. Apply stroke, texture or any effect as desired.

To duplicate the tab, simply click and drag, pressing your Alt key before you release the mouse to place a duplicate. If all the tabs are the same, complete the first tab before duplicating. If the tabs have different colors or textures, duplicate the shape and change attributes as required for the subsequent tabs. The finished tab with an inner bevel effect added is shown at the left.

Tabs are not only clear indicators for visitors, but are also easy to create no matter which Web graphics software you are using. Give them a try and see what variations you can come up with to add a fresh look.

Finally, we will finish the first look at graphics menus by introducing liquid design.

   
 

Next page

Menus with Beauty and Brains 2: Tutorial Index

Menu Graphics that Work
Making Small Text Work
Creating a Menu Framework
Building Tab Menus
Menu Bars for Liquid Design

Front page2345

Developer News
Metasploit 3.2 Offers More 'Evil Deeds'
'Thank You Apple. Seriously.'
The Buzz: BlackBerry App Store Seen Next



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
IBM Whitepaper: Innovative Collaboration to Advance Your Business
Internet.com eBook: Real Life Rails
Avaya Article: Call Control XML - Powerful, Standards-Based Call Control
Tripwire Whitepaper: Seven Practical Steps to Mitigate Virtualization Security Risks
Internet.com eBook: The Pros and Cons of Outsourcing
Go Parallel Article: Scalable Parallelism with Intel(R) Threading Building Blocks
Internet.com eBook: Best Practices for Developing a Web Site
IBM CXO Whitepaper: The 2008 Global CEO Study "The Enterprise of the Future"
Avaya Article: Call Control XML in Action - A CCXML Auto Attendant
Go Parallel Article: James Reinders on the Intel Parallel Studio Beta Program
IBM CXO Whitepaper: Unlocking the DNA of the Adaptable Workforce--The Global Human Capital Study 2008
Adobe Acrobat Connect Pro: Web Conferencing and eLearning Whitepapers
Go Parallel Article: Getting Started with TBB on Windows
HP eBook: Storage Networking , Part 1
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Go Parallel Video: Intel(R) Threading Building Blocks: A New Method for Threading in C++
HP Video: Is Your Data Center Ready for a Real World Disaster?
Microsoft Partner Portal Video: Microsoft Gold Certified Partners Build Successful Practices
HP On Demand Webcast: Virtualization in Action
Go Parallel Video: Performance and Threading Tools for Game Developers
Rackspace Hosting Center: Customer Videos
Intel vPro Developer Virtual Bootcamp
HP Disaster-Proof Solutions eSeminar
HP On Demand Webcast: Discover the Benefits of Virtualization
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Microsoft Download: Silverlight 2 Software Development Kit Beta 2
30-Day Trial: SPAMfighter Exchange Module
Red Gate Download: SQL Toolbelt
Iron Speed Designer Application Generator
Microsoft Download: Silverlight 2 Beta 2 Runtime
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
IBM IT Innovation Article: Green Servers Provide a Competitive Advantage
Microsoft Article: Expression Web 2 for PHP Developers--Simplify Your PHP Applications
Featured Algorithm: Intel Threading Building Blocks - parallel_reduce
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES
webref The latest from WebReference.com Browse >
Popular JavaScript Framework Libraries: An Overview · Controllers: Programming Application Logic - Part 2 · How to Use JavaScript to Validate Form Data
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Choosing the Right Online Backup Provider · Mother Avaya Nurtures Her Technology Partners · Software as a Service a Winning Model for Hotspot Provider


URL: http://www.webreference.com/graphics/column43/
Created: February 18, 2001
Revised: February 18, 2001