I'm trying out the PhotoGalleryPlugin by Paulo Soares (http://
www.math.ist.utl.pt/~psoares/addons.html#Plugins) in my page with the
TiddlyPedia theme.
The only problem I've run into is that the navigation buttons (see
code below) are opening a new browser window with the address
"javascript:;". The button works but you have to keep dealing with the
annoying blank window. It doesn't happen when I try the online demo
though.
Any thoughts on how I can tweak this? Theme CSS? I'm really at the
edge of Tiddly knowledge.
$('#pgObject'+this.current).toggle();
var navBar = createTiddlyElement(pictureHolder,"DIV");
navBar.style.marginBottom="0.5em";
createTiddlyButton(navBar,"«","",this.firstImage);
createTiddlyButton(navBar,"‹","",this.previousImage);
if(this.time>0) {
createTiddlyButton(navBar,"►",null,this.auto,null,"pgPlay");
}
createTiddlyButton(navBar,"›","",this.nextImage);
createTiddlyButton(navBar,"»","",this.lastImage);
if(this.labels)
createTiddlyElement(pictureHolder,"DIV","pgLabel","",this.labelsArray[0]);
if(this.numbers){
createTiddlyElement(navBar,"SPAN","pgCounter","","1/"+this.nImages);
}
}
Thanks,
Mike
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en.