programming4us
 
Graphics
 

Adobe Fireworks CS5 : Fireworks and Dreamweaver (part 3) - Three-slice technique for content containers

2/19/2013 5:33:25 PM

Three-slice technique for content containers

A common visual technique for containing web content is to put the content inside some sort of container, often called a pod, which can expand vertically or horizontally to contain additional content. The three-slice technique creates a pod that expands in one dimension while the other dimension remains fixed.

In this exercise—we’re back in Fireworks now—you will create the slices for vertically flexible pods for the Bare Tree Society website.

1.
Open the bare_tree.fw.png file from the Lesson13 folder.



Conveniently, both pods are the same width, so you need only slice up one pod and use the same exported graphics for both pods in the final web design.

To create slices that will export only the pod areas and not the text, you will have to hide the text in one pod.

The content layer holds all the elements for the content area of the design: two text blocks and two rounded rectangles.

2.
Select the text in the left pod with the Pointer tool.

3.
Locate the selected object in the Layers panel, and hide the object by clicking its Show/Hide box ( ).

4.
On the canvas, right-click (or Control-click) on the rounded rectangle, and choose Insert Rectangular Slice.

This slice will cover the entire rectangle, including the outer glow. When you have shapes that use glows or drop shadows, letting Fireworks create the initial slice can be more accurate.

5.
In the Properties panel, change the height of the slice to 20 pixels.

6.
Choose Edit > Clone to create an exact copy of the slice.

Tip

If you hold Shift while pressing the arrows, your slice will move ten pixels at a time instead of just one pixel.

7.
Use the Down Arrow key to reposition this new slice below the original slice.

8.
Change the height to 10 pixels in the Properties panel. This will become the repeating background image for the pod. Its exact Y position is not too important, as long as it doesn’t overlap the other slices.

9.
Select the top slice and clone it again.

10.
Use the arrow keys to reposition the new slice at the bottom of the pod. The Y value for the new slice position will be 338.

11.
Select all three slices, and change the Slice Export Settings option to JPEG – Better Quality from within the Properties panel.

12.
Name the slices appropriately in the Layers panel: pod_top, pod_bg, and pod_bottom.

Once the graphics have been exported, the design can be assembled in Dreamweaver using a combination of HTML and CSS. There are several different ways to achieve this result. In this figure, you can see how adding additional content to a container within Dreamweaver expands the left container, leaving the right container unaffected.

 
Others
 
- Adobe Fireworks CS5 : Fireworks and Dreamweaver (part 2) - Round-trip editing
- Adobe Fireworks CS5 : Fireworks and Dreamweaver (part 1) - Copying and pasting to Dreamweaver
- Adobe Flash Professional CS5 : Working Within the Flash Environment - Organizing Layers
- Adobe Flash Professional CS5 : Working Within the Flash Environment - Viewing Layers
- Adobe InDesign CS5 : Opening Documents and Templates (part 2) - Converting documents created with other programs
- Adobe InDesign CS5 : Opening Documents and Templates (part 1) - Working with files in the Bridge file system
- Adobe Dreamweaver CS5 : Working with the CSS Styles Panel
- Adobe Dreamweaver CS5 : Understanding Cascading Style Sheets
- Corel Painter X : The Great Outdoors - Just Add Watercolor, Bayside Scene
- Adobe Illustrator CS5 : Working with Objects - Creating Arcs and Spirals
 
 
REVIEW
 
- First look: Apple Watch

- 10 Amazing Tools You Should Be Using with Dropbox

- Sigma 24mm f/1.4 DG HSM Art

- Canon EF11-24mm f/4L USM

- Creative Sound Blaster Roar 2

- Alienware 17 - Dell's Alienware laptops

- Smartwatch : Wellograph

- Xiaomi Redmi 2
 
VIDEO TUTORIAL
 
- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 1)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 2)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 3)
 
Popular tags
 
Video Tutorail Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8 BlackBerry Android Ipad Iphone iOS
 
Top 10
 
- How To Install Android Market & Google Apps On Kindle Fire
- How To Make Ubuntu Look Like Windows 7
- How To Add A New Account in MS Outlook 2013
- Get Android & Mac OS X Style Gadgets For Windows 7 & Windows 8 With XWidget
- How To Activate Microsoft Office 2013
- How To Install Actual Facebook App On Kindle Fire
- How To Create, View And Edit Microsoft Office Files On Kindle Fire
- Download Attractive Business PowerPoint Templates For Free At SlideHunter
- How To Use And Enable Hibernate & Sleep Mode In Windows 8
- How To Get Microsoft Office 2013 Trial Product Key From Microsoft