Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

cdm-dataportal / 5.x / modules / cdm_dataportal / js / cluetip / Changelog.txt @ 36311992

History | View | Annotate | Download (9.16 KB)

1

    
2
== New and Noteworthy ==
3

    
4
== 0.9.6 ==
5

    
6
* fixed tip width measurement bug, which affected Safari
7
* fixed dropShadow not appearing in edge cases. added overflow: hidden; to clueTip title
8
* added title tag to list of tags to strip before serving up the requested file
9

    
10
== 0.9.5 == 
11

    
12
* added clickThrough option to allow click to go to page, even if href and tipAttribute are equal. 
13
* added experimental mouse tracking option
14
* added simple/experimental delayedClose option to allow auto-closing of clueTip after given number of milliseconds.
15
* added "focus" as an available value for "activation" option. Will show clueTip on focus of a form element, hide on blur.
16
* added support for bgiframe plugin. When the bgiframe plugin is referenced in the docuement, clueTip will use it (in IE6).
17
* cleaned up default ajaxProcess option.
18
* provided public access to all default plugin settings (thanks malsup!)
19
* fixed bug (reported at http://jquery.com/plugins/node/941) when splitTitle is used and title attribute is empty
20
* fixed bug where a variable was improperly nested in an if statement
21
* fixed bug with incorrectly disabling link when no href is present in invoking element
22
* fixed annoyance (reported at http://plugins.jquery.com/node/1081): default title attributes showing before cluetip when using long interval in hoverIntent.
23
* fixed bug where hoverIntent's timeout setting wasn't working with mouseoutClose when user moused out of the clueTip
24
* fixed problem with setting width option to "auto". Now, non-number widths such as 'auto' default to 275px.
25
* fixed bug with activation by click where it wouldn't show clueTip under certain circumstances
26

    
27
== 0.9.3 == 
28

    
29
* Fixed "arrows" option so that it now works for all three themes. Changed the way it works, and changed css to work better with it.
30
* Removed rounded-corners theme's reliance on #cluetip-title for part of the background image. Now, you can hide the title without losing part of the clueTip's background.
31
* Moved all images for arrows and rounded corners to a separate folder.
32

    
33
== 0.9.2.2 ==
34

    
35
* added support for any selector expression to be used for grabbing local content. The plugin will just take the first element in the set of matched elements for its content.
36
* release the cursor setting when clueTip is closed.
37
* if jQuery 1.2.x is being used, local option uses .clone(true) and appends local element to clueTip (after emptying) so that events within that local content don't lose their binding 
38

    
39
== 0.9.2.1 ==
40

    
41
* added .clue-bottom-[cluetipClass] and .clue-top-[cluetipClass] when cluetip is positioned below or above the linked element.
42
* added "fixed" as a possible value for the "positionBy" option. With this, the clueTip will always appear in the same position relative to the linked element.
43
* added "topOffset" and "leftOffset" options. See documentation for details.
44

    
45
== 0.9.0 ==
46

    
47
* fixed a couple bugs introduced by the new 'bottomTop' value for 'positionBy' in 0.8.7.
48
* fixed the stray, content-less clueTip that was being left visible in certain situations.
49

    
50
== 0.8.7 ==
51

    
52
* added 'bottomTop' as an available value for the "positionBy" option.
53
* added ability to set hoverIntent options through cluetip's hoverIntent options
54
* added height option that allows setting a static height for the clueTip and puts in a vertical scrollbar if the contents don't fit. That situation of course is not very usable unless the clueTip is sticky as well, so the user can actually scroll it.
55

    
56
== 0.8.6 ==
57

    
58
* changed fx.open default to 'show' and fx.openSpeed default to '' (empty string)
59
* ajaxed contents now wait until all images are loaded before being shown. Code generously provided by Torben Schreiter.
60
 
61
== 0.8.5 ==
62

    
63
* changed waitImage option to Boolean. Now the wait image comes from the stylesheet, jquery.cluetip.css, as a background image. This is all in an attempt to avoid the annoying scroll jumping (see not for 0.8.4).
64
* reverted "changed the way the waitImage is hidden" from 0.8.4.
65

    
66
== 0.8.4 ==
67

    
68
* changed the way the waitImage is hidden, because of some bizarre scroll jumping that occurred on a couple sites.
69
* added $.cluetip.setup() to allow for custom insertion type. appendTo is the default; other types are prependTo, insertBefore, and insertAfter. Also insertionElement allows user to determine where in the DOM the clueTip will be loaded
70

    
71
== 0.8.3 ==
72

    
73
* added ajaxCache option, which caches the results of the ajax request to avoid unnecessary hits to the server (caching was already being done, but now it's optional). When set to false, the script will make an ajax request every time the clueTip is shown, which allows for dynamic content to be loaded.
74
* added mouseOutClose option. Now, when you set both the sticky and the mouseOutClose option to true, the clueTip will hide when you either click the close link or mouse out of the clueTip altogether.
75
* added behavior for ajaxSettings.error and ajaxSettings.complete. Now, regardless of success or error, the clueTip will be shown and the waitImage will be hidden. If there is an error, the contents of the clueTip will read: "sorry, contents could not be loaded."
76

    
77
== 0.8.2 ==
78

    
79
* improved positioning of too-wide cluetips. 
80
* don't show the loading image if waitImage is set to empty string or false
81
* changed y-positioning of loading image to be based on mouse position, as I think it will fix the scroll-jump bug as reported by to.rben on http://www.learningjquery.com/2007/07/cluetip-plugin-beta-2
82

    
83
== 0.8.1 ==
84

    
85
* for "closePosition" option, added ability to set it to "title" so that the close link can go in the clueTip's heading area.
86

    
87
== 0.8 ==
88

    
89
Additional features/enhancements
90
* changed <span id="cluetip-close"> to <div id="cluetip-close"> because I was (stupidly) setting its "display" property to "block" anyway. So, also removed .css('display','block)
91
* added fx options: open, openSpeed, close, closeSpeed. open and close can take one of the jQuery core effects (fadeIn/fadeOut, show/hide, slideDown/slideUp); openSpeed and close Speed take, well, a speed. 
92
* added positionBy option. Default is "auto". When set to "mouse" will position the clueTip by the mouse position, not the element position
93
* added cluezIndex option. Default is 97. Sets the z-index property of the clueTip
94
* added cluetipClass option. Default is 'default'. This option adds a class to the #cluetip div for applying colors, backgrounds, etc.
95
* added cursor option. Default is 'help'. This cursor type is used, when the tip attribute and the href are the same.
96
* added dropShadowSteps option. Default is 6. This determines how big the drop shadow is (i.e. how many drop-shadow divs are created for the clueTip). Each "step" correlates to 1 pixel of drop shadow.
97
* added brand-new rounded-corners theme. To use this, create a clueTip with at least these options .cluetip() {cluetipClass: 'rounded', dropShadow: false})
98
* enhanced positioning logic. If there isn't enough horizontal space for the clueTip to appear, either to the left or to the right, without intruding on the mouse position (and thus causing the clueTip to flicker on and off repeatedly), then its top is positioned 10 pixels below the mouse. However, if the clueTip would get partially cut off at the bottom of the viewable area, and if there is enough room for it between the top of the viewable area and the mouse position, then its bottom will be positioned 10 pixels above the mouse.
99

    
100
Bug fixes
101

    
102
* dealt with AJAX race condition, reported by to.rben: http://www.learningjquery.com/2007/07/cluetip-plugin-beta-2#comment-8786
103

    
104
* fixed problem with activation by click. Before, if a user clicked to show the clueTip, and then closed the clueTip by some other means than clicking the same link element, the user had to click twice to show the clueTip the next time.
105

    
106
* general cleaning up and re-ordering of code 
107

    
108
== 0.7 ==
109

    
110
Additional features/enhancements
111

    
112
* the waitImage feature/option is now implemented for ajax-loaded clueTips
113
* the drop-shadow effect is now created with dynamically generated div elements with decreasing level of opacity. This allows for cross-browser compatibility without having to deal with png hacks.
114
* added a dropShadow option that adds a drop shadow to the clueTip. Default is true
115
* the clueTip heading (<h3>) now comes before <div id="cluetip-inner">, not inside it. This should make it much easier to apply sane CSS.
116
* added alternate theme based on Cody Lindley’s jTip, and created demo files to show it (alt-demo.html, et. al.)
117
* added an arrows option that sets the vertical background position to line up an image with the hovered element. Default is false. This option should be set to true for the alternate jTip theme.
118
* <div id="cluetip"> now gets class="clue-left" if positioned to the left of the hovered element and class="clue-right" if positioned to the right. Useful for styling the clueTip differently based on where it displays, as is done in the jTip theme.
119

    
120
Bug fixes
121

    
122
* changed $(document).width() to the more appropriate $(window).width() for positioning the clueTip’s x coordinate.
123
* changed the clueTip’s height calculation to occur after truncate and tipTitle options are considered so that positioning will be more accurate and drop shadows will be applied correctly.
124
* fixed positioning glitch when applying clueTip to an area element; now it positions the clueTip relative to the mouse position.
Add picture from clipboard (Maximum size: 40 MB)