views:

1127

answers:

2

Hi all!

How can I set the scrollbar position instead of default on the top

update:I mean that when the user open the web first time the scrollbar is on the top of the screen(it default)

how can I set the scrollbar position(the middle or on the bottom)? so the user can see the

middle of the web or the bottom of the web,How I can do it?

+2  A: 

Can you use:

<a name="myname" />

where you want to scroll to... and reference the page with:

www.example.com/mypage.html#myname

?

BoltBait
+1  A: 

You can use anchors as BoltBait sugggested or use javascript's:

window.scroll(x,y);

Although jQuery has a nice plugin that I would suggest using. Scroll Plugin

xenon