469,291 Members | 1,703 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,291 developers. It's quick & easy.

focus on tablerow

Hi

I am trying to get the browser to move to a specific place in an html
page when a link is clicked in an image map. When the image map is
clicked, a javascript function is called, which makes a row in a table
visible, and I would then like to move the page to this row, so the
user can see the row.

Take for instance a look at http://www.eliasen.dk/oio/da/Address.html

If you click on "AddressFormatCode" in the image map (number three
from the top), a row gets visible further down the page, where you can
not see it. But I need to make the row visible AND get the user down
to the row.

row.focus() doesn't seem to work :-(

Any thoughts?

--
eliasen, representing himself and not the company he works for.

Private blog: http://blog.eliasen.dk

Private email: ja*@eliasen.dk
Mar 6 '07 #1
2 1739
On Mar 6, 2:54 pm, Jan Eliasen <elia...@nospam.nospamwrote:
Hi

I am trying to get the browser to move to a specific place in an html
page when a link is clicked in an image map. When the image map is
clicked, a javascript function is called, which makes a row in a table
visible, and I would then like to move the page to this row, so the
user can see the row.

Take for instance a look athttp://www.eliasen.dk/oio/da/Address.html

If you click on "AddressFormatCode" in the image map (number three
from the top), a row gets visible further down the page, where you can
not see it. But I need to make the row visible AND get the user down
to the row.

row.focus() doesn't seem to work :-(
scrollIntoView method [ element.scrollIntoView(alignWithTop) ] :
http://developer.mozilla.org/en/docs...scrollIntoView

Mar 7 '07 #2
On 6 Mar 2007 18:51:47 -0800, sc*************@gmail.com wrote:
>row.focus() doesn't seem to work :-(
scrollIntoView method [ element.scrollIntoView(alignWithTop) ] :
http://developer.mozilla.org/en/docs...scrollIntoView
Thank you...

--
eliasen, representing himself and not the company he works for.

Private blog: http://blog.eliasen.dk

Private email: ja*@eliasen.dk
Mar 7 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by thomasamillergoogle | last post: by
reply views Thread by Randy | last post: by
3 posts views Thread by Steve - DND | last post: by
2 posts views Thread by George Durzi | last post: by
3 posts views Thread by Alex Maghen | last post: by
1 post views Thread by Harry | last post: by
2 posts views Thread by sck10 | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
1 post views Thread by Geralt96 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.