View Full Version : Virtual Pagination: Dividers?

03-05-2007, 06:53 PM
1) Script Title: Virtual Pagination Script

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

3) Describe problem:
First, the script works beautifully. Amazing how easy it is to implement. Thank you for this work of art.

Now onto my question...in the page links on the bottom (in the "flatview"), I would like to have a divider ("|"), but I don't know how to implement it. I know it is possible to do a border only on one side, but then one always ends up after the "Next" button. Is there any way to do this? Thanks!

03-05-2007, 07:03 PM
Sorry for the bother, I figured it out.

I found the spot in the .js where the HTML was rendered, added a "|":

flatviewhtml+='<a href="#flatview" rel="'+i+'">'+(i+1)+'</a> | ' //build sequential

then added the "|" in the HTML next to the "Prev" button.