Hi I am new to JQuery and I am trying to get the cursor to move to the middle of a page instead of the top when I click a link on another page. Any suggestions?
Thanks
Hi I am new to JQuery and I am trying to get the cursor to move to the middle of a page instead of the top when I click a link on another page. Any suggestions?
Thanks
You can place a unique identifier at the middle of the page, and navigate to that page with the identifier as a location reference.
For example, a div has an id of “jackContainer”, which is some way down the page.
<div id="jackContainer">
You have the page load and scrolled down with that section at the top of the page by loading the following location:
http://www.devinrolsen.com/jquery-zlayers-plugin/#jackContainer
The #jackContainer at the end is a reference to the element with that id attribute.