K
Kai Grossjohann
On unload of a page, I store the current scrollbar position (ie,
window.pageXOffset and window.pageYOffset) into a cookie. On load of
that same page, I fetch the information from that cookie and scroll
the window accordingly.
I used the name "remember_scrolling" for the function doing the store,
and "recall_scrolling" for the function doing the fetch. (There is
also a function which deletes the cookie. It is named
"forget_scrolling".)
But I'm afraid that this might be wrong English, for "remember"
appears to cover both storing and fetching. (I guess that "recall"
and "forget" are suitably specific.)
The obvious "{store,fetch,delete}_scrolling" and
"{set,get,unset}_scrolling" are so, well, *obvious* and *boring*!
Any ideas?
Kai
PS: www.dict.org tells me that WordNet suggests
keep_in_mind_for_consideration_or_attention_scrolling which is nice,
but somehow...
PPS: Maybe remember_the_scrolling, also from WordNet, could work.
window.pageXOffset and window.pageYOffset) into a cookie. On load of
that same page, I fetch the information from that cookie and scroll
the window accordingly.
I used the name "remember_scrolling" for the function doing the store,
and "recall_scrolling" for the function doing the fetch. (There is
also a function which deletes the cookie. It is named
"forget_scrolling".)
But I'm afraid that this might be wrong English, for "remember"
appears to cover both storing and fetching. (I guess that "recall"
and "forget" are suitably specific.)
The obvious "{store,fetch,delete}_scrolling" and
"{set,get,unset}_scrolling" are so, well, *obvious* and *boring*!
Any ideas?
Kai
PS: www.dict.org tells me that WordNet suggests
keep_in_mind_for_consideration_or_attention_scrolling which is nice,
but somehow...
PPS: Maybe remember_the_scrolling, also from WordNet, could work.