Beruflich Dokumente
Kultur Dokumente
Key Lime
A PVII CSS Page Pack
PVII Page Packs are automated page tools that enable you to create a professionally styled
web page with a single click. Once your page is created, you can customize it by editing styles
with Dreamweaver's CSS editor and by editing images with Fireworks. Everything you need is
included.
We hope you enjoy using this product as much as we did making it.
Note: If the installer file name ends with a different number then listed above, don't panic. It simply means that there
was a revision to the extension that occurred after this user guide was written.
OS X users: If, upon double-clicking the installer, Extension Manager does not properly launch, you have a file
association issue. To remedy the problem locate the installer file from inside a Finder window.
Browse to a folder in your defined site. You can also use this dialog to create a new folder if you
like.
Enter a file name in the File name box.
Click the Save button.
Fonts used
Before you edit the graphics, please be sure you have all of the fonts you need. The fonts used
in our graphics are:
Arial
A default font on both Windows and OS X.
Silkscreen
A free pixel font available at Kottke.org.
Juice ITC
This font is included on the Microsoft Office CD. If you do not have Office, you can purchase a
copy from MyFonts.com or you can choose a decorative font from your own collection.
The web layer will be visible - showing green overlays that mark the document's slices. These
slices define the boundaries of the individual web graphics (GIFs and JPGs) that your Key Lime
page uses.
The green overlays are now hidden and you're ready to edit the elements on your canvas.
When your cursor changes to a text-editing cursor, select all of the text and then type the word
lemons.
Click on a blank part of your canvas to deselect the text, then click once on the word lemons to
select its box.
Press the right arrow key on your keyboard 16 times to move the word to the right.
Click the color fill chip on your property inspector.
Click the left gradient chip. The color selector will open.
Type #E6DC22 into the color box.
Click the right gradient chip. The color selector will open.
Type #FFFFFF into the color box.
Press Enter to close the color selector.
Select the tagline text KEY LIME GROWERS CONSORTIUM and edit it to read LEMON
GROWERS CONSORTIUM.
Leave the File name set to keylime.jpg (it's actually irrelevant since you will be exporting
slices).
Set the Export option to Images Only ( HTML will become disabled or grayed out).
Set the Slices option to Export Slices.
Make sure Include areas without slices is unchecked.
Click Export.
Since you are overwriting the existing images, Fireworks will ask you to confirm that this is what
you want to do:
Click OK.
Switch back to Dreamweaver and your page will reflect the changes.
Note: If you do not see the revised images, save and close the page, then reopen it.
The three-tiered graphic is the background image for the top-level (root) menu bar links. The
background is repositioned with CSS to create three distinct states: Default, Over, and Down.
The numbers on the left correspond to the CSS top position value that sets the appropriate
state. The entire image is 300px high and is divided into 3 segments or rows - each row being
100px high.
The CSS rule for the default link state, sets the background top position to 0 - so only the top
row of the image shows. The 100px height ensures that even if text is made larger, only the top
row will be visible.
The CSS rule for the over (hover) state sets the background top position to -100px. This pulls
the entire image up by 100px, moving the second row to the top.
The CSS rule for the down state sets the background top position to -200px. This pulls the
entire image up by 200px and moves the third row to the top.
The other element in this Fireworks document is the beveled bottom graphic that spans the
bottom of the menu bar. This graphic is a flattened bitmap, designed to work on any color
background, and does not need to be edited.
The screen capture below assumes you are using the Tab Bar Magic Navigation Option.
Choose File - Export to open the Export window.
Click Export.
Click OK when asked if you'd like to overwrite existing files.
Save and close your Fireworks document.
We set the background color because it can sometimes take a second or two for the
background images to load. For that interim, only the background color will be visible. If the
color is not similar to the background image color, there will be a sharp transition when the
image loads.
The over (hover) state background image is set to #999999. The CSS rule for that style should
be changed to match - and the text color is now too dark, so we'll edit that, too.
In your CSS panel, right-click the rule:
.p7ie6Fix:active,
#p7TBMroot .p7TBMtext .p7TBMon,
#p7TBMroot .p7TBMtext li a:focus,
#p7TBMroot .p7TBMtext li a:active
Choose Edit.
Click OK.
Note: Single-Level menu users, edit the rule: #p7TBMroot li a:hover, #p7TBMroot li a:focus, #p7TBMroot li a:active.
The down state background image was changed to #666666, so let's change the corresponding
CSS style.
In your CSS panel, right-click the rule:
#p7TBMroot .p7TBMtext .p7TBMdown, #p7TBMroot .p7TBMtext .p7TBMdown:hover
Choose Edit.
Change the Background color to #666666.
Switch to the Type Category and change Color to: #FFFFFF.
Note: Single-Level menu users, edit the rule: #p7TBMrootuberlink. To use this rule, you must assign the
#p7TBMrootuberlink ID to the root link that corresponds to your current page. For Tab Bar Magic users, this feature is
automated.
How do I edit the link styles for links in the main content, sidebar, and
footer areas?
For all links (except for the main menu bar) we allow the browser's default link and visited states
to render and set only the hover, focus, and active states, via this rule:
How do I edit the callout boxes that appear in the main content column of
some layouts?
The callout boxes are floated boxes within the main content columns of the Fluid and
Shadowbox layouts. Use this rule to edit:
• .callout
The web layer is visible so you can see the boundaries of the web images involved. There are
two web images generated from this document - the logo and the page background. We urge
you to work within the assigned widths of these elements. If you would like to change the height
of the slices, make sure that you keep both slices the same height. You will also need to change
the height property in a dependent CSS rule:
#masthead {
background-image: url(../images/klm_logo.jpg);
background-repeat: no-repeat;
height: 180px;
}
The logo slice, the page background slice, and the height property in the #masthead CSS rule
must always be the same.
Let's look at the two remaining Fireworks documents.
p7kl_elements.png
The vertical rule is used in the following rules, in all but the shadowbox style sheet, to set a
dashed vertical border between columns:
• #mainbox
• #maincontent
The heading background governs the gradient behind the level 1 heading in 3 of the 4 layouts.
The gradient background is used in the sidebar column of the shadowbox layout and also in the
flexible layout's footer.
p7kl_integrated.png
This document contains images specific to the Shadowbox layout. Do not change the width of
any slice or the layout will break. You can change colors and the height of the masthead. If you
do change the masthead height, you must also edit the height property in this CSS rule:
#masthead {
background-image: url(../images/kl-masthead.jpg);
background-repeat: no-repeat;
height: 162px;
}
Important notes!
Dreamweaver's CSS panel gives you direct access to all style rules that govern how your page
looks. If you do not understand what a rule does, you should avoid editing it. The following
points are important and should be followed. If there are changes you'd like to make that you
don't know how to make, you should utilize our support options for assistance.
Do not change the names of any CSS rules or the IDs of any elements on the page unless you
know exactly what you are doing.
Do not change the widths of any elements on the page unless you understand the CSS box
model. There are dependencies that could be broken.
Do not delete or modify any of the MSIE Conditional Comments. They are included to fix
specific CSS issues in IE Windows. Conditional Comments always begin with an IE version
vector, such as:
<!--[if IE 5]>
<!--[if lte IE 6]>
<!--[if IE 7.0b]>
Do not edit the Skip Link styles:
#skips
#skips a, #skips a:visited, #skips a:hover
.p7fix a:active, #skips a:active, #skips a:focus
It is an accessibility feature that does not affect your visual page layout.
If you own Tab Bar Magic, the CSS sections in the Tab Bar Magic user guide are an excellent
resource for advanced CSS editing tips and techniques.
Managing a site
The Page Pack system will create assets folders inside each folder in which you create a Page
Pack page. That means that if you'd like to experiment with several different looks, simply create
a new folder for each test page you need. Your Page Pack page will only use the assets that it
finds within its own folder. When you are ready to publish a site, you should create your index
page in the root of the site and use the Page Pack assets folders that are generated in the root.
To create additional pages, use a site-wide management technology such as Dreamweaver
Templates or Server Side Includes.
Product Support
For all of your support concerns, please refer to the main Support Page at ProjectSeven.com for
options.
Note: You do not need to have a page open in Dreamweaver. The Page Pack will create and open the new page
automatically.
Note: The first listed pack will automatically be selected when the interface first opens.
Page Preview
The third panel provides a preview of the selected Page Design. This Preview will change
whenever you select a different Page Design.
Navigation Options:
Note: This option will be un-checked and grayed out if the Tab Bar Magic system is not installed.
-Use the navigation controls to navigate to an existing folder - or create a new folder - in which
to save your new Page Pack page. For this example we created a new folder named
KeyLime_tests. All of the related page assets (images, styles, scripts, as well as an editable
Fireworks document) will also be created in this folder.
-Enter a file name for the new page. In this example we entered myPage.htm as the file name.
Note: Be sure to enter a valid file extension (usually .htm or .html) for this page. If you do not enter a file extension
then the system will automatically assign .htm as the extension. You can enter any file extension you like (.asp, .cfm,
.php, .shtm, etc) - just be sure that it is valid web page file extension.
Note: Your actual file listing will be different depending on the Page Pack you are working on and the navigation
choice made in the interface.
We're Done!
With just a few clicks we created a beautiful and functional new page based on the design that
we selected.