For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > March 2004 > Re: [SMARTY] Overlib popup bug









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [SMARTY] Overlib popup bug
Messju Mohr

2004-03-19, 1:28 pm

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

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com