PDA

View Full Version : Pagination links disappear when the number of pages is 1



joshua_waters
07-09-2009, 08:41 PM
1) Script Title: Virtual Pagination script v2.0

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/virtualpagination.htm

3) Describe problem: This may sound like a strange request, but is there a way to keep the pagination links from disappearing when the number of pages is only 1? The content I want to use the script for is updated regularly so one day there might be 5 pages to scroll through or one day it may be only 1. The pagination would say 1 of 1 and the fwd/bck buttons would do nothing. Otherwise, I need to keep swapping out the divs on the template, depending on how many pieces of content I have.