If I understand what you're after, yes. Find this function in the photogallery.js script:
Code:
photogallery.prototype.createNav=function(gdiv, pdiv , ptext){
var instanceOfGallery=this
var navHTML=""
for (var i=0; i<this.pagecount; i++)
navHTML+='<a href="#navigate" rel="'+i+'">'+ptext[1]+(i+1)+'</a> ' //build sequential nav links
pdiv.innerHTML=ptext[0]+' '+navHTML
var navlinks=pdiv.getElementsByTagName("a")
navlinks[0].className="current" //Select first link by default
this.previouspage=navlinks[0] //Set previous clicked on link to current link for future ref
for (var i=0; i<navlinks.length; i++){
navlinks[i].onclick=function(){
instanceOfGallery.previouspage.className="" //"Unhighlight" last link clicked on...
this.className="current" //while "highlighting" currently clicked on flatview link (setting its class name to "selected"
instanceOfGallery.showpage(gdiv, this.getAttribute("rel"))
instanceOfGallery.previouspage=this //Set previous clicked on link to current link for future ref
return false
}
}
}
See that red (i+1) there? That's where the numbers are coming from. The script doesn't need them though. They're just there so people looking at it will know which number 'page' they are clicking for. But I guess you don't really need them, it should be fairly obvious to folks that they're in order.
You can change it to '', or ' ' (an empty space that can't be ignored in the layout - a non-breaking space) or to anything really. I'd suggest using something. Leaving it completely blank could cause problems. So try replacing that highlighted line from above with:
Code:
navHTML+='<a href="#navigate" rel="'+i+'">'+ptext[1]+' '+'</a> ' //build sequential nav links
Bookmarks