View Full Version : Smart Virtual Paginate

07-11-2007, 04:59 PM
1) Script Title: Virtual Pagination script

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

3) Describe problem: Is it possible to make this script work a little more smart? Is it possible for it to show the "Next" an d"Previous" options only when they are required. For example. If iI have 5 virtual pages, even on the last page (the 5th) it will show me a next option and it will start all over. Is it possible to block out the "Next" on the last virtual page and block out the "Previous" on the first?

07-11-2007, 07:57 PM
Right now prev/ next buttons are designed to "wrap" when it reaches the beginning or end, respectively (ie: after page5, clicking next goes to page1 again). It's certainly possible to make them dynamic in terms of visibility, though it's not a quick change to the code. If I have time I'll try and revisit this thread.

07-11-2007, 09:52 PM
sounds good to me. Im sure its a feature people would like to have with this great script.

07-19-2007, 07:17 PM
Has anyone had a chance to look into the modification I specified above?