Hello,
I am have an application that works on firefox and safari, but does not on iPhone. Here is the link: http://akravets.freezoka.com/
The idea here is that user visits a web page and scrolls to read it, position at which he left reading before closing is saved. When user comes back to the page, the cookie is read and page is suppose to scroll to the value received from the cookie.
All the ingredients seems to work separately: saving cookie and scrolling to a position once page is loaded, but together these two don't work on iPhone - the position is loaded from cookie but doesn't scroll to needed position. The meat of the whole thing is javascript file: http://akravets.freezoka.com/bookmark.js
Can someone can tell me what am I doing wrong here?
thanks,
mika
I am have an application that works on firefox and safari, but does not on iPhone. Here is the link: http://akravets.freezoka.com/
The idea here is that user visits a web page and scrolls to read it, position at which he left reading before closing is saved. When user comes back to the page, the cookie is read and page is suppose to scroll to the value received from the cookie.
All the ingredients seems to work separately: saving cookie and scrolling to a position once page is loaded, but together these two don't work on iPhone - the position is loaded from cookie but doesn't scroll to needed position. The meat of the whole thing is javascript file: http://akravets.freezoka.com/bookmark.js
Can someone can tell me what am I doing wrong here?
thanks,
mika