Log in

View Full Version : Scrolling and Refresh



brandy_000
05-23-2011, 12:34 PM
Hello!

I have posted this question in another thread, but i recognize, that it fits better here...
I´m working on this site - http://www.foto-riedler.com/index.php- it should be ready in a few days, but my customer has this one difficult desire. On the left side you see a scrolling, which works fine but if you click on a picture in this scrolling the whole site reloads, of course the scrolling too. So if you scroll down to a picture and click on one, the site reloads and the scroling jumps back to the beginning.
Is it possible that the scrolling is keeping its position, so that the picture on the left after reloading stays the same?
Thanks for advices!

jscheuer1
05-23-2011, 03:49 PM
The link in your post is a 404 not found due to a trailing dash (-). If I remove the dash, I get a page with no scroller on it.

Please post a link to a page on your site that contains the problematic code so we can check it out.

From what you say, a cookie could probably be used for that. However, it might be better if the page simply didn't have to reload. There are scripts (in javascript) that do that.

brandy_000
05-24-2011, 05:58 AM
Sorry here the link with the scrolling - http://www.foto-riedler.com/index.php?page=women

I am using a CMS so I will have to build up everything new when I want to make it unrefreshable with Javascript.
Maybe you have a link to a description how to build it with cookies!

Thank you!

jscheuer1
05-26-2011, 01:55 PM
That scrolling javascript you have is commercial. If you or the client have paid for it, the documentation should include information on setting the cookie. If not, contact the person who sold it to either of you. If neither you nor the client own rights to use it, you really have no business using it in a commercial project.