Save History of page x/y location.
Moderator: General Moderators
Save History of page x/y location.
when you hit BACK on your browser, it goes back to your previous webpage -and- scrolls to the area you were at. How it does that? I would like to "refresh/edit/delete" something on the page, and have it scroll down to where you were (x,y coordinates) when you hit the button.
give the element you want to scroll to an ID
such as
Then to jump to that piece on a form action, use the form action http://www.domain.com/page.php#delete, and it will jump to that area.
Alternatively you could use javascript if you're always going to be going to that area, using scrollIntoView()
such as
Code: Select all
<p id="delete">content</p>Alternatively you could use javascript if you're always going to be going to that area, using scrollIntoView()
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
You can make the browser scroll to a certain part of the page using a named anchor
Then call the page as page.php#here
Code: Select all
<a name="here">test</a>