PITS /
01019: Store the position of scrollbar of textarea when preview
Summary: Store the position of scrollbar of textarea when preview
Created: 2008-04-16 04:13
Status: Closed
Category: Cookbook
From: JL
Assigned:
Priority: 53
Version: 2.1b25
OS: Apache/PHP5
Description: Hi,
During edition of a pmwiki page, we use the preview button, and the page is reloaded with the preview.
Then the scrollbar of the textarea is set at the top and we scroll to return at the point of the last modification.
Could you store the scrollbar position in a cookie to restore it on the load of adit/preview ?
Thanks.
Good idea! This is now implemented as Cookbook.RememberEditPosition --Eemeli Aro January 20, 2009, at 06:57 AM
Also a feature of Cookbook:NotSavedWarning. --Petko August 15, 2015, at 04:47 AM