Re: [SMARTY] Overlib popup bug
| From: | messju mohr | Date: | Mon, 01 Mar 2004 09:56:04 +0000 |
| Subject: | Re: [SMARTY] Overlib popup bug | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11034@lists.php.net to get a copy of this message | ||
On Fri, Feb 27, 2004 at 03:28:23PM +0000, Marcus Bointon wrote:
> I've just started trying to use the popup extension with overlib 3.5.1, and
> I've found what seems to be a rendering bug. I've attached the popup to an
> image like this:
>
> <img src="images/helps.gif" width="16" height="16" {popup
> caption="My
> caption" text="Some text"}>
>
> Which misrenders to this:
>
> <img src="images/helps.gif" width="16" height="16"
> onmouseover="return
> overlib('Some text',CAPTION','My caption');"
> onmouseout="nd();">
>
> Note the unmatched single quote after CAPTION. Not surprisingly, this
> generates JavaScript runtime errors in my console.
>
> Anyone have a fix for this?
This should be fixed in 2.6.2 . Additionally a few other flaws in
{popup} are fixed in CVS-HEAD.
> Marcus
> --
> Marcus Bointon
> Synchromedia Limited: Putting you in the picture
> marcus@synchromedia.co.uk | http://www.synchromedia.co.uk