Mouseout example one |
Called by
the statement return overlib('Mouseout example',STICKY,
CAPTION,'Mouseout Test',NOCLOSE) |
Mouseout example two |
Called by
the statement return overlib('Mouseout example',STICKY,
CAPTION,'Mouseout Test',CLOSETEXT,'Exit',CLOSECLICK) |
|
The look of
the popups is controlled entirely by using the property
CSSCLASS with the following style rules for the main text,
caption text, foreground, and background:
.bodyText {font-family: Arial; font-size: 16px; color: #000000;}
.capText {font-family: Arial; color: #FFFFFF; font-size: 11px;} .fgClass {background-color: #CCCCFF; text-align: center;} .bgClass {background-color: #333399;}
.capText a {text-decoration: none; color: #ffffff;} .capText a:hover {color: #ff0000;}
These
parameters were defined in a Javascript code block which follows the LINK to
the overlib source code as follows:
<SCRIPT LANGUAGE="Javascript" TYPE="text/javascript">
<!--
var ol_css = CSSCLASS;
var ol_fgclass = 'fgClass';
var ol_bgclass = 'bgClass';
var ol_textfontclass = 'bodyText';
var ol_captionfontclass = ol_closefontclass = 'capText';
//-->
</SCRIPT>
These
examples use overlib.js (v4.17)
|
|