[Jallery-commit] SF.net SVN: jallery:[8] trunk
Status: Beta
Brought to you by:
jenst
From: <je...@us...> - 2009-04-06 15:27:04
|
Revision: 8 http://jallery.svn.sourceforge.net/jallery/?rev=8&view=rev Author: jenst Date: 2009-04-06 15:26:52 +0000 (Mon, 06 Apr 2009) Log Message: ----------- 2009-04-06 Jens Tkotz <je...@pe...> 1.0-RC2-b3 * Change: Update wz_tooltip to 5.3.1 Modified Paths: -------------- trunk/ChangeLog trunk/Version.php trunk/js/wz/wz_tooltip.js Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2009-04-06 14:06:21 UTC (rev 7) +++ trunk/ChangeLog 2009-04-06 15:26:52 UTC (rev 8) @@ -1,3 +1,7 @@ +2009-04-06 Jens Tkotz <je...@pe...> 1.0-RC2-b3 + + * Change: Update wz_tooltip to 5.3.1 + 2009-02-10 Jens Tkotz <je...@pe...> 1.0-RC2-b2 * Fix: Don't show empty icon elements. Modified: trunk/Version.php =================================================================== --- trunk/Version.php 2009-04-06 14:06:21 UTC (rev 7) +++ trunk/Version.php 2009-04-06 15:26:52 UTC (rev 8) @@ -29,7 +29,7 @@ * @package Jallery */ -$gallery->version = '1.0-RC2-b2'; +$gallery->version = '1.0-RC2-b3'; $gallery->config_version = 102; $gallery->album_version = 41; $gallery->user_version = 6; Modified: trunk/js/wz/wz_tooltip.js =================================================================== --- trunk/js/wz/wz_tooltip.js 2009-04-06 14:06:21 UTC (rev 7) +++ trunk/js/wz/wz_tooltip.js 2009-04-06 15:26:52 UTC (rev 8) @@ -6,7 +6,7 @@ /* This notice must be untouched at all times. Copyright (c) 2002-2008 Walter Zorn. All rights reserved. -wz_tooltip.js v. 5.3 +wz_tooltip.js v. 5.31 The latest version is available at http://www.walterzorn.com @@ -14,7 +14,7 @@ or http://www.walterzorn.de Created 1.12.2002 by Walter Zorn (Web: http://www.walterzorn.com ) -Last modified: 7.10.2008 +Last modified: 7.11.2008 Easy-to-use cross-browser tooltips. Just include the script at the beginning of the <body> section, and invoke @@ -36,11 +36,6 @@ modify it under the terms of the GNU Lesser General Public License (LGPL) as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. - * - * This version may have been modified pursuant to the GNU General Public License, - * and as distributed it includes or is derivative of works licensed under - * the GNU General Public License or other free or open source software licenses. - * See COPYRIGHT.php for copyright notices and details. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -145,7 +140,6 @@ tt_aV = new Array(), // Caches and enumerates config data for currently active tooltip tt_sContent, // Inner tooltip text or HTML tt_t2t, tt_t2tDad, // Tag converted to tip, and its DOM parent element -tt_scrlX = 0, tt_scrlY = 0, tt_musX, tt_musY, tt_over, tt_x, tt_y, tt_w, tt_h; // Position, width and height of currently displayed tooltip @@ -258,11 +252,11 @@ } function tt_GetEvtX(e) { - return (e ? ((typeof(e.pageX) != tt_u) ? e.pageX : (e.clientX + tt_scrlX)) : 0); + return (e ? ((typeof(e.pageX) != tt_u) ? e.pageX : (e.clientX + tt_GetScrollX())) : 0); } function tt_GetEvtY(e) { - return (e ? ((typeof(e.pageY) != tt_u) ? e.pageY : (e.clientY + tt_scrlY)) : 0); + return (e ? ((typeof(e.pageY) != tt_u) ? e.pageY : (e.clientY + tt_GetScrollY())) : 0); } function tt_AddEvtFnc(el, sEvt, PFnc) { @@ -321,15 +315,8 @@ // Send old browsers instantly to hell if(!tt_Browser() || !tt_MkMainDiv()) return; - // Levy 06/11/2008: Important! IE doesn't fire an onscroll when a page - // refresh is made, so we need to recalc page positions on init. - tt_OnScrl(); tt_IsW3cBox(); tt_OpaSupport(); - tt_AddEvtFnc(window, "scroll", tt_OnScrl); - // IE doesn't fire onscroll event when switching to fullscreen; - // fix suggested by Yoav Karpeles 14.2.2008 - tt_AddEvtFnc(window, "resize", tt_OnScrl); tt_AddEvtFnc(document, "mousemove", tt_Move); // In Debug mode we search for TagToTip() calls in order to notify // the user if they've forgotten to set the TagsToTip config flag @@ -563,8 +550,8 @@ tt_FormatTip(); tt_bJmpVert = false; tt_bJmpHorz = false; - tt_maxPosX = tt_GetClientW() + tt_scrlX - tt_w - 1; - tt_maxPosY = tt_GetClientH() + tt_scrlY - tt_h - 1; + tt_maxPosX = tt_GetClientW() + tt_GetScrollX() - tt_w - 1; + tt_maxPosY = tt_GetClientH() + tt_GetScrollY() - tt_h - 1; tt_AdaptConfig2(); // Ensure the tip be shown and positioned before the first onmousemove tt_OverInit(); @@ -1035,7 +1022,7 @@ cmdOff = OFFSETY; cx = tt_h; iMax = tt_maxPosY; - iScrl = tt_scrlY; + iScrl = tt_GetScrollY(); iMus = tt_musY; bJmp = tt_bJmpVert; } @@ -1046,7 +1033,7 @@ cmdOff = OFFSETX; cx = tt_w; iMax = tt_maxPosX; - iScrl = tt_scrlX; + iScrl = tt_GetScrollX(); iMus = tt_musX; bJmp = tt_bJmpHorz; } @@ -1169,11 +1156,6 @@ tt_SetOpa(tt_aElt[8], opa); } } -function tt_OnScrl() -{ - tt_scrlX = tt_GetScrollX(); - tt_scrlY = tt_GetScrollY(); -} function tt_OnCloseBtnOver(iOver) { var css = tt_aElt[4].style; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |