smlogo picture
 
fatpage picture
 

Object Info:

Type: script
Size: 2K
Updated: 6/19/97
 

renderFat
datedLink
Border
structuredNP
siteContents
navBar
pageList
pageTable

Border

Page Updated: 9/2/97
Introduction

Border is a simple macro that builds a table that places a colored border around an image. Since border applies colors to table cell entries, it requires Netscape Navigator 3.0 or MS Internet Explorer 3.0 or higher to display colored borders.

Example 1 border (imageRef("design"),10,"skyblue")
places a skyblue border ten pixels wide around the image:
design picture

The macro can be nested to build double mats.

Example 2
border (border (imageRef("design"),10,"skyblue"),3,"black")
places a double border around the image:
design picture

Details

Border (object, size, color) builds a table around an object (typically an image) with CELLPADDING = size and BGCOLOR = color. Size is in pixels, while color can be a reference to a standard Netscape color (ie "skyblue") or a hexidecimal representation of the color (ie "87CEEB").


This is a fat web page containing user.html.macros.border. This script is approximately 2K in size. In Frontier 4.2.3, choose the Get Page Data command from the Scripts menu to copy the script [user.html.macros.border] into your object database. In Frontier 5a22, save the page to disk as html source, and then open it in Frontier using the "Open..." command in the File menu. More info on fat web pages is available here.

[Home] / Products & Services / Stuff to Download / webTools for Frontier

< Prev | Next >

by Tom Clifton, © 1997 ES Designs
email: tclifton@es-designs.com