Welcome Guest, Not a member yet? Register   Sign In
Load page and scroll down automatically
#1

[eluser]Perkin5[/eluser]
I want to load a page and have it scroll automatically to a pre-determined anchor point, say #myanchor.

At the moment, when I load the page the uri looks like:

http://localhost/sitename/controller/method

If I type #myanchor at the end of the uri and hit 'enter', the page scrolls down correctly but how can I specify that in the controller method?




Theme © iAndrew 2016 - Forum software by © MyBB