Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 26th, 2004, 03:47 AM
Authorized User
 
Join Date: Apr 2004
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to control scroll bar

Hi:

 I want to control scroll bar by self.
 i.e when page load, the scroll bar should move to the middle of the page, So user can directly see middle page.

 Any idea to control scroll bar?

From
Burhan

 
Old August 26th, 2004, 05:03 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

doScroll method:

http://msdn.microsoft.com/library/de...ce/methods.asp

--

Joe (Co-author Beginning XML, 3rd edition)
 
Old August 26th, 2004, 01:05 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

doScroll(), or scrollTo(), or scroll(), depending on the effect you want.

HTH,

Snib

<><
 
Old August 26th, 2004, 02:31 PM
Authorized User
 
Join Date: Apr 2004
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks u very much Joefawcett and Snib.

Ur comment solve my problem.

From
Burhan






Similar Threads
Thread Thread Starter Forum Replies Last Post
asp.net 2.0 Gridview control vertical scroll bar kulkarnimonica ASP.NET 2.0 Professional 2 March 8th, 2010 08:14 AM
How can I make two scroll bar to be the same one? Daniel_hn Visual C++ 1 September 16th, 2003 09:28 AM
css and scroll bar markhardiman HTML Code Clinic 3 July 18th, 2003 04:55 AM
Scroll Bar cooldude87801 BOOK: Beginning Java 2 0 June 18th, 2003 11:59 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.