Table scroll

Discussion in 'Javascript' started by Antonio paes, Oct 17, 2007.

  1. Antonio paes

    Antonio paes Guest

    Hi.

    Problem: I have a table where 10 rows are visible and there are a total of
    14 rows (so, the right scroll bar exists).

    I want to have the 14th row visible whenever the table is loaded.

    If you have any idea on how to implement this, I'd appreciate your comment.

    I don't think there is a property on the table to automatically scroll, but
    anyway, any feedback is welcome.

    A.
    Antonio paes, Oct 17, 2007
    #1
    1. Advertising

  2. Antonio paes wrote:

    > Problem: I have a table where 10 rows are visible and there are a total of
    > 14 rows (so, the right scroll bar exists).
    >
    > I want to have the 14th row visible whenever the table is loaded.
    >
    > If you have any idea on how to implement this, I'd appreciate your comment.
    >
    > I don't think there is a property on the table to automatically scroll, but
    > anyway, any feedback is welcome.


    You could upload the following page to a web server and access it by
    http://www.yourdomain.com/page.html#gohere

    <!doctype HTML public "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>Go directly to row 14</title>
    </head>
    <body>
    <table border="1">
    <tr><td height="200">1</td></tr>
    <tr><td height="200">2</td></tr>
    <tr><td height="200">3</td></tr>
    <tr><td height="200">3</td></tr>
    <tr><td height="200">4</td></tr>
    <tr><td height="200">5</td></tr>
    <tr><td height="200">6</td></tr>
    <tr><td height="200">7</td></tr>
    <tr><td height="200">8</td></tr>
    <tr><td height="200">9</td></tr>
    <tr><td height="200">10</td></tr>
    <tr><td height="200">11</td></tr>
    <tr><td height="200">12</td></tr>
    <tr><td height="200">13</td></tr>
    <tr><td height="200"><a name="gohere">14</a></td></tr>
    </table>
    </body>
    </html>

    Hope this helps,

    --
    Bart
    Bart Van der Donck, Oct 18, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. nicholas
    Replies:
    0
    Views:
    429
    nicholas
    Dec 7, 2004
  2. Kevin
    Replies:
    1
    Views:
    9,499
    Roland
    Feb 5, 2005
  3. Sathiamoorthy

    Enable Scroll up and scroll down in CR-report

    Sathiamoorthy, Nov 9, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    882
    zobalee
    Nov 28, 2006
  4. UJ
    Replies:
    1
    Views:
    556
    John Timney \(MVP\)
    Nov 1, 2006
  5. =?Utf-8?B?Ui5OaWprYW1w?=

    Listbox disabled - cant scroll in IE - can scroll in Firefox

    =?Utf-8?B?Ui5OaWprYW1w?=, Nov 22, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    1,212
    =?Utf-8?B?Ui5OaWprYW1w?=
    Nov 22, 2006
Loading...

Share This Page