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" Newsgroups: comp.lang.javascript Subject: Scroll a Up/Down a bit ? Date: Fri, 12 Oct 2012 11:26:31 -0600 Lines: 25 Message-ID: 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 Hi: I have a big 3-column table with
cells that are outlined and contains approx 10
rows in each of the
cells. There are two objects (e.g., id="abc123") in each of these 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