Subversion Repositories Applications.papyrus

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1265 jp_milcent 1
$Id: Changelog,v 1.1 2007-03-16 12:39:35 jp_milcent Exp $
2
DOM Tootip: Javascript tooltip generator
3
 
4
version 0.7.3 (SVN HEAD):
5
		* added example integration with behaviour.js
6
		* added domTT_postponeActivation option to workaround 'operation aborted' error
7
		* added domTT_closeAll function to remove all tooltips on page
8
		* 'content' option can now be a function to return the content
9
		* make id prefix configurable
10
		* close velcro tip by clicking on it
11
		* allow tips to be created with no event (null value)
12
		* allow disabling of collision detection
13
		* fixed problem of tip not disappearing on rapid mouse movement
14
		* fixed problem of using global mouse position before first mouse movement
15
		* prevent tooltip events on banned tags, such as OPTION (for consistency)
16
		* improvements to example14 to allow caption to render properly
17
 
18
version 0.7.2 (2006/04/12):
19
		* added example to demonstrate custom positioning with a parent
20
		* fixes in clear timeout made in domLib.js
21
		* fixed a regression in the collision detection that left elements hidden
22
		* content and caption are only cloned if domTT_cloneNodes is set to true, otherwise the reference is used
23
 
24
version 0.7.1 (2005/07/16):
25
 
26
		* changed fading library from alphaAPI to fadomatic
27
		* fixed problem with fade where links and buttons would become inactive
28
		* fixed problem where tooltips would hang around if browser doesn't support fading
29
		* released under Apache 2.0 license
30
		* added example for dynamically updating tooltip content
31
		* added method for updating tooltip content, domTT_update()
32
		* enabled caption to be html or a DOM node
33
		* removed the clone() prototype method in domLib to prevent conflicts with other libraries
34
		* option to have only one tip show at a time
35
		* fixed edge detection to be more precise
36
		* added fadeMax as upper limit for an alpha fade-in
37
		* fixed wrapping problem when tip nears edge in opera and IE
38
		* replace domLib_isKonq with domLib_isKHTML
39
		* added auto-generated tooltips from the title attribute for elements with class "tooltip"
40
		* custom offsets can be set on a per-tip basis
41
		* tips are now indexed on both tip id and owner id, for greater flexibility
42
		* added a convenient method for use in custom close events, domTT_close()
43
		* custom id can now be used for the tip for easy reference
44
		* domTT_classPrefix is now domTT_styleClass, option classPrefix is now styleClass
45
		* wrapper div for contents styled with generic class 'contents'
46
		* wrapper for caption is now styled with generic class 'caption'
47
		* make drag an optional parameter for tip to turn on/off dragging of sticky tips
48
		* trail can now be either 'x' or 'y' which will lock trailing to a single axis
49
		* added HOWTO
50
		* updated all examples
51
 
52
version 0.7.0 (2004/11/10):
53
 
54
		* Create tip on parent specified instead on document.body and then moving the tip in the DOM
55
		* Added a standards mode detection, which was the root of edge bleed issues
56
		* Added info in README about how to make the program smaller using jsmin
57
		* Fixed memory leaks in IE caused by using inner functions
58
		* Now works in Mac IE
59
		* Tooltips can be created from a child iframe element
60
		* IE 5.0 (Windows) removed from supported list of browsers
61
 
62
version 0.6.0 (2003/02/13):
63
 
64
		* major rewrite (please consult this changelog and example for new requirements)
65
		* made fading modular using alphaAPI (seperate file, alphaAPI.js)
66
		* large gains in speed and compliance (fix Konq and IE 5 bugs)
67
		* eliminate need for domTT_activate() in the mousemove event handler!!!
68
		* new option 'trail' to specify tip to follow mouse movement (only for absolute)
69
		* changed domTT_true/false() functions to makeTrue/false()!!!
70
		* changed option 'status' option to 'statusText'!!!
71
		* changed 'prefix' option to 'classPrefix'!!!
72
		* changed 'close' option to 'closeAction'!!!
73
		* made dragging of tips loadable (seperate file, domTT_drag.js)
74
		* divided out common functions from domTT functions (seperate file, domLib.js)
75
		* browser detection variables now prefixed with domLib_is*!!!
76
		* to create an onload window, first option is unique id (no longer have 'id' option)
77
 
78
version 0.5.5 (2003/02/09):
79
 
80
		* fixed major crashes in IE 5.0 (cannot use delays since setTimeout is buggy)
81
		* fixed hideList error in all browsers
82
		* fixed a bug on example10.html when using a popup
83
 
84
version 0.5.4 (2003/02/05):
85
 
86
		* fixed a scroll offset problem when IE is in compatibility mode
87
		* fixed problem where select box detection nixed element inside tooltip
88
 
89
version 0.5.3 (2003/01/29):
90
 
91
		* fix misspelled document on like 971 in domTT.js
92
 
93
version 0.5.2 (2003/01/17):
94
 
95
		* fix for document.documentElement.scrollTop for IE in standards compliance mode
96
 
97
version 0.5.1 (2002/12/19):
98
 
99
		* implemented callTimeout() as an wrapper for setTimeout() for variable persistence
100
		* konqueror can now implement delays for tips!!!
101
		* konqueror can now handle tip lifetime!!!
102
		* added workaround for some konqueror quirks
103
 
104
version 0.5.0 (2002/12/19):
105
 
106
		* fixed invalid variable name tmp_offsetX...regression from fixes in 0.4.9
107
 
108
version 0.4.9 (2002/12/18):
109
 
110
		* reworked domTT_deactivate() a bit
111
		* can now specify an 'id' option on each tip to have multiple tips on one trigger
112
		* fixed the activateTimeout process to rid of lingering bugs
113
		* updated demos
114
 
115
version 0.4.8 (2002/12/11):
116
 
117
		* fixed recursion bug
118
 
119
version 0.4.7 (2002/12/08):
120
 
121
		* dragging of sticky tips in konqueror!!
122
		* cleaned up the mouseout code a great deal and now it actually works as expected
123
		* selects only appear again when all tooltips which hid them are cleared away!!!
124
		* fixed IE javascript error caused by global onmousemove operating before page load
125
		* simplified deactivate by putting code for unhide selects in detectCollisions()
126
		* updated demos
127
 
128
version 0.4.6 (2002/12/07):
129
 
130
		* eliminated unnecessary code in domTT_show()
131
		* konqueror fixes (checks in wrong place, clientHeight problem)
132
		* fixed onclick x, y measurement in konqueror
133
 
134
version 0.4.5 (2002/12/06):
135
 
136
		* added maxWidth option (false to disable) and width option now independent
137
		* added workaround for maxWidth bug in Opera
138
		* switch to toggling display property to hide rather than using visibility hidden
139
		* fixed error in IE 5.5 bypassing a safeguard and causing a javascript error
140
		* fixed compliance error with IE 5.5 when executing IE hack for float
141
		* fixed height calculation with IE 5.5 vs IE 6 (compliance difference)
142
		* fixed case when hack IE code was executing under the wrong circumstances
143
		* fixing small javascript errors
144
		* totally block IE 5.0 until I can get to testing it
145
		* demo fixes and cleanups
146
		* fixed missing check for tip object existance in mouseout function
147
 
148
version 0.4.4 (2002/12/06):
149
 
150
		* fixed onload problem in IE
151
 
152
version 0.4.3 (2002/12/05):
153
 
154
		* code cleanups with strict compliance mozilla
155
		* fixed so that using domTT_activate() can be used as an onload event
156
		* closeLink will be interpreted as html (but note the link is automatically created)
157
 
158
version 0.4.2 (2002/12/05):
159
 
160
		* fixed missing units in drag update
161
		* fixed width calculation in IE in strict mode
162
		* fix document.body.clientHeight -> document.documentElement.clientHeight (IE strict.dtd)
163
		* catch permission errors in mozilla to write status text
164
 
165
version 0.4.1 (2002/12/05):
166
 
167
		* forget to add contentEditable when made changed to domTT_create() in 0.4.0
168
		* fixes to the domTT_isDescendantOf to exclude absolute elements
169
		* fixed error in mozilla (tip was trying to be destroyed twice)
170
		* fixed regexp bug in IE 5.01
171
		* fixed link in demo for opera (example8.html)
172
		* fixed javascript error in IE when triggerObj was #document
173
		* fixed IE bug when contentEditable property was screwing up the height
174
		* demo fixes
175
 
176
version 0.4.0 (2002/12/02):
177
 
178
		* add required 'this' add the beginning of every domTT_activate() call
179
		* prevent tip from disappearing when mouseout goes to child of target element
180
		* tons of code cleanup dealing with onmouseout
181
		* 'status' now clears after each mouseout, even if tip is sticky or velcro
182
		* added 'width' option, which overides the global domTT_maxWidth (and the style)
183
		* merged logic in create() and show() so that create() can use show() (normalize)
184
 
185
version 0.3.2 (2002/12/01):
186
 
187
		* changed 'close' to 'closeLink' since it was confusing what it was
188
		* added relative positioned tips (inline), added option 'position'
189
		* maxWidth of 0 will be ignored
190
		* fixed a fade bug when tooltip object exists (domTT_show())
191
		* several other fade bugs fixed
192
 
193
version 0.3.1 (2002/12/01):
194
 
195
		* 'caption' can be set to false to force it not to show, even when using 'type' sticky
196
		* fixed error "Could not get cursor property" in IE5 because must use 'hand' not 'pointer'
197
		* misspelled descendant
198
		* cleaned up the preserving of onmouseout a ton
199
		* 'caption' only has to be set to false if type is 'sticky', otherwise it can be left off
200
		* updated demos
201
 
202
version 0.3.0 (2002/11/30):
203
 
204
		* added global domTT_lifetime to set how long the tip stays alive when mouse is stationary
205
		* added option 'lifetime' for each individual tip (0 for infinite)
206
		* added fixed position tooltip option by passing in 'x' and 'y' as options
207
		* changed hash method itemExists to hasItem to be DOM compliant
208
		* perserve the onmouseout that existed on the target rather than just overwriting
209
		* new type 'velcro', which disappears when you mouseout of the tooltip instead of target
210
		* added ability to fade out and changed 'fade' option from boolean to in/out/both/neither
211
		* added fade direction to the domTT_doFade() function to hande fade in both directions
212
		* made a global variable for domTT_onClose, either 'hide' or 'remove'
213
		* changed 'deactivate' option to 'onClose' which can be 'hide' or 'remove'
214
		* added 'grid' option and domTT_grid global to snap to a grid on updates (0 for no grid)
215
		* got rid of domTT_defaultStatus, just use window.defaultStatus for this value
216
		* code cleanups
217
		* demo addition and cleanups
218
 
219
version 0.2.3 (2002/11/27):
220
 
221
		* added domTT_false() as a wrapper for links that make IFRAME tooltips to cancel click
222
		* fixed case when domTT_isGecko was not deteting select-multiple with size=1
223
		* can specify only 'status' to domTT_activate, and will change status and register clear
224
		* made demo pages for library
225
		* removed a hack width setting width because I was confused before...and didn't need it
226
		* made global setting variable for domTT_prefix
227
 
228
version 0.2.2 (2002/11/21):
229
 
230
		* fade-in on tips!!! (mozilla and IE only)
231
		* global option for fade on or off (click events don't use fade ever)
232
		* added option to domTT_activate for fade
233
 
234
version 0.2.1 (2002/11/21):
235
 
236
		* perfect support for Opera7 !!! (what a great browser as far as standards go!)
237
		* no need for select collision detection in opera (again, tremendous)
238
		* prevented the close element from being draggable in all browsers (works this time)
239
		* fixed bug that opera does not hide IFRAME children when tip is hidden or destroyed
240
		* added domTT_defaultStatus to be used when clearing status bar
241
		* for opera, you will want to disable all opera tooltips except 'element titles'
242
		* added 'mousedown' as a trigger to set delay to 0 (3 types of mouse depress possible)
243
 
244
version 0.2.0 (2002/11/20):
245
 
246
		* domTT_activate returns the id of the tip if it needs to be referenced externally
247
		* added domTT_isActive() to check for an activated tip, returns tip object if active
248
		* create domTT_true() function, which should be used to wrap domTT_activate for onmouseover
249
		* second option to domTT_deactivate is optional (default to true)
250
		* domTT_predefined now takes all the options domTT_activate takes
251
		* domTT_activate loads in predefined options if predefined is the first option
252
		* domTT_activate uses options from domTT_activate call to override predefined options
253
		* take off restriction for status of onmouseover and just let it happen as it will
254
		* caption now not used if empty, even if it is sticky (can externally close tip)
255
		* added 'contextmenu' event type alongside 'click' for auto changing delay to 0
256
		* if content is empty, bail on creating the tip (hmmm...still thinking on this)
257
		* Gecko always makes the tip 4px too wide, for some unknown reason (maybe gecko bug?)
258
		* bug in right edge detection (was giving the width the padding instead of taking away)
259
		* fixed bug in global onmousemove (wasn't passing event to function for mozilla)
260
		* fixed edge detection, which was not accounting for scroll offset
261
		* made function domTT_correctEdgeBleed() for edge bleeding (since I used it twice)
262
		* code cleanups, added docs and another example page
263
 
264
version 0.1.7 (2002/11/18):
265
 
266
		* domTT_close can be an object, hence an image for an 'X' for close
267
		* drag limited to the caption bar for sticky tips
268
		* added domTT_addPredefined function for caching tip definitions
269
		* added ability to pass in custom prefix for class styles, other than domTT
270
		* can pass in 'close' option for text/image to be used as close markup
271
		* fixed bug for onmouseover sticky tip which prevented cancel of tip creation onmouseout
272
		* added a new example.html file
273
 
274
version 0.1.6 (2002/11/17):
275
 
276
		* added option for directionality in tips (southeast, southwest, northeast, northwest)
277
		* set default options at beginning of domTT_activate() instead of checking for each
278
		* global setting for mouse height so that offset is from edge of mouse cursor
279
		* added LICENSE, README to package
280
		* finished screen edge detection and correction
281
		* custom close text for sticky
282
		* can globally turn off dragging of sticky tips
283
 
284
version 0.1.5 (2002/11/16):
285
 
286
		* ability to grab current mouse position when tip is created on delay
287
		* option for not using current mouse position when tip is created on delay (use passed in)
288
		* changed mouseover to mousemove for event on the tooltip (prevent artifact tooltips)
289
		* added delay as option (will use global if not passed in)
290
		* added status as an option, which will change the status bar text
291
		* eliminated collision detection delay when tip is already visible
292
		* 'sticky' option changed to 'type' and can be 'greasy' or 'sticky'
293
		* fixed some serious bugs in setTimout logic when destroying tips
294
		* created function domTT_show() for showing hidden tip (previously created)
295
 
296
version 0.1.4 (2002/11/15):
297
 
298
		* ability to drag sticky tooltips (lots of work here)
299
		* change domTT_getPosition to domTT_getOffsets
300
		* return more information from domTT_getOffsets
301
		* simplify domTT_detectCollisions (now requires only one argument)
302
		* made function for getting mouse position (since browsers do crazy things)
303
		* the 'X' part of the tip is not draggable
304
 
305
version 0.1.3 (2002/11/14):
306
 
307
		* konqueror support (lots of fixes for this) (onclick is somewhate hacked)
308
		* browser variables instead of using javascript objects to differentiate
309
		* eliminated duplicate mouse_x and mouse_y code
310
		* changed lamda function calls in setTimeout to support konqueror
311
		* getPosition returns right and bottom as well
312
 
313
version 0.1.2 (2002/11/13):
314
 
315
		* fixed case when you flew over object and then clicked fast to create sticky and it failed
316
		* domTT_deactivate now takes an object instead of id (avoids lookup)
317
		* fixed problem with onmousemove after onclick beating setTimeout(...,0) on windows
318
		* fixed the e.target to e.currentTarget for mozilla (which is the registered target)
319
		* sticky tips now work correctly
320
		* fixed domTT_detectCollisions to be subject to the activate delay on tip unhide
321
		* no longer dependent on global Hash() function...arguments become hash internally
322
		* account for the scroll offset when working with event coordinates
323
		* compensated for lack of max-width for IE
324
		* fixed broken float right for IE (cannot assign through DOM)
325
		* float right causes tooltip to stretch to widht of page, fixed that
326
		* fixed javascript error because IE doesn't have e.target (event.srcElement instead)
327
 
328
version 0.1.1 (2002/11/10):
329
 
330
		* pass in options as Hash
331
		* cache created tips to reuse via visibility style
332
		* auto-assign onmouseout to deactivate
333
		* add ability to have sticky
334
		* implemented zIndex so new tips can go over old tips
335
		* no delay for onclick tips
336
		* implemented delay when toggling visibility of cached tips
337
		* ability to pass in html content
338
 
339
version 0.1.0 (2002/10/30):
340
 
341
		* Initial release
342