Results 1 to 2 of 2

Thread: Eliminating pagination text (PG v2.0)

  1. #1
    Join Date
    Apr 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Eliminating pagination text (PG v2.0)

    1) Script Title: Photo Gallery V2.0

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...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.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Well, the HTML for the navigation is basically generated from this line inside the script:

    Code:
    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:
    Code:
    navHTML+='<a href="#navigate" rel="'+i+'"><img src="'+nav+(i+1)+'.gif" /></a> ' //build sequential nav links
    DD Admin

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •