<img src="../files/images/webdesign.gif" width="405" height="144">

Parkland College > Fine & Applied Arts > Graphic Design | Web Design >
Student Links > GDS 214 >Slice and Dice for Frames

 

 

GDS 214 WEB DESIGN II
PhotoShop 7 Lesson
Instructor: Rob Higgins

 

 

Slice and Dice for Frames

 

Next we will slice up our PhotoShop 7 psd file and insert the images in frames in Dreamweaver MX.

Open your file in PhotoShop. If you don't have a copy you can download it here:
interface_frames.psd or interface_frames.zip

Clear your guides

View > Clear Guides

Insert Vertical Guides at:

65 100 300 345 390

Insert Horizontal Guides at:

70 100 230 260

 

View > New Guide
(or alternately hold down the shift key and drag from the ruler to desired position *.)

*Note: Shift Dragging locks the guides exactly on pixels (important for slicing.)

Slicing Your image

Click on the slice tool icon

the slice tool

 

 

 

Drag a slice from 65,60 to 345, 260.

Left Click (ctrl + click on Mac) on the little blue tab on the top left of the slice.

Click on Edit Slice Options

 

Change the name to main and click ok.

Draw in the rest of your slices.

Position Name
(0,0) to (65,70) 1_R_1_C
(65,0) to (100,70) 1_R_2_C
(100,0) to (300,70) stretch_top
(300,0) to (345,70) 1_R_4_C
(345,0) to (390,70) 1_R_5_C
(390,0) to (580,70) 1_R_6_C
(0,70) to (65,100) 2_R_1_C
(345,70) to (390,100) 2_R_5_C
(390,70) to (580,100) 2_R_6_C
(0,100) to (65,230) stretch_left
(345,100) to (390,230) 3_R_5_C_stretch
(390,100) to (580,360) stretch_right
(0,230) to(65,260) 4_R_1_C
(345,230) to (390,260) 4_R_5_C
(0.260) to (65,347) 5_R_1_C
(65,260) to (100,347) 5_R_2_C
(100,260) to (300,347) stretch_bottom
(300,260) to (345,347) 5_R_4_C
(345,260) to (340,347) 5_R_5_C
(390,260) to (580,347) 5_R_6_C

Save your work as Interface_slice.psd

File > Save as

Now we slice our image.

File > Save for Web

I changed the type to jpg. Be sure to save as HTML and Images.

Click OK and make a folder to put your images in. Save.

Making your frames pages

Open Dreamweaver MX

File > Open

Open the html page that you just made in PhotoShop

Mine is called Interface_slice.html

File > New

Open a new document

Edit > Save as

Save it as MyFrames.html

Insert > Frames > Top

Be sure the Advanced Layout pallette is open and clicked on the Frames tab.

Window > Others > Frames

Drag a frame into the stage from the left side to about 65 px.

In the property manager set the borders to no, the width to zero and the rows to 70 px.

Click on the columns tab in the property inspector and chang the value to 65.

Click in the first frame at the top that you just made.

Modify > Page Properties

Name your page to something you can remenber, set the Left Margin, Top Margin, Margin Height, and Margin Width to zero.

Click on Browse next to Background Image and select 1_R_1C.gif

Now we will repeat the process for the top right frame.

Drag 2 more frames out of the left side.

Click in the top right frame in the frames panel.

C

In the property inspector, change the name to right_top, Scroll to No, Check the no resize box, Borders No and margin width and height should be set to zero.

Go back and do this for your first frame after you get done. Repeat the process on any static frames.

Click in the right top frame on the stage.

Modify > Page Properties

Make the mods.

Back in the stage, click on the border of your frameset and click on the top right row in the property inspector and change the width to 190.

Click in the second frame from the right and set the properties as before. Set the page properties as you previously did seeing the background image to 1_R_5_C.gif

Click on the frameset and select the forth colum in the property inspector and set it to 45 px.

Nesting Frames

Next we will insert another framesset into the the second frame containing 3 more frames.

File > New

Select Frameset and fixed left.

Drag a new frame into your document from the left.

Using the property inspector after clicking on the frameset, set the first colum to 30 px, the second to relative and the third to 45.

Click on view source and copy the frameset.

Click in the second frame in the window on your original frameset.

View source and replace the second frame with the new frameset.

Change all of the document progerties for the three frames, add the appropriate background images, etc.

Close your new untitled frameset without saving.

Your first row should now be completed.

Click on your frameset and drag a row out from the bottom.

In the property inspector make the row 87 px.

Repeat the same process that you did for row 1 for all of your pages including the nested frame. Insert the background images, set properties, etc.

Click in the first frame in the middle where there is currently nothing.

Insert > Frames > top and bottom

Click in each of the three new frames and update the page properties etc.

Set the rows for 30 px, relative, and 30 px.

Insert the main gif into the frame for main. Update p[age properties, etc.

Rename the frame to main.

Make sure the row height is relative.

Click in the next (third) frame (column).

Insert > Frames > top and bottom

Insert your background images, set page properties, row height, etc, like we have been doing so far for these three frames.

Set the row heights for 30 px, relative, and 30 px.

Click in the final frame.

Insert > Frames > top

Fill in the last two remaining pages the same as we have been doing. Make the row heights 30 px and relative.

Look over everything to be sure that you have all of the margins set at zero, etc.

We are done with inserting you images into frames for now.

View your page (F12).

Here is the final file:
Interface_slice_final.psd
or Interface_slice_final.zip

Here is another version that I changed to blue:
Interface_slice_blue.psd or Interface_slice_blue.zip

Here is the frames version: blue_frameset.html

 

 

______________________________

Last updated: 8/26/03• Webmaster: Paul Young

 

About
Web Design
 

Student
Exhibition

Faculty

Influential
Designers

Internet
Resources

Tips, Tricks
& Handouts

Student
Links