PDA

View Full Version : Eliminating pagination text (PG v2.0)



modest013
05-04-2009, 02:58 PM
1) Script Title: Photo Gallery V2.0

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/photoalbum.htm

3) Describe problem:

It is possible to eliminate the text for the pagination buttons?

I'd prefer to not have them numbered and instead display 2 different bg images.

So, on this page, I'd like to eliminate the text 1, 2, 3 etc...

http://ortezpgh.com/index2.php

Thanks.

ddadmin
05-05-2009, 06:03 AM
Well, the HTML for the navigation is basically generated from this line inside the script:


navHTML+='<a href="#navigate" rel="'+i+'">'+ptext[1]+(i+1)+'</a> ' //build sequential nav links

You could for example modify this to output an image instead, with the assumption the images are named nav1.gif, nav2.gif etc:


navHTML+='<a href="#navigate" rel="'+i+'"><img src="'+nav+(i+1)+'.gif" /></a> ' //build sequential nav links