Help - Search - Members - Calendar
Full Version: Overlib
Hostony Board > General Support > HowTo
gogetglo
I'm currently using Overlib and I would like to customize the colors. The file has been uploaded, script-sourced from the site but there are so many codes that I don't know which ones to edit to customize the Overlib colors. I need some help, please
artrocity
http://www.bosrup.com/web/overlib/?Command_Reference

from the Overlib documentation !

Colors, Fonts and Images
FGCOLOR color
Color of the inside of the popup box. A string value whose default is "#CCCCFF". NOTE: If a hexadecimal triplet is specified for the color, then the leading hash (#) mark must also be included according to the HTML 4.01 Specification.
Variable: ol_fgcolor.

overlib('This changes the popup's main text color to a light yellow', FGCOLOR, '#FFFFCC')

BGCOLOR color
Color of the border of the popup box. A string value whose default is "#333399". See NOTE for FGCOLOR.
Variable: ol_bgcolor.

overlib('This changes the border and caption area color to green', BGCOLOR, '#006600')

TEXTCOLOR color
Sets the color of the text inside the box. A string value whose is black ("#000000"). See NOTE for FGCOLOR.
Variable: ol_textcolor.

overlib('This changes the main body text to blue', TEXTCOLOR, '#0000FF')

CAPCOLOR color
Sets the color of the box's caption. A string value whose default is white ("#FFFFFF). See NOTE for FGCOLOR.
Variable: ol_capcolor.

overlib('This changes the caption text to yellow', CAPCOLOR, '#FFFF99')

CLOSECOLOR color
Sets the color of the close text. A string value whose default is "#9999FF". See NOTE for FGCOLOR.
Variable: ol_closecolor.

overlib('This changes the Close color to white', CLOSECOLOR, 'white')

TEXTFONT font
Sets the font to be used by the main text. A string value whose default is "Verdana,Arial,Helvetica". NOTE: Multi-word font-family names must be quoted.
Variable: ol_textfont.

overlib('This sets the text font-family to Times Roman', TEXTFONT, 'Times Roman')

CAPTIONFONT font
Sets the font of the caption. A string value whose default is "Verdana,Arial,Helvetica". See NOTE for TEXTFONT.
Variable: ol_capfont.

overlib('This sets the caption font-family to Times Roman', CAPTIONFONT, 'Times Roman')

CLOSEFONT font
Defines the font for the "Close" text. A string whose default is "Verdana,Arial,Helvetica". See NOTE for TEXTFONT.
Variable: ol_closefont.

overlib('This changes the close font-family to Times Roman', CLOSEFONT, 'Times Roman')

TEXTSIZE size
Size of the main text's font. It is a string value containing either an integer, as '1', or a number with a length specifier, like '10px'. Default value is '1'.
Variable: ol_textsize.

overlib('This changes the main body text size to 10 pixels', TEXTSIZE, '10px')

CAPTIONSIZE size
Size of the caption's font. It is a string value containing either an integer, as '1', or a number with a length specifier, like '10px'. Default value is '1'.
Variable: ol_captionsize.

overlib('This changes the caption text size to 0.5 ems', CAPTIONSIZE, '0.5ems')

CLOSESIZE size
Size of the "Close" text's font. It is a string value containing either an integer, as '1', or a number with a length specifier, like '10px'. Default value is '1'.
Variable: ol_closesize.

overlib('This changes the close text size to 9 pixels', CLOSESIZE, '9px')

FGBACKGROUND picture
Defines a picture to use instead of color for the inside of the popup. You will most likely want to set FGCOLOR to nothing or the color will show as well. A string value whose default is the null string (" "). Can also include the absolute or relative path to the image.
Variable: ol_fgbackground.

overlib('This will use myImg.gif for the main body text background',FGBACKGROUND,
'myImg.gif', FGCOLOR,'')

BGBACKGROUND picture
Defines a picture to use instead of color for the border of the popup. You will most likely want to set BGCOLOR to nothing or the color will show as well. When having a Close link, Netscape will re-render the table cells, making things look bad. A string value whose default is the null string (" "). Can also include the absolute or relative path to the image.
Variable: ol_bgbackground.

overlib('This will use myImg.gif for the caption area background', BGBACKGROUND,
'myImg.gif', BGCOLOR,'')

CAPICON url
Displays a small icon before the popup caption. A string value whose default is the null string (" ").
Variable: ol_capicon.

overlib('This popup includes an icon in the caption', STICKY,
CAPICON,'images/handgrab.gif', CAPTION, 'CAPICON Example')

BORDER pixels
Makes the border of the popups thicker or thinner. A number whose default is 1.
Variable: ol_border.

overlib('This sets the popup's border to 5 pixels', BORDER, 5)

BACKGROUND picture
Instead of using the table box as background, your picture will be used. A string value whose default is the null string (" ").
Variable: ol_background.

overlib('Uses myPicture.jpg as the background', BACKGROUND, 'myPicture.jpg', FGCOLOR, '')
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.
IPS Driver Error

IPS Driver Error

There appears to be an error with the database.
You can try to refresh the page by clicking here