Skip to main content
Participant
January 8, 2015
질문

How I need to display 100 records in first page with 18 records visible and remaining 82 records visible should be through scroll bar

  • January 8, 2015
  • 1 답변
  • 219 조회

Hi friends,

I am working on coldfusion 10 and i have the following requirement,

How I need to display 100 records in first page with 18 records visible and remaining 82 records visible  should be through scroll bar.


Your help is greatly appreciated.


Thank you in advance.

    이 주제는 답변이 닫혔습니다.

    1 답변

    BKBK
    Community Expert
    Community Expert
    January 8, 2015

    You could do it simply, using Cascading Style Sheets (CSS) and some experimentation. An example to illustrate:

    <html>

    <head>

    <style>

    div.scroll_it {

      /*width: 60%;*/

        height: 340px;

        overflow: scroll;

    }

    </style>

    </head>

    <body>

    <!--- This part contains arbitrary page content --->

    <div class="scroll_it">

        <!--- Display the 100 records here --->

    </div>

    </body>

    </html>

    Place the DIV element in the location of the page where you wish to display the records. Then experiment by increasing or decreasing the value of the CSS height attribute until there are exactly 18 records visible. Et voilà!