Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Scrolling the display


Message #1 by gbrown@c... on Wed, 7 Mar 2001 15:56:30
Use window.scroll(x,y)

Julian Dobson
Systems Developer
Wrox Press Inc
http://www.wrox.com

Tel:	(203) 781 2300
Fax:	(203) 781 2301
Pager:	(888) 782 8667
Mobile:	(203) 675 5052


-----Original Message-----
From: gbrown@c... [mailto:gbrown@c...]
Sent: Wednesday, March 07, 2001 10:57 AM
To: javascript
Subject: [javascript] Scrolling the display


Hi all

I have a form with a table on it, this table consists of one row and 20 
columns/cells. These cells each contain an input tag which are 20 
characters wide so will not fit on screen all at once.

What I want to do is as I tab (and shift tab) across screen I want to 
scroll the display left and right to ensure the field that is currently 
being input is visible without the user having to move the scrollbars.

I've thought of using divs and surround the form but that is more 
complicated than I want to get.

I'm using IE5.

Appreciate any clues 

Regards
Graham


  Return to Index