You need to log in before you can comment on or make changes to this bug.
Attached is a new version of the MapTips widgets which corrects some typos that prevent it from working and adds two new features: - bugfix: use tolerance from cwc2 call (and not 3!) - bugfix: use correct variable $this->mszOnMouseOut (not $this->onMouseOut) for $onmouseout and fix semicolon typo in $onmouseover definiton. - bugfix: set default onmouseover and onmouseout to correct names (i.e. MapTipContent and MapTip clear instead of MapTipsContent and MapTipsClear). - add feature: if keyword "LinkUniqueID" (case insensitive) is found in the LINKURL attribute, it is replaced by the current link-id. This is useful if your LinkURL looks more like "javascript:openURL(12345, 'foo')" that "http://www.foo.bar/index.php?id=12345". - add feature: new LINKTARGET attribute. If not set, "_blank" is used to keep compatibility with previous versions. If LINKTARGET attribute is set to "", it will be omitted in the according hfres.
Created an attachment (id=67) [details] Bugfixes & new features for MapTips.widget.php, CVS version 2005/01/31
bug fixes to be applied to 2.0, new features in 2.1 only. Not sure when I'll get to this, though ... hopefully within a week or so.
applied full patch in 2.1 and partial patch in 2.0. tested bug fixes in both, but not the new features in 2.1 ...
Created an attachment (id=72) [details] Solve problem with backslash-escaped characters in URLs If using JavaScript-URLs (like "javascript:openURL('LinkUniqueID');") in the LINKURL attribute, the quotes are escaped again and again after every form submission, resulting in broken URLs like "javascript:openURL(\\\'LinkUniqueID\\\');". My workaround in the attached patch is to strip those slashes (using stripslashes), but this might be bad practice since it is unclear to me where and why GET-Parameters are backslash-escaped in Chameleon.