coolTip is
an amazing tool, with fabulous support. The plugins really extend its usefulness.
Unlike the similar tool known as overLIB, it provides built-in
support for more than one visible popup at a time on the web page
Note: The documentation page for the Xml Plugin was constructed
to adhere to xhtml+xml standards. Consequently, this page must be viewed in
a browser that can handle this file type. Current version of coolTip and its plugins is version 2.0.
~ coolTip Change Log ~
- December 21, 2006 ~ Tweaked the Fade plugin to remove the
restriction that FADEIN and FADEOUT could not be applied to the same coolTip and
that FADEOUT could not be applied to a STICKY coolTip. No
changes to the core module.
- September 17, 2006 ~ Tweaked the Hideform plugin to make it more efficient.
No change in the Core Module.
- September 13, 2006 ~ Modified the HIdeform plugin to avoid
a potential handles leak that was reported on the overLIB news group.
No changes were made to the Core Module.
- August 27, 2006 ~ Changed the Png fix module so that it only
applies to IE versions 5.5 and 6. No change in Core Module.
- August 26, 2006 ~ Changed documentation so that it now indicates
the Core Version being used and when the core and the pertinent plugin code were
modified.
- August 21, 2006 ~ Made appropriate changes in all plugins that were dependent
on the createPopup routine, which were Basic Core,
Anchor, Bubble, Cssw3c, Draggable, ElmContents, Exclusive, Hideform, Pointer,
and Shadow.
- August 16, 2006 ~ Changed the name of the main routine that
creates the popup from createPopup to ctCreatePopup to
avoid conflicts with a similarly named Windows function. Core version now stands
at v1.71.
- July 22, 2006 ~ Added the DRAGCAP command to the Draggable
plugin. This command allows the user to drag a popup via it caption region,
if there is one, and at the same time automatically sets the DRAGGABLE command
to on so that it doesn't need to be specified.
- May 14, 2006 ~ Added the PngFix Plugin to handle PNG files
properly in IE (5
<= versions < 7). No change made in the Core module. Adapts the
procedure described in http://homepage.ntlworld.com/bobosola. Introduces one command,
PNGFIX, whose default value is off (0) and when used on the command line toggles
its value to the opposite state for that command only. Includes
the function fixImage() which can be applied to other images on the page
via an onload event handler. Image maps are not specifically treated
and images must have a width and height attribute set.
- April 14, 2006 ~ Corrected a logic error in the code (pointed
out by a user) that caused popups to freeze if the FadeOut command is rapidly
invoked. Also removed some unnecessary code. No changes have been made in the
Core Module.
- April 3, 2006 ~ Modified the Fade Plugin slightly so that fadein occurs
more smoothly. No changes in the Core Module.
- March 25, 2006 ~ Modified the Draggable Plugin so that
for versions of Opera greater than 8.00, initialization of dragging begins
by depressing the ALT key in conjunction with the left mouse button similar
to the way it works in other supported browsers. For earlier versions of
Opera (7.xx,8.00), the user must depress the CTRL key. No changes made to
the core module.
- February 18, 2006 ~ Tweaked the routine nd() so
that the order of its two optional arguments is immaterial.
Also introduced a slimned down basic Core Module for creating popups. This
Core module is NOT compatible with the plugin structure and has eliminated
some commands from the normal Core module that aren't used very often. Before
using, please consult its documentation
pages.
- January 16, 2006 ~ Modified the Draggable plugin again
by adding the beingDragged property to the popup object collection.
This property is initialized to 0 and when the mouse's left button is pressed
down it is set to 1 and reset to 0 when the mouse's left button is released.
When mousing over another layer, its identity is not changed unless the beingDragged property
is 0. No changes have been made to the Core Module.
- January 13, 2006 ~ Modified the Draggable plugin so that
it will handle any MOUSEOFF or NOCLOSE commands applied to the coolTip.
Other mouseover events attached to the coolTip will
become disabled. No changes to the Core Module.
- January 12, 2006 ~ Made small changes in the Core module routine opt_NOCLOSE() to make the mouseover routine consistent with what's being done in the Draggable
plugin.
- January 10, 2006 ~ Modified the Draggable Plugin so that
it is easier to identify the DIV container that is being moused over prior
to intiation of dragging by adding a routine to each DIV container which
montiors mouseover events and sets the global cTip and po (cTip.pop)
variables.
- January 1, 2006 ~ While testing with Ns4.x, noticed an
omission to catch the command 'caption' in the Core Module. This
was present since the beginnning but just caught now; version level is now
v1.67. Added a line in the chkCursorPosition() routine,
contained in the Draggable plugin, so that it points to the image
object explicitly when cNs4 is true.
January 2, 2006 ~ Added a check in the Pointer Plugin to disable VAUTO and
HAUTO if they are set since these are inconsistent with the purpose of this
plugin.
- December 31, 2005 ~ Moved two lines of code in the Core Module without
changing its functionality to make it easier for a user to implement
my suggested fix for problems associated with Ns4.x.
- December 9, 2005 ~ Based on a suggestion by a user, modified
the Draggable plugin so that when when dragging is initiated, the main cell
contents are hidden and then reshown when dragging stops. This should improve
the response of a coolTip when dragging, particularly when
the contents of the coolTip is particularly complex.
On December 16, 2005 this plugin was further modified by
the addition of the HIDECONTENT command which gives the
user the option of hiding the body contents while dragging. The default value
of this command is off so that body content remains visible while dragging.
No changes have been made to the Core Module.
- November 30, 2005 ~ Corrected a logic error in the Centerpopup Plugin so
that it now positions image containing popups correctly with respect to the
browser window.
- November 29, 2005 ~ Made small changes to the Hideform Plugin so that it
will take into account settings made in the Shadow and Bubble Plugins.
- November 11, 2005 ~ Based on user feedback, modified the escSglQuote() routine
so that it first calls the routine unpack() to convert ASCII encoded
characters then escapes any embedded single quotes. Core module now at v1.65.
- November 9, 2005 ~ Based upon user feedback, corrected a couple of small
logic errors in the code for the Xml plugin; these corrections now improve
the code. Only this plugin has changed.
- October 28, 2005 ~ Based on user feedback, made small corrections to the
Xml Plugin to keep errors from being generated. Modifications were very minor
and actually improved the logic of the code. Only this plugin has changed
with this modification.
- September 23, 2005 ~ Based on user feedback, modified
the code in the Xml Plugin for getting tag attribute values so that it now
works when the values are enclosd with either single or double quotes. Only
this plugin has changed with this modification.
- September 8, 2005 ~ Based on user feedback, modified the calculation of
the popup width in the generatePopUp() routine of the Hideform Plugin
so that if there is no shadow being specified, it takes the offsetWidth value
of the containing div container to take into account any large image that
may be present.
- August 24, 2005 ~ Based on user feedback, had to correct
a small logic error in the Positioncap Plugin when specifying an external
HTML file.
Also made a small correction to the Centerpopup plugin
to correct a problem that another user pointed out when using that plugin
in conjunction with other plugins. Sometimes the popup's width is NaN and
code from the Core module which took this situation into account was placed
into the horizontal and vertical Placement routines in the Centerpopup plugin
to avoid this problem. This same modification was introduced into the
PositionMod Plugin and the file cVdbg.js which is used to demonstrate the
Debug Plugin.
New
versions of all of these files have been uploaded to the web site.
- August 2, 2005 ~ Added a single line to remove the
in status when WRAP is turned on. This was pointed out by a user on the
overlib newsgroup.
- July 29, 2005 ~ Added the CAPALIGN and TEXTALIGN commands to the code for
the Positioncap and Cssstyle plugins from which they were apparently omitted.
- July 27, 2005 ~ Tweaked the Core and PIP Plugin code to ensure that the
CLOSEALL command works as it was meant to. This finally the soluton that
was attempted in item #4 below. Core now at v1.63
- July 27, 2005 ~ Corrected a logic error when calling the routine ctMain
and the current coolTip has a delay time in appearing.
Basically, the corrections made on July 24, 2005 to make the Draggable Plugin
perform more reliably made this problem much more apparent. It was an omission
that was present from the very beginning. Core Version is now at 1.62
- July 26, 2005 ~ Had to scale back the PIP and Core Module to a previous
version since a user was reporting problems with the code. The Core Module
was tweaked by removing code in the detelePopup() routine that really wasn't
needed Core now at v1.61
- July 25, 2005 ~ Tweaked the PIP Plugin code to provide
more consistent behavior with respect to the CLOSEALL command and had to
modifiy the Core code to be consistent with it - Core now at v1.60
- July 24, 2005 ~ Based on user's comments, the Draggable
plugin code was tweaked so that it performed more reliably. Added a check
in the onmouseover event to check to see if the onmousedown event was still
defined for the popup and a call made to re-establish it if it wasn't.
- July 22, 2005 ~ Tweaked code in the Positioncap Plugin.
In the close function within this plugin that explicitly handles a caption
and a close link, explicit referencing of the popup to which it applied was
omitted. That has now been corrected.
- July 21, 2005 ~ Tweaked the code in the Draggable plugin
so that when used in conjunction with the PIP plugin results in more consistent
behavior for all draggable popups. However, the user must now refrain from
using the NOCLOSE or MOUSEOFF commands on non-primary popups or they
won't function correctly. These popups must be closed via an explicit "Close"
link. This restriction only applies if the Draggable Plugin is included
with the PIP plugin.
- July 20, 2005 ~ Corrected a work around in the Shadow
plugin that was needed when Microsoft released its SP2. It was noticed that
after the first popup with a Shadow effect was formed, subsequent nested
DIV containers had undefined ID
values. The work around was to disable the Shadow effect. After a user of
coolTip mentioned this problem with IE, this temporary solution has now been
eliminated by accessing directly the nested DIV containers using IE's DOM
methods. No changes were made to the Core module.
- July 19, 2005 ~ Corrected errors in setting default values
for STATUS and AUTOSTATUS and in initializing the pop object for a popup.
Also found that a check for the event object in the last line of the routine
ctMain() was missing. This is needed for the Opera browser. Core
module now at v1.58
- July 17, 2005 ~ Core module and the Followscroll, Shadow
and Crossframe plugins were modified slightly to remove unknown object
references discovered while testing in a frame environment (v1.57).
Previous version works fine outside of a frame setting.
- April, May, 2012 ~ The Core module and all plugins have been
extensively revised. (See this file for explicit changes made to the code.) Support for legacy browsers like Ns4.x and IE4 have been removed. Now
only browsers adhering to current W3C recommendations are supported, which includes support for
the CSS3 specification. Version number is now 2.0.
The plugins have been revised to v2.0 Core module coding. The following plugins are no longer supported:
- Bubble
- Cssstyle
- Cssw3c
- Exclusive
- Fade
- Hideform
- MouseCapture
- Pointer
- Positioncap
- Scroll
NOTE older versions of the plugins are not compatible with this newer version. Please upgrade.
- November 30, 2012 ~ Removed support for the Cross Frame module because 1) the FRAME and FRAMESET elements are deprecated and should no longer be supported and 2) the Chrome browser issues an error message when attempting to access other frames.
- December 20, 2012 ~ Added a function to generate unique div ids based on ctDiv. The first name is ctDiv1. PUID has been modified so that if the next parameter is not a string value, then an unique id is generated -- ctDivX.
- February 25, 2013 ~ In the parse routine changed all occurences of ++i (or ++k) to (++i) [(++k)] since a user has reported problems with the incrementing being done incorectly in recent versions of FireFox.
- August 10, 2013 ~ Added the new module cAnimation.js which achieves some animation effects on the popup using CSS3 Animations. The corresponding reference file was also updated.
- September 1, 2013 ~ Added code to show an Alert notice when a page loads.
- April 21, 2018 ~ The documentation page for the cCore command page been revised so that it now complies with current markup standards.
- October 5, 2018 ~ Core code changed overflow:hidden on the content region to overflow: auto and added the parameter CONTENTHGT so that when the content in this region exceeds this value, sroll bars will appear for the user to see the content.
- October 29, 2018 ~ Removed use of eval() in the parseTokens routine in Core code. Also simplified calls to postParse routines by removing the pf parameter.
- October 29, 2018 - November 2, 2018 ~ Removed almost all use of eval() routine and eliminated the use of with() wrapping.
- November 4, 2018 ~ Changed the cDraggable.js routine to eliminate a call to an internal routine by using Element.getBoundingClientRect() of the DOM
- November 7, 2018 ~ Modified the position routine in the Anchor module and it now gives much better results.
Thank you for visiting cooltip.us - Come back again soon.