SiteGrinder 2 Hints

Hints are added to the end of the name of a layer, layer set, or Photoshop CS layer comp after a dash character. Thus to make a layer named "home" into a button you change the layer's name to either "home-button" or "home-b".

Hints Are Divided Into 2 Categories:

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 Short Type Set? Function
-button -b Any Y Defines a button.
-rollover -r Any Y Defines a rollover for a button with the same name.
-popup -p Any Y Creates a popup for the button with the same name.
-popdown   Any Y The "button" with the matching name causes this to hide
-hide   Any Y This layer or set will be hidden when any popups appear from any button
-text   Text   Forces a type layer to generate live styled text instead of a graphic. Same as turning off anti-aliasing for the layer
  -g Text   Forces a type layer to be rendered as a graphic
-links   Text   A list of links matching words or phrases in the corresponding type layer
-link   Text   Applies the contents of a text field as a hyperlink for the button of the same name.
-@link   Text   Applies the contents of a type layer as an email link for the button of the same name.
-scroll   Text   Gives the type layer a vertical scrollbar on the final web page.
-menu   Text Y Causes a type layer or a layer set to be a menu
-rrect   rect   Causes a Rounded Rectangle shape layer to become a re-sizable rounded rect web element
-fav   Any   Causes a layer to become a 16X16 favorites icon for the site
-page   Comp   Specifies that a layer comp represents a page; optional for comps with matching buttons
-nomerge   Image Y Tells SiteGrinder Pro not to merge this layer with any other when it builds
-ignore   Any Y Layer (or layer set/group) will not be included in the build of any page, even if it is visible.

Hints requiring SiteGrinder 2 Pro

Use of these hints in SiteGrinder 2 Basic will trigger copy protection watermarking.

Long Type Set? Function
-form Text   The text layer contains information SiteGrinder Pro will use to build HTML form entry fields
-grow Text,xmedia   The layer height and position indicates the vertical section of the page that may grow vertically
interior-tile Image   The pattern used in this layer's Pattern Overlay style will be used as the page's background tile
exterior-tile Image   The pattern used in this layer's Pattern Overlay style will fill the browser window area outside the document area
interiorgrow-tile Image   The pattern used in this layer's Pattern Overlay style will fill the area of the page's -grow layer
-xmedia Any   Layer is a placeholder telling SiteGrinder Pro to include some external media, such as a Flash movie or an HTML file, at layer's location when building
next-button Any Y Creates automatic forward navigation between pages, especially gallery pages. See note below.
prev-button Any Y Creates automatic backward navigation between pages, especially gallery pages. See note below.
nextset-button Any Y Creates automatic forward navigation between thumb pages.See note below.
prevset-button Any Y Creates automatic backward navigation between thumb pages.See note below.
up-button Any Y Creates automatic navigation from a gallery image page to its corresponding page of thumbnails.See note below.
-img Image   Uses the HTML <img> tag when placing the image.
-slideshow Any   Layer is a placeholder for an animated slideshow to be generated by SiteGrinder Pro
-thumb Image Y Layer will be a thumbnail for a gallery image
-thumbsheet Image   Layer defines an area which SiteGrinder will fill with thumbnails
-picturebox Image   Layer is a placeholder for the full size versions of images in a gallery to be generated by SiteGrinder Pro
-metadata Text   Layer contains metadata hints so SiteGrinder Pro will display image metadata along with a gallery image
-gallery Comp   Page contains thumbnails, thumbsheet or pictureboxes for a gallery to be created by SiteGrinder Pro
-literal Text   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.
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".