[Typo3] lz_gallery strange behaviour

Matt Valenti mv at mattvalenti.com
Thu Oct 6 04:20:28 CEST 2005


I found the same thing!  To clarify:

When I cleared the cache and went to a gallery page, the image opened fine 
in a pop-up.  It uses the javascript function openPic.  However, as soon as 
I refreshed the page (it didn't matter if I turned page caching on or off) 
the openPic function no longer appeared in my source and so I got a 
javascript error anytime I clicked on an image.  I had to manually include 
the following openPic function.

function openPic(url,winName,winParams) {
  var theWindow = window.open(url,winName,winParams);
  if (theWindow) {theWindow.focus();}
}

"Luis Sánchez" <luis.sanchez at adaptia.net> wrote in message 
news:mailman.56.1103920729.23605.typo3-english at lists.netfielders.de...
> When using pop-up window to show images only the first time the function
> openPic is loaded. I had to use headerdata to ensure the function was
> always there...
>
>
> Is this a bug? Or  Im doing something wrong?
>
> Feliz Navidad
>
> -- 
> Luis Sánchez <luis.sanchez at adaptia.net>
> Adaptia Soluciones Integrales
> 





More information about the TYPO3-english mailing list