It could be argued that the Exclusive Plugin is
not really necessary with coolTip's independent popups,
as opposed to overLIB's use of a single container for popup content.
However, this plugin has been retained to make it easier for
people who are using overLIB to more easily start using coolTip.
In addition, the default behavior of coolTip is to mimic the behavior in overLIB.
The three commands in this plugin pertain to a STICKY popup. EXCLUSIVE is
a no-parameter command that prevents other popups from being shown
until the current popup is explicitly closed, either by mousing
off of it (if MOUSEOFF is specified) or by activating the "Close" link,
if there is one. When EXCLUSIVE is used, then the string parameter
to the command
EXCLUSIVESTATUS is
shown in the status bar region. The default value of this string
is "Please
close open popup first." but it can be reset via the ctPageDefaults() routine.
The final command, EXCLUSIVEOVERRIDE,
will immediately close an EXCLUSIVE popup. This no-parameter
command has no default value, which means that it can not be
set via the ctPageDefaults() routine. This command is meant
to be used on the command line only at runtime. The following three
examples demonstrate these commands in action. The actual call
is shown in the upper popup whereas the actual popup is the
lower one.
- exclusive (notice
that the coolTip assigned to div1 is
also being affected by the EXCLUSIVE command)
- click here to
change the status bar message to 'STICKIES are locked'
- exclusiveoverride (make
sure that the first popup is showing).
|