• Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
    Dedicated community for Japanese speakers
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
    Dedicated community for Korean speakers
Exit
0

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

New Here ,
Jan 08, 2015 Jan 08, 2015

Copy link to clipboard

Copied

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.

Views

173

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 08, 2015 Jan 08, 2015

Copy link to clipboard

Copied

LATEST

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Ć !

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation