Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #16582

Scroll a <table> Up/Down a bit ?

Path csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!feeder.erje.net!news2.arglkargh.de!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "Mel Smith" <med_cutout_syntel@aol.com>
Newsgroups comp.lang.javascript
Subject Scroll a <table> Up/Down a bit ?
Date Fri, 12 Oct 2012 11:26:31 -0600
Lines 25
Message-ID <adr268Fp05cU1@mid.individual.net> (permalink)
X-Trace individual.net BSjnG07DgkKud3zs6qZgOw/C+zUvk92VcZdmZgc1v67Qej3fRpiEHxuOlI4zrjqtO/
Cancel-Lock sha1:TWD0U/o2ahXEfI9bqDf6RQeHQ4Y=
X-Priority 3
X-MSMail-Priority Normal
X-Newsreader Microsoft Outlook Express 6.00.2900.5931
X-MimeOLE Produced By Microsoft MimeOLE V6.00.2900.6157
X-RFC2646 Format=Flowed; Original
Xref csiph.com comp.lang.javascript:16582

Show key headers only | View raw


Hi:

    I have a big 3-column table with <td> cells that are outlined and 
contains approx 10 <br /> rows in each of the <td> cells.

    There are two objects (e.g., id="abc123") in each of these <td> cells.

In JS, I use :

        abc123el.scrollIntoView(); // to bring up a specific cell into 
view -- which is pretty big vertically.

However, this scrollIntoView() operation scrolls the table/cell up a bit too 
far, and I wish to scroll *down* a number of pixels --- say 5 or 10 px.

Question:

    So, after my scrollIntoView() operation, how do I 'scroll up/down a bit' 
programmatically ?

Thank you.

-Mel Smith

Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Scroll a <table> Up/Down a bit ? "Mel Smith" <med_cutout_syntel@aol.com> - 2012-10-12 11:26 -0600
  Re: Scroll a <table> Up/Down a bit ? Danny <dann90038@gmail.com> - 2012-10-12 11:07 -0700
    Re: Scroll a <table> Up/Down a bit ? "Mel Smith" <med_cutout_syntel@aol.com> - 2012-10-12 13:07 -0600
      Re: Scroll a <table> Up/Down a bit ? Danny <dann90038@gmail.com> - 2012-10-12 13:04 -0700
        Re: Scroll a <table> Up/Down a bit ? "Mel Smith" <med_cutout_syntel@aol.com> - 2012-10-12 15:12 -0600
          Re: Scroll a <table> Up/Down a bit ? "Mel Smith" <med_cutout_syntel@aol.com> - 2012-10-13 10:10 -0600
    Re: Scroll a <table> Up/Down a bit ? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2012-10-12 21:08 +0200
  Re: Scroll a <table> Up/Down a bit ? Dr J R Stockton <reply1241@merlyn.demon.co.uk.invalid> - 2012-10-13 19:42 +0100
    Re: Scroll a <table> Up/Down a bit ? "Mel Smith" <med_cutout_syntel@aol.com> - 2012-10-14 08:45 -0600

csiph-web