Javascript-форум (https://javascript.ru/forum/)
-   jQuery (https://javascript.ru/forum/jquery/)
-   -   Прокрутка вниз в tablefixedheader (https://javascript.ru/forum/jquery/26961-prokrutka-vniz-v-tablefixedheader.html)

fortest 29.03.2012 11:56

Прокрутка вниз в tablefixedheader
 
Использую плагин tablefixedheader.

<script type="text/javascript">
    $(document).ready(function() {
        $('.fixme').fixheadertable({
             caption : 'My header is fixed !',
             height  : 200
        });
    });
</script>

<!-- IN THE BODY SECTION -->

<table class="fixme">
    <thead>
        <tr>
            <th>Col 1</th>
            <th>Col 2</th>
            <th>Col 3</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>XXX</td>
            <td>YYY</td>
            <td>ZZZ</td>
        </tr>
        /*...*/
        <tr>
            <td>AAA</td>
            <td>BBB</td>
            <td>CCC</td>
        </tr>
    </tbody>
</table>


Подскажите, как мне в этом коде вызвать scrollTop, что бы при загрузке страницы скрол у таблицы был в конце?


Часовой пояс GMT +3, время: 02:39.