Professional Documents
Culture Documents
Contents
About This Guide ........................................................................................................................... 3 Getting Started ........................................................................................................................................... 3 Learning More............................................................................................................................................ 3 Before You Begin ...................................................................................................................................... 4 The Basics ...................................................................................................................................... 6 The Basic Idea and Workflow.................................................................................................................... 6 Initial Settings for your Photoshop Documents ....................................................................................... 10 Hints: How to tell SiteGrinder what you want it to do with layers .......................................................... 12 Your First Hint: Making styled web text using the "-text" hint ............................................................... 13 Adding hyperlinks to text layers .............................................................................................................. 15 Buttons and Popups.................................................................................................................... 19 Making an Image Button with a Hyperlink using the "-Button" hint....................................................... 19 Layer Name Matching and the -Rollover Hint......................................................................................... 21 Fun With Popups and Popdowns ............................................................................................................. 23 Text Buttons and Text Rollover Effects................................................................................................... 23 Image Compression: Making "Save for Web" work for you ................................................................... 26 Pages and Navigation Between Pages ...................................................................................... 28 Creating Multiple Pages........................................................................................................................... 28 Creating Button Navigation Between Pages ............................................................................................ 32 Page Workflow: When to define pages.................................................................................................... 34 The Last Document State: A special page................................................................................................ 34 The Pages Panel: How to determine which pages are built...................................................................... 35 Buttons, Pages, and "Cloned" Pages ........................................................................................................ 36 Page Backgrounds and Tiles .................................................................................................................... 38 Intermediate Techniques............................................................................................................. 40 Layer Management: Tricks for keeping track of everything .................................................................... 40 Adding Flash and Multimedia.................................................................................................................. 44 Using Hints With Layer Groups............................................................................................................... 47 Layer Group Buttons................................................................................................................................ 48 The Button Workflow and the Smart Layer Group Copy Tool................................................................ 49 Menus............................................................................................................................................ 50 Introduction to SiteGrinder Menus .......................................................................................................... 50 Introduction to Text menus ...................................................................................................................... 52 Horizontal Text Menus ............................................................................................................................ 52 Vertical Text Menus................................................................................................................................. 54 Layer Group Menus ................................................................................................................................. 56 Multilevel Dropdown Menus ................................................................................................................... 60 Advanced Techniques................................................................................................................. 65 Decorations .............................................................................................................................................. 65 Image Galleries ........................................................................................................................................ 66 Creating Flash Slideshows from Folders of JPEG Files .......................................................................... 71 Advanced Features For Exploration......................................................................................................... 74 Reference Guide .......................................................................................................................... 75 Complete List Of SiteGrinder Panels....................................................................................................... 75 SiteGrinder 2 Hints .................................................................................................................................. 98
Getting Started
Most of the work required to build a web site with SiteGrinder is actually done in Photoshop, so if you are an expert Photoshop user you are well on your way to learning how to use SiteGrinder. The following sections will help you learn how SiteGrinder and Photoshop work together, as well as how SiteGrinder can be used to add additional tweaks to your final web pages. The Basics This section goes over the most rudimentary features of SiteGrinder and walks you through the steps to build a simple web page with text, graphics, and links. The topics range from setting up your Photoshp file to building the page and viewing it in a browser. Buttons and Popups This section will teach you how to set up layers in your Photoshop file to create buttons and popups on your finished web pages. The chapter includes instructions for building both text and graphical buttons, as well as information on customizing image compression settings. Pages and Navigation Between Pages This section includes instructions for creating websites with multiple pages all from one Photoshop file. Intermediate Techniques This section includes tips on managing your layers in Photoshop and adding Flash and other multimedia to your websites. Menus This chapter will give you everything you need to know about setting up text and graphical menus in your Photoshop file. Advanced Techniques This chapter includes instructions on working with more advanced features of SiteGrinder such as setting up image galleries and creating slide shows. Reference Guide The reference guide includes information about the SiteGrinder Panels and SiteGrinder Hints.
Learning More
Additional SiteGrinder learning tools are available on our website: Links to all our many available learning resources are at: http://www.medialab.com/sitegrinder/learningcenter.html Training videos: http://www.medialab.com/sitegrinder/screenmovietutorials.html Free online training classes: http://www.medialab.com/sitegrinder/webtraining/
There are five videos about galleries alone, and many tutorials about building specific types of galleries linked from the learning center.
Details about what SiteGrinder has found in your document in terms of buttons, menus, graphics, pages, etc. so you can verify that SiteGrinder will build as you expect. You'll find these by clicking on the "Details" and "Menus" buttons on the report page. Warnings. These are signified by a yellow triangle. Warnings are usually not going to cause major problems with the build, and they are often merely suggestions, or "just-in-case." For example if you use a dash in a layer name that's not followed by a hint, SiteGrinder will warn you just in case you were trying to use a hint it doesn't recognize. Errors. These are signified by a red stop sign and usually indicate more fundamental problems than warnings do.
After SiteGrinder builds your pages it will show you a post-build report that will present information about the build. Best Practice: If you have a lot of errors you can save the report as a web page for viewing in a browser after you close SiteGrinder. You can reference this while you fix the problems. The button to save the report is in the Control Panel, which you can access using the "Control Panel" button in the report Pane.
The Basics
The Basic Idea and Workflow
SiteGrinder always starts with a Photoshop document. This document can be as simple as a single text or button layer that you want to test out in a browser, or it could have hundreds of layers which SiteGrinder will use to create a 20-page website with image galleries, forms, menus, etc.
Key Concept: When the SiteGrinder window is open you won't be able to use any of Photoshop's controls. To modify things in your Photoshop document you must first close SiteGrinder.
Image compression and image file format Button links Text rollovers Page alignment, background color, and tile behavior Media import specifications
Clicking SiteGrinder's "Help" button will open a web page with information about the panel you are currently viewing.
Key Concept: One of the advantages to this workflow is that you can build and test at any time in the design process. If you aren't sure about a certain technique, for example, just create a new document, spend a few seconds adding some layers, and build just to see if the results are what you expect. Many of the SiteGrinder tutorials start from empty documents so you can see each step required to use some feature without distraction.
If you are just building a temporary document to test out a feature or an idea (such as with many of the tutorials in this guide) the dimensions really don't matter as long as they are large enough for you to fit your test content in. Horizontally: Most users have monitors that display 800 pixels across horizontally, so 750 pixels is a pretty safe width accounting for scroll bar etc. Vertically: Make the document as tall as you expect the tallest page on your site to be. The browser will know where the lowest element on any particular page ends and take care of scrolling automatically.
10
Other Settings
The following additional document settings should be used:
Color Mode: RGB, 8 bits per channel Color profile: sRGB Pixel Aspect Ratio: Square Resolution: 72 pixels/inch Background Contents: whatever you prefer, but using the background color you plan to use for the page makes the most sense (see note below)
11
Photoshop Palettes
There are a few palettes you'll use a lot when designing sites and should make visible (from Photoshop's Windows menu) for these tutorials:
The layers palette. You probably use this a lot anyway, but it is crucial for SiteGrinder. The info palette. This is very helpful for viewing the dimensions of selections or text layers. The Character & Paragraph styles palettes. These are commonly used enough to keep them visible most of the time you are working. The Layer Comps palette (Photoshop CS or later). You've probably never used this awesome palette before, but it is crucial for making SiteGrinder pages. You'll learn about its function below.
12
Key concept: Sometimes the part of the layer name that comes before the hint is important, especially with buttons. SiteGrinder will match a layer named Home-Button with a layer named Home-Rollover to make a rollover button, for example. Hints are not only applied to individual layers. Some hints can be applied to layer sets/groups (those folders in the layers palette). Still others are used in conjunction with layer comps.
Your First Hint: Making styled web text using the "-text" hint
As you may have noticed, hints mainly indicate interactivity. There are a few exceptions, including the hint we will now introduce, the "-text" hint. The purpose of the "-text" hint is to tell SiteGrinder that you want a type layer to appear as true styled text on a web page, rather than an image of the text. SiteGrinder can recreate any character or paragraph styles supported by both Photoshop and web browsers, including left and right margins, space before and after, etc.
Examine the page that opens to see that SiteGrinder has reproduced the text and styles on the web page.
Scrolling Text
Sometimes a design calls for text to be displayed within a constrained area that isn't large enough to fit all of the text. The solution to this is to provide a scroll bar. SiteGrinder
13
makes this embarrassingly easy: adding the "-scroll" hint to the end of a type layer's name will cause it to be scrollable on any of the pages it appears on. Just create a type layer that contains more text than it can fully display in its rectangle and add the "-scroll" hint. You can add both the "-text" and "-scroll" hints to the same layer. (ie "my layer-text-scroll") Photoshop's character and paragraph styles will still be displayed in scrolling text areas, so you can use the margin indent setting to create space between the text and the right side scroll bar, the left side, the top and the bottom. NOTE: Custom scroll bar graphics or colorization are not supported. Here is a start-to-finish example: 1. Select the horizontal type tool from the Photoshop tool palette 2. Click and hold down the mouse button in the document where you want the top left of the text area to be. 3. While continuing to hold down the mouse button, drag down and to the right to create a rectangle that can easily fit all of your text. (It is important that you create the text by clicking AND dragging out the rectangle. If you only clicked and let go then you created what is called "point text" as opposed to "paragraph text" and SiteGrinder won't be able to tell what size rectangle you want the text to appear in.) 4. Type or paste text into the layer. 5. While still editing the text, drag the handles of the rectangle until it's the size and location where you want it to appear on the final page. Make sure you are in text editing mode when you do this so that you only resize the rectangle and not the text itself. (The quickest way to enter text editing mode is to double click on the thumbnail of the text layer in the layers palette.) This will crop some of the text off the bottom, but that's what the scroll bar is for, right? 6. Name the layer something like "sbar example" 7. Set the text to anti-alias "None" or add the "-text" hint to the end of the layer name to tell SiteGrinder you want this layer to be text and not a graphic of text. 8. Now add the word "-scroll" to the end of the layer's name and build. (If you added "text" in the previous step, just add "-scroll" after "-text" since you can add multiple hints to a layer. In this case the final name will be something like "sbar example-text-scroll")
14
Stick with the common web fonts for best cross-platform consistency. These include Arial, Comic sans, Verdana, Courier, and Times New Roman. If you need a very particular text look you are better off using an image of the text. Don't use returns to create empty vertical space between lines of text - web browsers treat this unpredictably. Instead use Photoshop's "Space Before" and "Space After" paragraph styles. You'll almost always want to use "Paragraph Text" instead of "Point Text." Setting a type layer's anti-aliasing to "none" has the same effect as the "-text" hint. It's a good idea to do this so you can tell the difference visually right in Photoshop which layers are going to be real text and which will be images of text. Never use Photoshop's Move tool to resize a type layer that you plan to output as text. If you need to change the size of the containing rectangle, start editing the text first. The easiest way to enter edit mode with a text layer is to double-click the layer's thumbnail in the layers palette. Once you do that you can resize the text rectangle without resizing the text.
This technique does support SiteGrinder's link shorthand, so you can add web links without the "http://" prefix and email links without the "mailto:" prefix. SiteGrinder will automatically add those things in the invisible HTML code if you leave them out. Less Lazy: Using Two Type Layers and the "-links" Hints Often you will want to apply links to parts of text instead of showing the URL in the text the way we did in the previous example. This sentence, containing this link to a discussion of text buttons, is a perfect example. SiteGrinder allows this using two text layers. The first layer should contains the text that will appear on the web page and be recognizable by SiteGrinder as "true text". (Its anti aliasing should be "none" or it should have the "-text" hint.) For the links, create a new type layer that will contain the URLs you will be using as well as the copies of the parts of the text you want to to apply them to. Name this layer the same as the layer containing the text, but add the "-links" hint to its name. Thus if you have a text layer named "sightseeing-text" it will match to a text layer named "sightseeing-links". The text in the "-links" layer consists of words and phrases from the text layer that you want to add URLs to paired with the URLs themselves. Each word or phrase from the first text layer that you want to add a link to should appear on a line in the "-links" layer followed by the URL itself on the next line. You can have as many of these as you like, each separated from the previous URL by one or more empty lines. If it sounds tricky, the example below will show you how easy it is.
16
Example: Below is a line of text with multiple links: I found an awesome waikiki whip recipe at this website! If you want to discuss it, email me. The preceding sentence contains three different links on three different phrases in the text. To achieve this in Photoshop we'll create two layers, one for the text and one for the links. The type layer containing just the plain text with no styles or URLs we'll name "recipe idea-text". Then we'll create a second text layer named "recipe idea-links" containing the following text : waikiki whip recipe http://www.medialab.com/sitegrinder/screenmovietutorials.html this website www.medialab.com email me recipe-help@medialab.com SiteGrinder uses this as a key to apply links to the text in the source layer. Each pair of lines contains a word or phrase for SiteGrinder to find, and a link for SiteGrinder to apply to that word or phrase. The pairs must be separated by at least one blank line. Link appearance: When SiteGrinder finds a linked word or phrase in text it thinks of it much like a text button. SiteGrinder will use the style you placed on the linked text in Photoshop as the look for the "normal" (non-rolled over) state and the default Text Button rollover style you set in SiteGrinder's Text Buttons panel as the rollover state. You can change this on a layer-by-layer basis in using SiteGrinder's Text Buttons panel. You can add custom "normal" and "rollover" styles.
17
Types of links supported: Any valid full URL can be entered as a link. This means you can have ftp links (with usernames and passwords) or http links that pass arguments. There are a few shorthand techniques for common link types. Email addresses should be entered without the "mailto:" label, as in the example above. This allows SiteGrinder to create a true email link that will open in the user's email software. Web page links can start with the simpler "www" instead of the full "http://www". This makes the "-links" field more readable. If you want to put in a placeholder empty link that you will enter later in another package you can enter "#" as the link. It will show up as a link, but won't go anywhere. Or you can just leave a blank line as the link and set the link using SiteGrinder's Buttons panel. Limitations:
Linked text cannot spread across multiple paragraphs If a linked word or phrase appears multiple times in the field, each occurrence will be linked, not just the first one.
18
19
4. Notice the Home-button is listed here because of its "-button" hint 5. Click in the "Link" column in the area to the right of the "Home-button" entry (shown above) 6. In the dialog that appears (shown below) take a moment to notice the variety of links you can set
7. Click on the "URL" radio button 8. Type "http://www.medialab.com" into the URL field. (If you leave out the "http://" in this field SiteGrinder will automatically add it when it builds) 9. Click OK 10. Think about what you have done. You have created a layer in Photoshop and painted something in it. By adding the "-button" hint to it you have made it ready for SiteGrinder. When you open SiteGrinder you can see that that layer appears in the "Buttons" panel and you can assign a hyperlink to it. 11. Click SiteGrinder's "Build" button When the page opens in your browser click on the button you made to verify its functionality. That's it!
20
Pretty easy, right? If you think so you'll be happy to know that almost everything in SiteGrinder works this way. When you close SiteGrinder it will store the link setting in the Photoshop document next time you save the document.
If you are linking to a page in the site that SiteGrinder is building you don't even need to set a link if the button name matches the page name, as in Home-button and Home-page. (You'll find out how to make and name pages a little later.) You can set a link to literally anything (javascript, database lookups, etc) using the "Literal" link type. Choose the "Literal" radio button in the dialog shown above and paste whatever you like into the field. Email links allow you to set subject as well as an email address Next, Previous, Up, and Thumb links are all for SiteGrinder's Gallery system You can also set links using a text layer and the "-link" hint instead of using SiteGrinder's Buttons panel (see below). This makes it easy to move buttons and their links between documents. Use "None" as the link type for buttons that you don't want to link to anything If you put URLs in type layers that are outputting as styled text SiteGrinder will automatically find them and make them clickable. Very handy.
Name Matching
SiteGrinder needs to match image button layers to the layer containing the rollover image you want to use. It does this using the part of the layer name that appears before the hint, in this case "Home". SiteGrinder uses this technique to match buttons to rollovers, to popups, to pages. You'll find it uses this in other ways as well, so it is good practice to name your layers usefully rather than using Photoshop's default names.
21
Buttons and rollover don't have to be rectangles, they can be any graphic as long as at least part of the "-rollover" version intersects with the "-button" version. The "-button" and "-rollover" hints can even be added to layer sets! In those cases SiteGrinder will use the contents of the layer sets to make the button states. The "-button" and "-rollover" hints can be abbreviated as "-b" and "-r", as in Home-b. If the part of the button layer name before the hint (i.e. the "sample" part of the "sample-button" layer name) matches to a page SiteGrinder is building, SiteGrinder automatically programs the hyperlink for you. If a button is hidden, SiteGrinder will not output it, even if the rollover version is visible. The rollover version can be visible or hidden. Sometimes, in a navbar for example, you will want the rollover state of the button representing the page you are currently viewing to stay on even when the button is not rolled over. This is a visual cue to indicate which page in a navbar is currently active. SiteGrinder can do this automatically in conjunction with the "-menu" hint discussed below.
22
Often you will want to show or hide a particular popup on a particular page regardless of whether the user is rolling over its triggering button. SiteGrinder supports this. You can also turn off all popups on a page-by-page basis using SiteGrinder's "Pages" Pane. Popups work the same with text and image layers
Sample Files: There are some very useful sample Photoshop files demonstrating buttons with rollovers and popups that you can open from SiteGrinder's report panel. Explore them to see how they are laid out, and build them to see how they work in a browser.
23
Review: To ensure a type layer is output as true text you either add the "-text" hint or set the layer's anti-aliasing to "none" in Photoshop's character styles palette. Luckily SiteGrinder lets you add multiple hints to a layer, so to create a text button you have two choices:
Add both the "-text" and "-button" hints, for example "Home-text-button" Set the anti-aliasing to "none" and use only the "-button" hint
Just as with image buttons you can place text buttons wherever you like on a page.
24
6. Now click the build button and try out your new text button. Notice that when you roll over the button SiteGrinder fills a background area the size of the text rectangle that you made with the rollover backcolor you specified. Notice also that it has shifted the rectangle to place the button text in the center.
A text button's "normal" (not rolled over) state matches the style you gave the text in Photoshop. As with the "rollover" state you have the option of changing the "normal" state within SiteGrinder's Text Buttons panel. If you set a normal state there it will override the style of the text in Photoshop. The Text Buttons pane, like several other SiteGrinder panes, allows you to create both a Default setting and specific exceptions to the default on a layer-by-layer basis. The setting that you define at the top of this pane will affect all text button
25
layers except those you create special settings for using the "Add" button and the dialog that appears when you click it. You can create as many exceptions as you like and change them individually before each build. Text buttons preview accurately in the "lightning build", so if you find yourself tweaking a lot of them be sure to use that build style. Like standard text layers, if you want to resize the text rectangle be sure to go into text edit mode first. This is easily done by double-clicking the thumbnail of the type layer in Photoshop's layers palette. Just like image buttons, text buttons can have any number of popups using name matching. Notice that the button name does not have to be the same as the content of the text button. The content of the text button layer (what you see on the page) can be "Click here to return to the home page", but the name of the button layer can be Home-button.
Sample Files: There are some very useful sample Photoshop files demonstrating this feature that you can open from SiteGrinder's report panel. Explore them to see how they are laid out, and build them to see how they work in a browser.
NOTE: SiteGrinder automatically merges non-interactive layers when it can to reduce the number of image files to speed up downloading. If you have a layer that you need SiteGrinder to keep separate from others so you can change it later or so you can give it a unique compression setting you can use the -nomerge hint on the layer.
The "Save For Web Preset" menu lists all of the named settings from Photoshop's "Save for Web" dialog. This includes any settings you have created in that dialog and saved with a name. If you decide that you want to apply different compression settings to a layer or button, click the "Add" button. A dialog will appear allowing you to choose a layer to add, and the custom setting you wish to use for that layer. You can later change or delete these custom settings by selecting a layer from the layer list and then clicking the "Edit" or "Remove" buttons. When you remove a layer from the list it will once again use the default settings that you see displayed. Some layers may not show up in the layer list because SiteGrinder is auto merging them with other layers. If you need to set a special compression setting for a layer you don't see in the list, close SiteGrinder and add the -nomerge hint to the end of the layer's name.
27
Key concept: Basically layer comps allow you to take a kind of snapshot of which layers are visible and which hidden at any given time. These snapshots are called "layer comps", and are saved with the document. They can be recalled quickly whenever you like and, crucially, you can name each one. They can also be updated after they are created to reflect any changes you make to page content.
28
To define a page you make the layers you want on the page visible and hide the ones you don't. Then define a comp in the layers palette and add the "-page" hint to it's name. (Note: the "-page" hint is one of the hints that is only applied to layer comps in the layer comps palette, never to layers themselves.)
Layer Comps
Layer comps were introduced in Photoshop CS. They are a convenient way to store a snapshot of certain key aspects of your document: layer position, layer visibility, layer fx ( layer styles), or any combination of the three. Once you create a layer comp you can call it up at any time by clicking on the icon to the left of the layer comp's name. This is really useful for web site designs because with web sites you usually have some content (layers) that are on all pages (i.e. the navigation bar or company logo) and other content that appears only on one specific page. A typical web project using layer comps might go like this: 1. Create the overall look of the web site with layers 2. Create a layer comp called "static background" with all of the "global" layers (ones you want on every page) visible 3. Create the elements that will appear on the home page 4. Create a layer comp called "home-page" containing the background elements and the home page elements 5. Restore the "static background" comp 6. Add elements for another page, say "contact" 7. Make another comp called "contact-page" 8. And so on for each page The biggest potential problem with layer comps is that a comp only knows about layers that existed at the time the comp was created. In the above example you may decide to add another layer or two to the background elements after you have already set up the background layer comp. This requires some extra steps because of the following crucial fact: layer comps never include layers added to the document after the layer comp was created unless you update the comps. You update a layer comp by first setting the document the way you want it in the comp (manually setting the layer visibilities, positions etc.) and then selecting the comp in the layer comp palette. At this point you can click the "update layer comp" button at the bottom of the palette or call up the command from the layer comp palette menu. If you want to add global elements that will appear on every page SiteGrinder will produce but if you have already made the comps for those pages you will have to update them all. This means calling up the a comp, which will cause the new elements to become hidden, unhiding those elements, updating the comp,and repeating for each page.
29
Before you call up SiteGrinder to build your site you should restore each "-page" comp in turn to verify that they all look the way you want them to. Some layer comp useage tips:
Clicking on the name area of a comp doesn't restore it. You must click on the restore area to the left of the name to restore it. Double clicking the name of a comp let's you change it in place just like layer names. Right clicking a comp (ctrl-clicking on one-button Macs) brings up a useful contextual menu You can use this layer comp menu to update a comp without activating it by clicking on the comp's name instead of on the icon to the left of the name You determine what layer attributes comps remember (position, visibility, style) in the comp options dialog
30
11. Click the "Build" button. You're done! That's it! Sitegrinder has now created two HTML web pages each with a menu for jumping to the others and each with some page-specific content. Open the page you just created and be sure to click on the buttons to see the content layers change.
Notice that the content layers didn't need any special hints in their layer names. Being visible in the layer comp was enough. Layers that have no hints (like "-button" or "rollover") and that are visible in all layer comps will become visible non interactive elements on every page that SiteGrinder builds from this Photoshop document. Best practice: Once you have defined your pages you can click in the little icon area to the left of the layer comp names to quickly switch back and forth from one comp to another to make sure they all look as you expect them to before opening SiteGrinder and building. This can save a lot of time.
Layer comps can optionally store layer position and style for each layer in addition to visibility. This can be useful, but if you elect to use these attributes we recommend that you turn them on for ALL of the comps you use. Photoshop can give hard-to-predict results when switching between comps if different comps are storing different things and SiteGrinder will warn you in the report if this is the case.
31
32
Begin with a blank Photoshop document. 1. Create a type layer and type "Apples" into it. 2. Change the layer name to "Apples-button" 3. Create another type layer and type "Oranges" into it 4. Change its name to "Oranges-button" 5. Save the file and open SiteGrinder from Photoshop's File->Automate menu 6. Click the "Build" button. You're done! That's it! Sitegrinder has now created two HTML web pages named after the buttons, each with the two buttons on it. It has also programmed the buttons to jump to their corresponding pages. This is a most dramatic example of how much information SiteGrinder can glean from your Photoshop document with just a few hints. From a two layer document we have two HTML pages with text buttons that respond to rollovers and link between the two pages. The pages are automatically coded so that their names ("Apples" & "Oranges") show up as the title of the internet browser window. Their file names ("apple.html" and "oranges.html") also reflect the button names. All with one click of the build button! Using graphic layers for the "-buttons" instead of text will accomplished the same purpose. Try it yourself.
While matching your button names to your page names is the easiest, quickest way to link buttons to pages, SiteGrinder does not require the names to match at all. You can link any button to any page using SiteGrinder's "Buttons" panel. The "Page" button type presents a menu of your defined pages to select from. If you create a button that doesn't match any page name and you don't set some link for this button with either a "-link" layer or SiteGrinder's "Buttons" panel then SiteGrinder will add a page to the page list named after this button just in case you want a page built that for the button. What will this page look like? You'll have to pick one of your existing pages for SiteGrinder to "clone" to make the page. This technique is used to create a number of linked template pages to which you can add content after the build in another tool.
33
You can wait until most/all of the layers that will be in your site are in the document. If you do this then you won't have to worry about updating your pages when you add elements later. We generally prefer to define pages early in the process to make it easier to manage layers and to test small parts of the site as they are under construction. If you do it this way you will have to go through and update layer comps when you add new layers. This can be minimized by finalizing the global elements (the ones that will appear on all of the pages) before working on page-specific content. As you have seen in many of the tutorials you don't even need to define a page if you are making a one-page site. You can just use the Last Document State.
34
The lower part of this panel lists all pages SiteGrinder thinks you might want to build. These include:
Pages you define with layer comps or SiteGrinder Tools The last document state is listed here and can be built as a page (see below) Pages in purple with grey backgrounds are "clone" pages. There will be one of these for every button in your document that you haven't set a link for. (Remember, if a button name matches a page name that's the same as setting a 35
link.) Page cloning can be very useful for building template pages. It is a more advanced technique mentioned here only for completeness. You can set which page is your "Home" page by clicking the radio button in the "Home Page" column to the right of that page. SiteGrinder will automatically name the html file it creates for this page "index.html" and will set the links for all buttons linking to this page accordingly. Once you have set a home page, SiteGrinder will open that page in a browser after the build is complete. Web tip: Home pages are almost always named "index.html". This is a web convention that tells web servers what page to display when the browser asks for a website or directory without requesting any particular file. If you type "www.medialab.com" into a browser window it is really just a shorter way of typing "www.medialab.com/index.html". The column of check boxes to the left of the page names determines which pages SiteGrinder will build next time you hit the "Build" button. You can select or deselect any of these. Best practice: When you are first developing a site you can build individual pages for testing to shorten the build time. When you finish the initial design you should build the entire site in one build. This allows SiteGrinder to produce a more efficient site by eliminating duplicate graphics and CSS code. Once your site is already built you can rebuild only a page or two if you have a small change. Be warned that this will reduce some of the efficiencies you will get from a full build.
36
When SiteGrinder finds a button with no link it assumes you might want to generate a page for that button anyway, so it places a page named after each unlinked button in the list you'll find on the "Pages" panel. Below you see the Pages panel for a document containing two buttons with links already set, Tower and Spider, and one button with no link, flower.
You can tell the "flower" button has no link because it is in purple with a grey background. Because there is a checkmark next to the page name SiteGrinder will generate a page for this button when it builds, but what will appear on that page? The answer is that SiteGrinder will create a duplicate, or "clone", of some page you have actually defined. Which page SiteGrinder clones is determined by the "Clone New Page From" option you can see in the screenshot above. You can set this globally so that all cloned pages use the same source page, or you can set individual buttons to use different pages as their source. You can even use the Last Document State as the source. Using this technique you can create a five page site in about ten seconds by creating five text buttons and then just building. SiteGrinder will create five pages named after the five
37
buttons. They will look like the last document state but they will be individually named HTML files and the buttons will link all of them to all of the others. The primary reason you might want to do this is to create identical "template" pages that are already linked together by a navbar but are empty of content. You can paste the content in later using another tool. You can also, as we will see later, tell SiteGrinder to do the equivalent of pasting different content into otherwise identical pages for you using cloned pages in conjunction with the -xmedia hint. Best Practice: For faster building you can turn off cloned pages that you don't need.
Background Tiles
With SiteGrinder 2 Pro you can set repeating tiles in the interior and exterior of your pages for dramatic and download-friendly results. This is accomplished using a combination of the Photoshop "Pattern Overlay" effect and the hints interior-tile and exterior-tile. The exterior-tile hint is used as the full name of an image layer that has Photoshop's "Pattern Overlay" layer style applied. The pattern assigned to the layer will become the full background tile of the web pages produced from this Photoshop document by SiteGrinder. No matter how large the user makes the web browser window, this tile will fill the entire background horizontally and/or vertically depending on the tile "repeat" settings found in SiteGrinder's Pages pane.
38
The only visible page element beneath the exterior-tile is the exterior background color, which can show through transparent areas of the tile.
NOTE: This layer only serves to indicate the pattern that should be used as an exterior tile. The exterior-tile layer can be any size and positioned anywhere in the document. For preview purposes it is useful to assign this hint to a layer that is the full size of the Photoshop canvas, but it is not necessary. The interior-tile hint is used as the full name of an image layer that has Photoshop's "Pattern Overlay" layer style applied. The overlay pattern assigned to the layer will become a background element of the web pages produced from the Photoshop document by SiteGrinder. The interior-tile will generally cover an area equal to the canvas size of the Photoshop document. This is in contrast to an exterior-tile layer, which can fill areas outside the canvas dimensions when a page is viewed in a browser window that is open larger than the canvas size. The interior-tile is the "highest" background element. The page background elements beneath the interior-tile are the interior background color, an exteriortile (if any), and the exterior background color (if any).
NOTE: This layer only serves to indicate the pattern that should be used as an interior tile. It is very helpful to make it as large as the document in order to audition it visually, but it is not necessary. The interior-tile layer can be any size and positioned anywhere in the document. What matters is the pattern assigned to it.
39
Intermediate Techniques
Layer Management: Tricks for keeping track of everything
A SiteGrinder document can grow to contain a lot of layers. Luckily Photoshop has tools to make them easy to manage if you take a little effort. There are various strategies for keeping track of and manipulating layers more easily.
Layer contents
As you can see from the guide so far, SiteGrinder encourages and sometimes requires you to separate your layers into functional pieces. A button and it's rollover cannot exist in the same layer. It can also be useful to split non-functional decoration layers into pieces where appropriate. If you have layers with large empty areas separating disconnected pieces it can often be helpful to split the pieces into separate layers. (Selecting with the marquee and using the "new layer via cut" command is a very quick way to do this.) This is mostly to avoid "blocking" elements below the layer from receiving mouse clicks. You may be tempted to merge the layers that make up a button to add the "-button" hint to the merged version, but you don't have to do this if you want to retain the flexibility of keeping your layers separate. You can add many hints, including "-button" to layer groups to keep your layers separate. See the "Using Hints With Layer Sets" section below.
Layer Order
The top-to-bottom order of layers can be very important for both organization and function. Layers, even empty areas of layers, should not rest above other layers that need to receive mouse input.
40
Layer Naming
Technically SiteGrinder only requires you to use special names for special layers, like buttons and menus. You are free to name your other layers "Layer 1", "Layer 2", etc, but we don't advise it. You don't have to name every tiny graphic accent layer, but such layers should ideally be placed in groups with clear names like "Top Menu Background Stuff" to help you find things and to help you manipulate
Layer Sets/Groups
Layer sets/groups (the little folders you can use to organize the layers palette) make managing all of the layers in a website much easier.
You can put layer groups inside other layer groups. (Photoshop CS2 let's you nest layers 5 deep!) This makes the layers palette more like the folders and directories on your hard disk, allowing you to have many, many layers but to keep track of them easily. You can make buttons, menus, and popups using layer sets so you can keep the constituent layers separated and also achieve features like buttons that combine true text labels with image backgrounds.
41
On the right you will see an organization of layer groups for a site with "Home", "Content", and "Gallery" pages. The actual content layers have been divided among these layer groups. In this case we also used Photoshop's layer color setting to differentiate global content (green) from page-specific content (purple). None of these groups are required by SiteGrinder, and none of them are using hints. They are simply there to help reduce the clutter of layers so they are easy to find and edit.
Layer Comps
As you have seen you can use layer comps to define pages, but you can also use them as a sort of virtual workspace for laying things up experimentally. Layer comps can be a good way to work with an arbitrary collection of layers whether they are close to one another in the layers list or not.
Smart Objects
Adobe introduced smart objects with Photoshop CS2. They allow you to bundle up a set of layers into a single "virtual" layer, and can be very helpful with web page design. When you create a complex effect, like a button background made up of several layers, it is a good idea to turn them into a smart object. The primary advantage of this is that you can make several copies of the smart object which will all change if you make a change to one of them.
Locating Layers
When you have a lot of layers in your document they can sometimes be hard to locate in the layers palette. Here are two strategies for quickly selecting a layer in the document window, which will cause the layers palette to jump to the layer you selected.
If the layer is a text layer, use the text selection tool to click in the text of the layer. Look carefully at the text cursor to determine if clicking will create a new text layer or edit the existing layer. If the cursor is in the wrong place you'll end up creating a new text layer, which you can quickly get rid of by pressing Esc. You can select the move tool and activate its "Auto Select layer" option. Unfortunately this is pretty buggy and you will often end up selecting a layer you didn't click on, even if it's hidden.
42
From the layers palette menu you can create a new layer set from the selected layers If you have used the "Copy layer style" command on a layer you can then paste it onto multiple layers. This is a great time-saving trick.
43
Flash movies MP3 files Quicktime and Windows video files Animated gifs Remote images that are on web servers
Adding Flash and other multimedia is as simple as creating image layers to be placeholders for these elements, adding the -xmedia hint to their layer names, and then linking the external media files to the placeholders. The image layers just need to contain filled rectangles matching the dimensions and desired position of the linked media files. There are two ways to link media files to -xmedia layers: 1. Browse to the files using SiteGrinder's External Media panel 2. Set a "media folder" using SiteGrinder's External Media panel. Once you do this SiteGrinder will use name matching between -xmedia layers and the files it finds in the media folders you specify. If you have a file in your media folder called "Russian Ark.mov" then SiteGrinder will match it to a layer named "Russian Arkxmedia" When you build SiteGrinder will copy external media files that are local to your computer into media Directories that it creates within the build folder.
Flash .swf files Flash flv, MPEG, QuickTime, and Microsoft Video files Animated gif files HTML files MP3 Audio files 44
Layers with the -xmedia hint act only as placeholders. This means the layer contents indicate the size and position to be used for imported media, but the contents of the layer do not actually appear on the built page. When the xmedia hint is used in a document the External Media panel will become visible in the SiteGrinder Pro Window. For each combination of an xmedia layer and a page there will be an entry in SiteGrinder's External Media Panel where you can select the source media file, output format and other settings. There is a sample file employing an xmedia layer to import a flash file that you can access from the SiteGrinder report pane.
you can click the folder icon next in the "External Media Folder" area at the top to locate your media folder. Once you do this SiteGrinder will match any xmedia layers to files in the folder you selected that match your xmedia layer names. ie "Simpsons Movie-xmedia" will match "Simpsons Movie.mpg" on the disk.
Or
alternately you can locate the media for each media layer individually by clicking in the column to the "Type" column to the right of each entry and using the dialog that appears. If you type in a path or URL to a file you will need to click the "Update" button in this dialog.
45
Now you can build your document. SiteGrinder will copy all required media files that are on your disk (as opposed to remote files on servers) into a media folder inside your build folder.
If that file doesnt exist, then a file named Bugs.html (for example) would be chosen. And if no file exists that contains the page name, then a file named after the placeholder itself (Bunny.swf) would be used. This is particularly useful when using existing external HTML files. It essentially allows SiteGrinder to use Photoshop files to skin a website. Rather than individually using the UI to link up each external source file to a placeholder on a page, you can have SiteGrinder do it. This feature is specifically made to work in concert with derived pages. So if you have a folder of HTML files (or other media) and a Photoshop design or two, you can have a complete site in minutes.
-button -rollover -popup -popdown -hide -menu -nomerge -ignore next-button, prev-button, up-button -thumb
47
48
That's it! Sitegrinder has now created a page with a hybrid button on it. You can even create a separate graphical rollover layer so that a rollover swaps with the graphic background and applies the text rollover effect at the same time! The graphic rollover layer doesn't need to be in the "-button" set, it only needs to match the "-button" set name, so in this case you would use "Cool-rollover". To recap: Sets can be used like layers for rollover, button, popup and other purposes. You can also mix and match layer types for hybrid buttons and you can do this in any combination. You could have one layer that is a button and a layer set that is its rollover, etc. At this point you should be getting a good sense of exactly how flexible and powerful SiteGrinder is. You may even feel a little dizzy. Don't worry, this is normal.
The Button Workflow and the Smart Layer Group Copy Tool
There are a number of ways to speed up the creation of layer group buttons. Best Practice: If you decide to add layer group buttons to a document that already has a lot of layers, you can work more efficiently by creating a new empty document for experimentation. Design the buttons in this new document so you can build and test very quickly, then, once the buttons function exactly the way you want copy the layers to your main document. Best Practice: Often you will create a number of layer set buttons that are identical except for the text on the button. SiteGrinder 2 includes a "Smart Layer Set Copy" tool to make this easy. It will not only duplicate your layer groups it can find and replace text in your layer names making, for example, "Home-button" into "Gallery-button". It can even shift the copies vertically or horizontally to lay out a menu bar for you.
49
Menus
Introduction to SiteGrinder Menus
SiteGrinder supports three basic kinds of menus: 1. Horizontal text menus made from a single , one-line type layer with the -menu hint. Such menus are often used as navbars at the top or bottom of a page. Here's an example of a horizontal text menu with the "Contact Us" item hilited:
2. Vertical text menus are made from a single, multi-line type layer with the -menu hint. These are often used on the upper right of a site page as a site menu. Here's an example of a vertical text menu with the "Servers" item hilited:
3. Menus made from a layer group with the "-menu" hint. These menu groups contain "-button" layers that can be image or text. These kinds of menus can look pretty much however you like since they can be entirely made of image layers, including text layers outputting as images. Here is an example of an image menu with the "Account" item hilited:
50
(These screen captured menus weren't made with SiteGrinder, but all of them could have been.) When SiteGrinder encounters the "-menu" hint it considers all of the menu items to be buttons. Because menu items are just like buttons they can do all of the following:
Menu items can auto-link to pages by matching to page names. Because the items appear in a "-menu" layer they don't need the "-button" hint. If a line of text in a type layer with the "-menu" hint consists of the word "Home" then that menu item will automatically link to the page named "Home-page". Other kinds of links can be set on each menu item in the "Buttons" panel, just like they are standard "-button" layers. Menu items can trigger popups in the same way. A text menu item named "Home" will trigger any and all "Home-popup" layers. This is also true for the "hide" and "-popdown" hints. For text rollover effects on your text menu items you use the "Text Buttons" panel just like with individual text "-button" layers. The difference is that you set the rollover effect for the all of the menu items at once rather one button at a time. You can set unique rollover effects for each text menu, but not for each button within the text menu. Image items in a layerset menu are just "-button" layers, so they need separate "rollover" layers if you want them to change in appearance on rollover. Layer groups buttons are allowed in layer set menus
Menus have three advantages over just using individual button layers:
51
1. It is much quicker to make a single type layer with 8 lines than it is to make, name, and position on the page 8 individual "-button" layers 2. Menus items which link to pages in your site can remain in their hilited state when you are viewing the page they link to. This helps remind your site visitors which page they are currently viewing. 3. A menu can remain hidden until a button trigger causes it to appear, like a popup. (See "Multilevel Dropdown Menus" below.)
Always center align the "-menu" type layer Use extra spaces to separate menu items Make sure Photoshop's "Space Before" setting is set to zero for the layer
52
As with vertical menus SiteGrinder will generate a page for each item and automatically add links to the right page for each item. Here is how it's done starting with a new empty document in Photoshop: 1. Create a new Paragraph type layer by dragging out a rectangle with the type tool. 2. Enter four or five likely page names on one line, separating each item from the next using two spaces. (Each menu item can have multiple words as long as they are separated by only one space) 3. Now rename the layer "sample-menu" 4. Set the alignment for the layer to Centered 5. Save the document and open SiteGrinder from Photoshop's File->Automate menu 6. Click the "Build Preview" button. You're done! That's it! Sitegrinder has now created the correct number of HTML web pages each with a menu for jumping to the others. Click on the items in the built page to see. As with a vertical text menu a new page is generated for each item. Menu items are much like buttons and appear in the list of buttons in SiteGrinder's "Buttons" and Text Buttons" panes. They will automatically match pages that match their name. If you want a menu item to match to something else you can add a -link layer matching the menu item's name (i.e."Home-link" for the "Home" item in the above example) or you can reassign links in SiteGrinder's Button's pane. You can control how the items change appearance on rollover in the SiteGrinder window's "Text Buttons" pane.
53
File->Automate menu 6. Click the "Build Preview" button. You're done! That's it! Sitegrinder has now created the correct number of HTML web pages each with a menu for jumping to the others. By looking at the address area of your browser as you click between the pages you can see that each page has a different name, and that the name is based on the name of the menu item that links to it. The pages themselves don't look like much because we haven't added any content to them other than the menu itself, but we're well on our way to creating a very functional site. And all with one click! Notice that we never added any "-link" layers and yet the menu links are all functional! Since SiteGrinder created the pages it automatically knew how to link them so no explicitly defined "-link" layers were required. When building a site SiteGrinder will create a new HTML page for every button you have defined whether in a menu or not. Often you will have a few buttons that link to pages that SiteGrinder isn't generating. Sometime you might want to link to pages on your site that already exist and other times you may want to link to outside web sites. Once you open SiteGrinder you can specify which buttons should create pages and which will just be links to already existing pages before you build. Virtually every button on a web page, whether a graphical rollover button or a phrase or line in a text based menu, represents a link to a web page. Generally these links are to other pages in your own site. SiteGrinder assumes that every button you specify in a "-button" or a "-menu" layer corresponds to a page you want to generate unless you have designated a "-link" for that button. The reason for this is that you don't need to specify "-link" layers for buttons that link to pages SiteGrinder is generating, only for URLs for pages that already exist or for things that aren't web pages like email addresses or files to download. If you create a layer comp or page definition that corresponds to a button name (i.e. a layer named "About-button" and a layer comp named "About") then you don't need to do anything else to hook the button to the page. SiteGrinder will program the link automatically. Menu items are just like buttons in this regard. If you create a text layer named "my sitemenu" and its contents are "Home | Gallery | Store" then SiteGrinder will automatically connect the three menu items to layer comps named "Home", "Gallery", and "Store". If you want the "Store" item to link to a page that already exists you can set this in the "buttons" pane of SiteGrinder's user interface, or you can create a text layer called "Storelink" and place the URL in this layer's contents.
55
The hilited (rollover) state of the buttons/menu items can visually track the page being viewed They can be used to turn an arbitrary set of buttons into a popup (ie dropdown) menu for total flexibility(see below)
Otherwise a layer group menu is just a bunch of buttons in a layer group. This means they can be placed anywhere on the page and be made up of text, images, or even hybrid buttons made from layer groups placed inside the "-menu" layer group.
Thomas Pinckney, www.schistory.org Daniel Webster, www.dartmouth.edu Eugene Debs, www.eugenevdebs.com Robert Dole, www.bobdole.org
4 text buttons using the "-button" hint A single type layer containing all four names and an accompanying layer with the -links hint A single type layer using the -menu hint
The "-menu" hint is the best way to go, but we'll work through all three so you can see the differences. 1. Creating the menu with individual text buttons
56
1. In an empty Photoshop document create four type layers each with the name of a candidate and position them in a horizontal line as shown to the left. 2. Add the "-button" to the end of each of their names. Thus the layer containing the text "Robert Dole" should be named "Robert Dole-button" 3. Now create four new type layers and type one of the links above into each one 4. Now rename the layers you just made to appropriately match the name of the corresponding candidate layer, adding "-link" to the end. Thus the layer containing "www.bobdole.org" should be named "Robert Dole-link" 5. Save the document and open SiteGrinder from Photoshop's File->Automate menu 6. Click the "Build Preview" button. You're done Things to note:
The button name doesn't have to match the contents, but does have to match the link layer's name. Notice in the example we used shorter versions of the candidate's names in the layer names The "-link" layers are just for storing link information. They aren't visible on the final page even if they are visible in the Photoshop document. Because of this their horizontal and vertical positions don't matter. It is generally convenient to draw them near to their buttons for convenience and keep them hidden most of the time so they aren't distracting.
57
We could have used the Buttons pane of the SiteGrinder Window to set the links instead of using "-link" layers This is the least efficient way to make a text menu, but has the advantage of allowing you to position the buttons wherever you like, not just in a line. The buttons are independent of each other. When entering URLs in links layers you don't have to include "HTTP://" at the beginning. if you leave it out, SiteGrinder will fill it in for you when it builds the page. Normally SiteGrinder builds a page for every button, but since these buttons all link elsewhere it will only build one page
2. Creating the menu with one text layer and one "links" type layer
1. In an empty Photoshop document create a new Paragraph type layer by dragging out a rectangle with the type tool. Make it big enough to contain all four candidate names on one line 2. Enter the candidate's names into the field all on one line. 3. Name the field "also rans" and set its anti-aliasing to "none" in Photoshop's character palette. This will be the menu. Now it needs a "-links" layer so it can know what the links are. 4. Make a new type layer and type each candidates' name on a line followed by the corresponding web address on the next line, followed by an empty line, followed by the next candidate until done. (See left) 5. Name this layer "also rans-links" (Note, the hint here is "-links" with an "s" to distinguish it from the "-link" layers in the previous example! 6. Save the document and open SiteGrinder from Photoshop's File->Automate menu 7. Click the "Build Preview" button. You're done! Things to note:
"-links" layers are only used with plain text layers that SiteGrinder is going to output as real text (ie set anti-alias to "None")
58
This technique is not generally ideal for menus, it is more for placing links on text within type layers. It will locate text to link within other text, so if you added "lost by a landslide" after "Thomas Pinckney" in the text layer the links will still all work when SiteGrinder builds the site, but "lost by a landslide" will correctly have no link. Try it!
1. In an empty Photoshop document create a new Paragraph type layer by dragging out a rectangle with the type tool. Make it big enough to contain all four candidate names on one line. 2. Enter the candidate's names into the field all on one line, separating each full name from the next with two spaces 3. Name the field "also rans-menu". 4. Set the paragraph alignment of the layer to "Centered" 5. Save the document and open SiteGrinder from Photoshop's File->Automate menu
59
6. Click on the "Buttons" tab near the top of the window 7. For each candidate in the list of buttons, click in the link column to the left of the candidate's name, select "URL" from the "Type of Link" area, and enter the URL for the candidate. (see above) 8. Click the "Build Preview" button. You're done! Things to note:
Menu items are a lot like buttons. They show up in the "buttons" list, for example, allowing you to set links for them The main difference between menu items and buttons are that the name of the menu item button is the same as the item itself, whereas for buttons such as those in the first example the name of the text button is the name of the layer. We could have used the "-link" layer technique from the first example to put in the links instead of the SiteGrinder UI. For example a layer named "Robert Dolelink" will match the "Robert Dole" menu item. Notice on the resulting pages how the rollover hilite (the default is italic) stays active for the item corresponding to the page you are viewing. This is a text menu feature called "hilite stays" and can be turned off in the "Text Buttons" pane. The buttons in the first example would also obey the "hilite stays" setting if we had placed them all in a layer set and added the "-menu" hint to the end of the layer set's name. Try it!
60
There are pre-built sample files to help you learn about this feature. To access them open SiteGrinder and click on the "Sample Files" area of the report panel. Scroll through them to find a file of interest and click on it to open it in Photoshop. Close SiteGrinder and examine the layers and layer names. Try to imagine what their functions rill be when SiteGrinder builds them. Then open SiteGrinder again, click the build button, and examine the results when they open in your browser.
5. Create another text rectangle for products and put some lines of text in it. (we used the Media Lab product line) 6. Name that layer "products-menu"
61
7. Create another text rectangle for personnel and put some lines of text in it. 8. Name that layer "personnel-menu" (You guessed it, didn't you?) 9. Now position the products and personnel layers with the move tool so they are flush against the right side of the main-menu layer 10. Open SiteGrinder and click the "Build" button. You're done! 11. That's it! Sitegrinder has now created a page with a text popup menu along with pages for each menu item and the navigation programming to jump between them.
At this point you may wish to open SiteGrinder again and play with some of the text button settings to get some fancier rollover results like changing the background color of the menu items, etc.
62
Notice how the rollover hilite sticks around for the page that you are currently visiting. This behavior is the default and can be turned off. One of the most powerful features of this easy menu system is that menus can mix and match of all of the SiteGrinder elements we have seen so far. In other words you could have a graphical button pop up a text menu and some of those text menus could in turn pop up graphical menus, etc. You can even have a single menu with some text and some graphic elements. The mind boggles. The menu adding process can go on for as long as you can think of new menus and items to fill them with. If you wanted to add submenus to one of the products, let's say "SiteGrinder", you would just create another multi-line text menu with relevant items (let's say "Tech Support", "Download", etc.), name it "sitegrinder-menu" and position it where you want it to popup, probably just to the right of the "products" layer's text box.
63
Rolling over "graphical-button" will display the "graphical-menu" set when you are viewing the final page. Similarly "menus-button" will trigger the "menus-menu" set (currently hidden). In this case the buttons within the "-menu" sets are layer sets themselves containing the graphics for the buttons and rollover versions for them, but this is not necessary. They could be graphics or text layers with the "-button" hint instead of sets.
Making the menu hilite indicate which web page the user is viewing
If you use a text or graphical menu for navigation of your site you may wish to have the menu item for the page the user is currently viewing remain in it's rollover state to visually reinforce the location. To do this, you merely need to turn on the Menu Rollover Track active page setting in the SiteGrinder Settings UI pane of the SiteGrinder Window.
64
Advanced Techniques
Decorations
Browsers support colored borders and backgrounds for various elements. Even though these kinds of decorations are not supported by Photoshop you can still add them with SiteGrinder using the SiteGrinder Window's "Decorations" panel. Everything SiteGrinder found in your document that is eligible for decoration will appear in the Decoration panel's "layer" column. Clicking in the "Border" column to the right of a layer will open this dialog:
Whether to use a border Border width (Thickness) Border style (dashed, solid, etc) Border color Which side(s) the border should appear on Whether to use a background color What background color to use
Example: Here is an example of text with a dashed blue border and yellow background color decoration. It is much more efficient for downloading to use these decoration settings than it is to create similar effects with Photoshop image layers.
65
The following layer types may have decorations and will be listed in this dialog:
Text layers Image layers containing only a rectangle of a single color -picturebox layers -xmedia layers
Text buttons, text menus, and thumbnails can also have certain decorations, but they are not set in this panel. Text buttons and text menu decorations are set in SiteGrinder's Text Buttons panel. Decorations for gallery thumbnails are set in SiteGrinder's "Galleries" panel.
Image Galleries
SiteGrinder is very, very good at creating web galleries from folders of jpeg images. SiteGrinder allows you to lay out your galleries in a totally flexible manner, and it allows you to set up navigation any way you like while providing convenient automation to every aspect of the process. The SiteGrinder gallery system, while simple to use, has far too many features to describe here. Totally flexible image galleries are a major new feature of SiteGrinder 2 Pro, with a huge number of options. This feature is aimed at photographers, artists, gallery owners, and anyone else with a number of images they wish to display in an attractive, flexible, and easily navigable gallery format. It is possible to create a gallery of images with SiteGrinder Basic, but it involves the manual creation of many pages and buttons. SiteGrinder 2 Pro supports robust automatic gallery creation from folders of images based on a very small number of buttons and pages in the Photoshop document.
Automatic forward / backward sequential navigation between images Custom layouts to match any image width-to-height proportions Choose "Letterboxing" or cropping when image size/proportions don't match display areas Images can be given alt tags for search engine support Custom compression settings for images that require resizing Auto-creation of thumbnail images at user-chosen sizes and positions Auto-linking of thumbnails to full-sized images 66
Optionally place thumbnails on same page as full-sized images Pages with full-sized images can also display jpeg metadata in multiple areas anywhere on the page using custom text styles Auto creation of navigation from image pages back to thumbnail pages Standard SiteGrinder buttons can act as thumbnails Layer sets/groups can function as thumbs Layer set/group thumbs can use image metadata to uniquely label each thumbnail Auto creation of grid layout of thumbnails (thumbsheets) Thumbsheets can be scrolling and have customizable spacing between thumbs Auto creation, when necessary, of multiple pages of thumbs with navigation Optional support for already existing thumbnails Support for "rotated" jpegs
67
A folder of images on your hard disk A layer in a Photoshop document with the -picturebox hint "next" and "prev" buttons to navigate from one image to another A layer comp with the -gallery hint in which the -picturebox is visible
The four layers in the screen-grab below represent everything it takes to make a gallery that has no thumbnails - and technically you don't even need the background layer. (We'll get to the thumbnails, just hold your horses!)
The -picturebox layer is a rectangular image layer which will indicate to SiteGrinder where you want your images to appear on the page and what size to make them. You can use a solid rectangle or, for more of a what-you-see-is-what-you-get experience, use an example picture from your gallery that you bring into the document. What's important is the size and position of the layer, and adding "-picturebox" to the end of its name.
68
2. In an empty image layer create a rectangular selection for the -picturebox like the one above that's about 2/3 the size of the document. 3. Fill the selection with a color 4. Name that layer example-picturebox 5. Create a type layer and enter something like "Previous Image" as its contents. Name that layer prev-button and position it in the lower left. 6. Create a type layer and enter something like "Next Image" into its contents. Name that layer next-button and position it in the lower right.
Here you can point SiteGrinder to the folder of images you wish to display\in the space indicated by the size and position of the -picturebox layer you made. This panel displays, in the "Page" column on the left, a list of all the sets of gallery pages it found in your document. In this case there is only one, named "example" after the example-gallery layer comps you made.
69
Clicking in the "Source" column to the right of the gallery's name will bring up a dialog in which you can choose a folder of images and set other options.
1. Click the "Image Folder" button. 2. Use the folder selection dialog to find and select a folder of jpeg files. (If you don't have one handy, navigate to your Photoshop plug-ins folder and then into Media Lab SiteGrinder Pro/SiteGrinderDemoFiles and select one of the image folders there.) 3. Click OK. 4. Click the "Build" button at the bottom of the SiteGrinder window. SiteGrinder will generate a web page for each image. The first page will have only a next button and the last page will have only a prev button. All other pages will contain both next and prev buttons. SiteGrinder automatically handles the visibility of next-button and prev-button layers on the first and last pages of -picturebox galleries. Once the pages are generated, SiteGrinder will open one in a browser where you can use the navigation buttons to move between them.
Moving On
At this point you will want to save a copy of your file. There are a number of tutorials linked to below which begin with the file you've just created. Keep an unchanged version of the file you have just finished so you can perform many or all of these with a copy of it.
Be sure to follow at least one -thumb or -thumbsheet tutorial before building your own galleries.
Additional tutorials on creating galleries are on our website: http://www.medialab.com/sitegrinder/support/sg2tutorial_gallery1.html SiteGrinder 2: Zero-To-Hero Guide 70
Transition animations such as crossfade with customizable settings MP3 music soundtrack Hyperlinks on the whole show or unique to individual images Multiple slideshows per page supported Images scale to fit the slideshow placeholder size Optional controller with next/prev/pause functions
Slideshows can be a fun way to present your portfolio, but they can also act as small eye catching elements on a page to call attention to specials, entice viewers to another part of your site, etc. The slideshow hint is applied to an image layer whose rectangular contents act as a placeholder. The slideshow will be the same size as the contents of the placeholder layer and will replace that layer in the final output. When the slideshow hint is used the Slideshow UI pane will become visible when you open SiteGrinder. For each combination of a slideshow layer and a page there will be an entry in the Slideshow UI where you can select a folder of source images for the slideshow and choose settings. Note: Flash slideshows will automatically come to the top of your page. Any other web graphics or text that overlap this layer will be obscured by the slideshow
71
Adding Music
You can add music to a slideshow by placing an MP3 music file in the folder of images you are building the slideshow from. SiteGrinder will copy this file to your build folder. Music will pre-load so it can begin playing at the same time the slides do. This can potentially delay the start of a show. Pausing the show with the navigation controls will also mute the music.
72
Navigation
The Flash slideshow has a built in control for forward, previous, pause and play. This control is only visible when the person viewing the slideshow has rolled over it with their mouse. You can optionally turn this control off in the Slideshow settings dialog accessible in the Slideshows panel of the SiteGrinder window.
Options
Different slide show styles have different playback options. These include fade in time, fade out time, and duration for each slide. You set these options in the Slideshow settings dialog accessible from the Slideshows panel of the SiteGrinder window.
Hyperlinks
You can set a hyperlink for your show in the Slideshow settings dialog accessible from the Slideshows panel of the SiteGrinder window. If you type a URL into the "Link URL" field then it will be the same for every image. You can provide unique links for each image using metadata by following these steps: 1. Select a metadata field to hold the link. The "description" field is a good one. 2. Use a tool like Adobe Bridge to add your URLs to the JPEG metadata of each image in the field you selected. 3. In the "Link URL" field enter the metadata code for the field you selected. In this case it would be "[[description]]" (without quotes)
73
74
Reference Guide
Complete List Of SiteGrinder Panels
The SiteGrinder Window
The Global Controls
Certain controls are always available along the bottom of the SiteGrinder Window:
Close Button Closes the SiteGrinder window, storing custom SiteGrinder settings inside your Photoshop document. Once you close SiteGrinder you must use Photoshop's Save command to save your document or the settings will not be preserved. Register Button Opens the Register dialog. Use this dialog to enter your SiteGrinder 2 Basic or SiteGrinder 2 Pro unlock code. Documentation Button Opens the SiteGrinder documentation navigator. Build Button and Build Menu Builds your web site based on your current settings. The type of build and the location of the built pages depends on the setting of the Build Menu. About Button Opens a panel with general information about SiteGrinder and how to contact Media Lab. Settings Button Opens the Settings panel, where you can change certain aspects of how SiteGrinder builds your pages.
75
SiteGrinder only makes panels visible when they are relevant to the content of your document. You won't see the Slideshow panel unless you have a layer with the -slideshow hint, for example. Each panel contains a column of elements (usually layers) on the left and a corresponding column of settings on the right. To change the settings for any particular entry, click in the settings column next to the desired entry.
76
The Summary The Pre-Build/Post-Build Report The Learning SiteGrinder Area The Control Panel
The Summary
At the top of the report you can check a brief summary of whether or not SiteGrinder thinks your file is ready to build.
77
If SiteGrinder has found problems, you should review the Pre-Build report, which appears below the summary. After the build this area will contain a link to the folder where SiteGrinder built your pages. Click on the link to open the build folder. The "Control Panel" button will give you access to ftp and PHP functions.
The Sample Files button shows a list of files that demonstrate a variety of basic and advanced SiteGrinder features for you to examine and build. Clicking on one of these files will open it in Photoshop and tell SiteGrinder to analyze it. At this point you can build the file and examine the results in a browser or you can close SiteGrinder and look at the layers that make up the file in Photoshop. We recommend you do both. The Tip of the Day button will show information about random features of SiteGrinder you may not be aware of. Each time you click a new tip will be displayed. The Tutorials button provides links to step-by-step tutorials demonstrating various SiteGrinder features The Documentation button provides links into various subject areas of SiteGrinder's User Guide.
78
The Save Report button allows you to open the report in a browser so you can refer to it even after closing SiteGrinder to help you fix any problems that it lists. The Delete Old Previews button frees up space on your local disk by deleting any files created by "Preview" builds. These files are stored in the SiteGrinderData folder in your personal documents directory. The FTP Staging Upload button (Windows only) The FTP Upload Site button (Windows only) The Test PHP button attempts to upload a PHP test file to the ftp server specified in the Settings Panel and then open it in a browser. You will be able to tell if your server supports PHP from the results shown in your browser.
SiteGrinder can create pages from more than one Photoshop file at a time. Normally SiteGrinder assumes that the active (topmost) Photoshop document is the one you want to generate pages from. The pages panel lists all of the other open Photoshop files in case you would like to add additional files to your build. You can also choose files that are not yet open in Photoshop by clicking the "Add" button. After you have included additional files in the build by activating the checkboxes next to the file names you must click the "Update" button in order for SiteGrinder to pre-process them. Otherwise they will be ignored. Pre-processing can take time for complex documents, so SiteGrinder waits for you to add all of the additional documents you want and then click "Update". Once the documents have been chosen and the "Update" button clicked, SiteGrinder treats multiple files as if they were one large file with the layer names and layer comps from all of the files. This means that buttons from one file can refer to pages in another if they use the same name.
79
All of the pages SiteGrinder will generate from your document are listed here and can have their page settings modified or can be omitted from the build. The list of pages contains a page for every button SiteGrinder identifies in your document that doesn't have a corresponding "link" layer leading to a page that already exists in your site or else's site. The page names are created from the button names. Thus if a button is named "homebutton" and you haven't linked this button to something else with a "-link" layer or the SiteGrinder Buttons Pane, then SiteGrinder will assume you wish to make a page called "home.html." If there are buttons in your document which are not linked to anything (ie they do not match any page layer comp name and you have not set a specific link for using the "Buttons" panel or a "-link" layer) then pages named after these "orphan" buttons will show up in purple with a grey background. These are called "cloned pages" because you can build them as copies of pages that you have defined for other buttons and they are very useful for creating template pages. (See below.) Default Settings and Custom Settings The "Default Page Settings" can be changed here and will apply to every page SiteGrinder creates unless you add custom settings for specific individual pages. This means, for example, that you can set the default alignment to center all pages
80
horizontally, but you can make an exception for one particular page that should be left aligned. To change a page's settings you click in the settings column of the page list in the row of the page you wish to modify.
At this point a dialog box will appear in which you can specify custom settings or choose to use the default settings:
If you click OK the custom settings for this page will be displayed in the appropriate row of the settings column. To get rid of custom settings bring up this window and click "Use Defaults."
81
Setting Alignment
The alignment choices are Left, Center Horizontal, Center Horizontal and Vertical, and Right. NOTE: Due to a bug in Microsoft Internet Explorer 5, that browser will not center vertically correctly within the constraints of XHTML 1.1. This means you must choose between XHTML compliance or IE5 compatibility. This problem does not affect horizontal centering. If you decide that vertical centering that functions properly in IE5 is more important then it is relatively easy to work-around this problem. If you open up any document created with SiteGrinder, you'll see the following first line:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
We will try to address this more elegantly in the future, but XHTML 1.1 compatibility is a major feature of SiteGrinder and if it performed the above step we could no longer make this claim.
82
Cloned Pages
SiteGrinder creates two kinds of pages, "explicit" and "cloned." (Called "derived" pages in SiteGrinder 1.) "Explicit" pages are specified by the the user as either layer comps (see page 29) or SiteGrinder page definitions created with the SiteGrinder Tools plug-in. If a button name matches to the name of a layer comp or page definition then SiteGrinder uses the layers that are visible in the comp or definition to create the page. "Cloned" pages are created when a button name doesn't match to any layer comp name or page definition name and you haven't linked it to something. In this case SiteGrinder assumes that you wish to make a page that is derived from some other page that is explicit, or, if no explicit pages are defined it will use the current state of the Photoshop document. The "Clone new page from" setting, like the others, has a global choice, but can also have page-by-page exceptions. Cloned pages are very nice for creating template pages with standard graphics and a navbar that you will add main content to in some other tool. That's how we created many of these documentation pages, for example.
83
84
To change the link settings for a button you click the link itself to the right of the button. When you do you will be presented with this options window:
SiteGrinder allows you to set six different kinds of links. Choose from the list of radio buttons on the left and then enter the link information into the fields on the right. Link Types Page The page link panel has a menu that allows you to choose one of the pages SiteGrinder found in your document. This is the fastest and most foolproof way to set a link to a page you are about to build because there is no chance of mistyping. If the button is named after a page this link will already be set. File A file link allows you to choose a file on your local disk to link to. This is most useful if you are building to a folder that is in the folder hierarchy with the page you want to link to. In this case SiteGrinder will automatically generate a siterelative link. URL A URL allows you to type in a complete URL starting with "HTTP://" or "www". Only use this for full URLs. If you want to enter a site-relative URL use the "Literal" link type described below. EMail An email link let's you specify an email address and a subject line for a link. When the user of your page clicks on this type of link their email client will open and a new message with the provided address and subject will be automatically
85
created. You only need to enter the email address itself, as shown above. You don't need to precede it with "Mailto:". none The "none" setting tells SiteGrinder to create an empty link. This link uses the "#" character in the resulting HTML which essentially links to the page you are already on. This is provided so that you can set up a link and add the specific URL later in another package. Literal The "literal" link is used for anything not explicitly provided for above. SiteGrinder will set the exact text that you type into the field as the link allowing you to enter site-relative URLs or any other sort of complex link. Next, Previous These two types allow automatic navigation to the page before or the page behind. These settings are analogous to the next-button and prev-button hints. , Up This button type is analogous to the up-button hint and is part of SiteGrinder 2 Pro's Gallery features. Thumb This button is analogous to the -thumb hint and is part of SiteGrinder 2 Pro's Gallery features.
86
Like the Compression panel, the Text Buttons panel allows you to control the global setting for all buttons, and also allows you to create custom settings for specific buttons. To create a custom setting for a button, click the "Add..." button. A dialog will allow you to select a button from a menu of the available buttons, as well as the settings for that button. If you wish to change a button's custom settings, click on the button in the list and click the "Edit" button above the list. You will be presented with the same options you see in the default settings.
87
Text Button General Options: Text Style Settings for Normal and Rollover States You can choose to have your rollover states change text style, and you can also alter certain text style features of the normal state Borders for Normal and Rollover States As of Photoshop CS2, there is no way to set border properties for text fields. There are many border style options supported by browsers, however, so SiteGrinder allows you to set them here for both states. Custom Colors for Normal and Rollover States Photoshop also provides no setting for type layer background colors. Browsers support changing text color and text background color, so SiteGrinder gives you access to these as well. Changing the "backcolor" is a popular rollover effect that creates a rectangle of the selected color behind the text.
The "Save For Web Preset" menu lists all of the named settings from Photoshop's "Save for Web" dialog. This includes any settings you have created in that dialog and saved with a name. If you decide that you want to apply different compression settings to a layer or button, click the "Add" button. A dialog will appear allowing you to choose a layer to add, and the custom setting you wish to use for that layer.
88
You can later change or delete these custom settings by selecting a layer from the layer list and then clicking the "Edit" or "Remove" buttons. When you remove a layer from the list it will once again use the default settings that you see displayed. Some layers may not show up in the layer list because SiteGrinder is auto merging them with other layers. If you need to set a special compression setting for a layer you don't see in the list, close SiteGrinder and add the -nomerge hint to the end of the layer's name.
Text layers Image layers containing a rectangle of a single color -picturebox layers -xmedia layers
Text buttons and thumbnail border settings are set in the Text Buttons and Galleries panes.
Current The current state is drawn when thumbs appear on the same page with their picturebox. The "current" thumb is the thumb corresponding to the image currently displayed at full size in the -picturebox.
Thumbsheet Spacing
Thumbsheets are a way of having SiteGrinder automatically lay out your thumbs in a line or a grid. Use the Thumbsheet Spacing option to determine how many pixels apart each thumb will be from the others in the -thumbsheet.
Gallery-Specific Settings
To open the settings dialog for a particular gallery, click in the "Source" column to the right of your chosen gallery. In this dialog you will be able to determine the following:
The image folder where your full sized images reside How SiteGrinder will fit images that are larger than their pictureboxes The alt tag information for your gallery images. You can use metadata here. The page title for your gallery pages. You can use metadata here. Whether SiteGrinder generates your thumbnails or... If you have existing thumbnails in a folder you can set that here
NOTE: The "alt" tag refers to textual information about an image that is not displayed on the web page but is accessible to search engines and screen readers for the visually impaired. You can set this using the text entry field in this dialog. Using MetaData in the Alt and Page Title fields SiteGrinder has advanced support for JPEG image metadata. You refer to metadata by placing the name of the metadata field you want to use in double brackets, for example: [[date]]. You can use these codes in the alt and Page Title fields of this dialog. For example, if you want the title of each page of your gallery to include the date the image on that page was taken, you would enter the following into the Page Title field (without quotes): "I took this photo on [[date]]". When SiteGrinder builds the gallery pages it will replace [[date]] on each page with the date in finds in the JPEG metadata for that page's full-sized image.
These files can be images, video, flash animations, or html files. The External Media panel lets you do several things:
Optionally specify an External Media folder where SiteGrinder will search for media and html files that match -xmedia layer names. Optionally set a unique file to import for each -xmedia layer and for each page that layer appears on. You can select any file regardless of directory. You can even select files over the internet with URLs. Set options for the imported media. These differ depending on the type of media selected.
The Page & Layer column of this panel lists all -xmedia layers once for each page they appear on. This allows you to set different media for different pages using the same xmedia layer. To change settings, find the layer and page combination you wish to alter and click in the "Type" column next to it. A dialog box will open up which allows you to chooses a file. Once you select a file (or if one has already been selected) you can change the settings appropriate for the type of file.
91
The specific settings will change depending on the type of slideshow you have chosen.
Whether the form is for PHP or CGI email or is a generic form (everything else) For CGI Email or Generic forms, what the custom variables and their values are For CGI Email, what the URL of the mail cgi is for your server, and whether to use POST or GET For generic forms, what the URL is to send the form to and whether to use POST or GET For PHP email, where the email is to be sent, its subject, etc For PHP email, a thank you page. This must be a page defined in SiteGrinder.
To change the settings of any slideshow, find the layer in the "Form Layer" column on the right and click on the corresponding row in the "Settings" column. A settings dialog will appear that allows you to choose the type of slideshow and the source directory.
92
93
SiteGrinder builds much faster if Photoshop is hidden behind the browser. Using this option can speed up building significantly. <head> Here you can paste or type raw HTML to be placed into the head section of the document. Make sure any entry is XHTML 1.1 valid. <meta> Some commonly used meta settings. Keywords should be separated by commas. FTP Settings The FTP settings are totally optional. If set you'll be able to FTP upload your sites after building.
94
Set up pages and page content in versions of Photoshop prior to CS Make room to insert content in the middle of a document Copy layer sets/groups with find and replace in layer names Examine JPEG metadata to assist with gallery making
From this tool you can define a page based on the current state of your Photoshop Document. You do this by typing a name for the page that matches the name of any buttons that link to this page into the "New Page Name" field. (As a shortcut, if you
95
select a graphical button in the layers palette its name will be entered into the New Page Name field when you invoke this dialog.) Clicking the New button will create a new page definition for the current document state. You may also manipulate the pages that have already been defined. If you select a page from the "pages" list you can delete it, restore it, or update it. Deleting a page removes it permanently. Updating it causes the selected page to now reflect the current document state instead of the state that existed when the page was created. Restoring causes the visibility of layers in the Photoshop document to switch to the way they are in the currently selected page definition. Layers added to the document after the creation of a page definition are not included, so be sure to update your page definitions after adding any layers that should appear on them.
96
Imagine you create a layer set named "home" for part of your navigation menu. In it you have created a layer called "home-button" and another called "home-rollover". Once that button is complete you may want to create a second button that look almost the same, but it will function as your "gallery" button. In this case you can use Smart Layerset Copy to duplicate the layer set/group and also change every occurrence of "home" in the layer names to "gallery."
97
SiteGrinder 2 Hints
What is a SiteGrinder Hint and how do I use them? Hints are words like "button" or "menu", preceded by a dash character, that you can add to the end of layer names in Photoshop to tell SiteGrinder what kind of web content to make out of the layers. This is the most important thing, indeed almost the only thing, you need to understand about how SiteGrinder works. A graphical rollover button can be created from two graphic layers using this technique. As an example take two layers named "click me-button" and "click me-rollover". SiteGrinder knows they are part of the same button because the parts of the named before the hint ("click me") match each other. SiteGrinder knows from the hints that "click mebutton" should appear on the final web page and be replaced by "click me-rollover" when the web page user rolls over the button. The most commonly used hints can be abbreviated by their first letters, so "-r" and "-b" would have worked just as well for "rollover" and "button". Without these kinds of hints at the end of a layer name SiteGrinder will treat a layer as a non interactive element, just a part of the background graphics of the page. The most important thing to keep in mind is that hints are always preceded by a dash. This means you are free to use words in layer or set names like "rollover" or "button" wherever you like. These words are totally ignored by SiteGrinder unless they are immediately preceded by a dash, as in "-rollover".
98
99
Hints Used by both SiteGrinder 2 Basic and Pro Hints requiring SiteGrinder 2 Pro
Legend: Long The full name of the hint Short Abbreviations for the hint. Only some hints have these. Type What the hint can be applied to. "Text" denotes a type layer, "Image" denotes an image layer, "comp" denotes Photoshop CS layer comp or SiteGrinder Tools Page Definition, and "rect" denotes a rounded recangle shape layer created using Photoshop's rounded Rectangle tool. Set? A "Y" in this column means the hint can be applied to a layer set/group. Hints Used by both SiteGrinder 2 Basic and Pro Click the function descriptions below for relevant sections of the SiteGrinder documentation. The -nomerge and -ignore hints are new to SiteGrinder 2. (SiteGrinder 1 users note, the -haslinks hint is no longer needed. If you provide a -links layer matching a text layer SiteGrinder 2 will act as if the matching text layer has the -haslinks hint.) Long -button -rollover -popup -popdown -hide Short Type Set? Function -b -r -p Any Any Any Any Any Y Defines a button. Y Defines a rollover for a button with the same name. Y Creates a popup for the button with the same name. Y The "button" with the matching name causes this to hide Y This layer or set will be hidden when any popups appear from any button Forces a type layer to generate live styled text instead of a graphic. Same as turning off anti-aliasing for the layer
-text
Text
100
Long
Short Type Set? Function -g Text Text Forces a type layer to be rendered as a graphic A list of links matching words or phrases in the corresponding type layer Applies the contents of a text field as a hyperlink for the button of the same name. Applies the contents of a type layer as an email link for the button of the same name. Gives the type layer a vertical scrollbar on the final web page. Y Causes a type layer or a layer set to be a menu Causes a Rounded Rectangle shape layer to become a resizable rounded rect web element Causes a layer to become a 16X16 favorites icon for the site Specifies that a layer comp represents a page; optional for comps with matching buttons Tells SiteGrinder Pro not to merge this layer with any other when it builds Layer (or layer set/group) will not be included in the build of any page, even if it is visible.
-links
-link
Text
-@link
Text
-nomerge
Image Y
-ignore
Any
101
-grow
Text,xmedia
interior-tile
Image
exterior-tile interiorgrowtile
Image
Image
-xmedia
Any
next-button
Any
Any
Any
Any
102
Long -thumbsheet
Type Image
Set? Function Layer defines an area which SiteGrinder will fill with thumbnails Layer is a placeholder for the full size versions of images in a gallery to be generated by SiteGrinder Pro Layer contains metadata hints so SiteGrinder Pro will display image metadata along with a gallery image Page contains thumbnails, thumbsheet or pictureboxes for a gallery to be created by SiteGrinder Pro USE WITH CAUTION. Text layer contents will be included without modification, allowing arbitrary HTML or other code to be directly added to a sized and positioned DIV.
-picturebox
Image
-metadata
Text
-gallery
Comp
-literal
Text
NOTE for Up, Next, and Prev buttons: "Up-button", "Next-button", "Prev-button", "Nextset-button", and "Prevset-button" must be the full name of the layers or layer sets/groups for these to function. These can also have -rollover and -popup versions, as in "Up-rollover" and "Up-popup".
103