#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2004
    Posts
    19
    Rep Power
    0

    Display recordset in a fixed size div


    Hi I have a fixed size div with a width of 771px height of 546px.

    It is a book as seen here: link

    On the left page i have a recordset which displays fine.

    My question is that i want to add more products to the database so of course the recordset is goin to get bigger. I would like to loop through the records until it gets to the bottom of the left page and then the rest of the records be displayed on the right page of the book.

    Is this possible? Can anyone advise on how to do this please?
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2007
    Posts
    12
    Rep Power
    0
    You have to calculate how much records can be displayed in a page and then put the condition accordingly. It may be something like following:

    - if record_number >= 30 then
    - DIV tag for page on right
    - end if

IMN logo majestic logo threadwatch logo seochat tools logo