cristinawithout / jquery-autopager-too

jQuery.AutoPager Too is an infinite scroller that is based on jQuery.autopager
2 stars 13 forks source link

Permalink and back buttons. #3

Open sagotsky opened 11 years ago

sagotsky commented 11 years ago

jquery-autopager doesn't allow you to permalink to the position in a page. Nor will using back/forward buttons return you to where you left off in a page.

Here's a patch I wrote to solve this. It was meant to be used in drupal, but I only patched the js library so I figured you might be interested. http://drupal.org/node/1989144

cristinawithout commented 11 years ago

Sounds like a good idea. I'll try to check it out and see about committing. Do you have any place where it's already implemented?

sagotsky commented 11 years ago

Haven't pushed it out of local dev yet, so no.

On Tue, May 7, 2013 at 3:19 PM, cristinawithout notifications@github.comwrote:

Sounds like a good idea. I'll try to check it out and see about committing. Do you have any place where it's already implemented?

— Reply to this email directly or view it on GitHubhttps://github.com/cristinawithout/jquery-autopager-too/issues/3#issuecomment-17563978 .

sagotsky commented 11 years ago

Updated patch. http://drupal.org/files/jquery.autopager-permalink_state-1989144-2.patch It was going too late and updating to the url of the next page instead of the current one.