At the end of "lightbox_plus.js",
addEvent(window,"load",function() {
var lightbox = new LightBox({
loadingimg:'loading.gif',
expandimg:'expand.gif',
shrinkimg:'shrink.gif',
blankimg:'blank.gif',
previmg:'prev.gif',
nextimg:'next.gif',
closeimg:'close.gif',
effectimg:'zzoop.gif',
effectpos:{x:-20,y:-20},
effectclass:'effectable',
resizable:true,
animation:true
});
});
images, which are used in Lightbox Plus, are indicated.
So you can change these when the images are changed or put on the different directory.
The default settings are set like above on the premise that html files, "lightbox_plus.js", and all images are put on the same directory. So I recommend to change it as absolute path, like "http://serennz.sakura.ne.jp/toybox/lightbox/resource/loading.gif"
.
effectimg indicates url of an echoic word image, effectpos indicates position of the image, effectclass indicates class attribute to apply an echoic word image.
When effectclass has no value but effectimg has a valid value, all lightbox images are displayed with an echoic word image. When effectclass is valid, an echoic word image is displayed for the same class.
For example, when the setting set as "effectclass:'effectable'
", the following anchor could be displayed with the echoic word image.
<a href="[...image...]" rel="lightbox" class="effectable">****</a>
Set "resizable" as false if you want to turn off mouse wheel feature.