Table of Contents

  • Introduction
  • Templates
  • Navigation
    · Introduction
    · Basic Concept
    · <navigation>
    · <textstyle>
    · <boxstyle>
    · <mi>
    · Examples
    · Example 1
    · Example 2
    · Example 3
  • SiteBuilder Tags
  • Examples
  • References
  •  <boxstyle> 
    <boxstyle> is defined in the WebLayout Templates module.

    Defines the appearance of one of the cells of the menu.

    Attributes
    alpha, alphainvert, bg, fg, height, left, middle, right, mirrortile, mouseover, rot, scaletofit, selected, shadow, src, tile, top, text, delimit, bottom, width,  

    Attributes

    alpha=number|path
    Set the alpha channel that is used to determine how transparent the foreground should be. Is either an number between 0 and 255 or an image file. 0 means opaque while 255 means totally transparent.

    alphainvert
    Invert alpha values and alpha images.

    bg=color
    Set the background color.

    fg=color|path
    Set the text color. Is either a color or an image file.

    height
    Set the cellīs height.

    left
    Set the cell's horizontal position to the left column.

    middle
    Set the cell's horizontal position to the middle column.

    right
    Set the cell's horizontal position to the right column.

    mirrortile
    Make all images tile to the actual size of the cell. The tiling will be mirrored so that no rough edges appear.

    mouseover
    Make the cell specify how the menu should look when the mouse pointer is over it. Can only be used on the text row.

    rot=degrees
    Rotate all images clock-wise.

    scaletofit
    Resize all images so they fit in the cell.

    selected
    Make the cell specify how the menu should look for the selected item. Can only be used on the text row.

    shadow=[
    Draw a blurred drop-shadow behind the text. Distance defaults to 3 pixels. Direction is entered using clock-wise degrees and defaults to 135. Color defaults to black. Blur amount defaults to 2.

    src=path
    Use this foreground picture.

    tile
    Tile all images to the actual size of the cell.

    top
    Set the cell's vertical position to the top row.

    text
    Set the cell's vertical position to the text row.

    delimit
    Set the cell's vertical position to the delimit row.

    bottom
    Set the cell's vertical position to the bottom row.

    width=number
    Set the cellīs width in pixels.
    Example