[pmwiki-users] Modifying lightbox script

DaveG pmwiki at solidgone.com
Fri Dec 26 19:17:04 CST 2008

For javascript and css images, the paths will be relative to the 
location of the js/css files.

 >   fileLoadingImage:        'images/loading.gif'
In this case, make sure you have an images directory with the gif inside.

  ~ ~ Dave

Jan Erik Moström wrote:
> Petko Yotov <5ko at 5ko.fr> 08-12-27 00.08
>> Hello?
>> Would it be possible to tell us exactly which "lightbox 
>> implementation" are you using??
> Lightbox 2, I'm not using any recipe but instead I'm trying to 
> figure out how to do this myself.
>> If you provide a link to your wiki pages, and a brief description of
>> your current configuration, this might speed up the diagnosis and the
>> fix.
> The wiki isn't up and running except on my laptop.
> The think I wonder about is in the javascript files there are 
> some references to images, typically something like this
>   fileLoadingImage:        'images/loading.gif'
> What I wonder is how to best handle these paths. I can of course 
> hard code the path in the source code but I assume there is a 
> better way to do it?
>                          jem

More information about the pmwiki-users mailing list