Results 1 to 4 of 4

Thread: Scrolling and Refresh

  1. #1
    Join Date
    Aug 2009
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Scrolling and Refresh

    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!

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Aug 2009
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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!

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •