SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Dec 2010
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to display the content with pagination according to the height

    Hello All,

    I want to display the content according to the height of the page with pagination. That content may contain html elements as well.


    Please help me.


    Thank you so much.

  2. #2
    From Italy with love silver trophybronze trophy
    guido2004's Avatar
    Join Date
    Sep 2004
    Posts
    9,506
    Mentioned
    163 Post(s)
    Tagged
    4 Thread(s)
    Height as in 'hight of the browser window'? You can't do that with PHP. If it is possible to do, you'd have to use JS. And what would you do if the user diminishes the window size? Change the number of displayed items instantly?

  3. #3
    SitePoint Enthusiast
    Join Date
    Dec 2010
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by guido2004 View Post
    Height as in 'hight of the browser window'? You can't do that with PHP. If it is possible to do, you'd have to use JS. And what would you do if the user diminishes the window size? Change the number of displayed items instantly?

    Can u plz suggest some code?

    I have some sections like heading 1, heading2 etc. if the heading1 content is not ended in the first page i need to add a string called headin1(continued) in the second page.

    Please help me.


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
  •