Results 1 to 2 of 2

Thread: Virtual Pagination: Dividers?

  1. #1
    Join Date
    Oct 2006
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Virtual Pagination: Dividers?

    1) Script Title: Virtual Pagination Script

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

  2. #2
    Join Date
    Oct 2006
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Sorry for the bother, I figured it out.

    I found the spot in the .js where the HTML was rendered, added a "|":
    Code:
    flatviewhtml+='<a href="#flatview" rel="'+i+'">'+(i+1)+'</a> | ' //build sequential
    then added the "|" in the HTML next to the "Prev" button.

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
  •