Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

J

Johan

@Johan
About
Posts
5
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Navigate to the last scroll position when coming back to the homepage
    J Johan

    @mariusjopen Thanks a lot. I will find a way !

    General Discussion

  • Navigate to the last scroll position when coming back to the homepage
    J Johan

    I tried something like :

    jQuery(document).ready(function($) {
       $('a.thumb').on('click', function(){
          sessionStorage["scrollPosition"] = $(window).scrollTop();
       });
       $(window).scrollTop(sessionStorage["scrollPosition"]);
       sessionStorage.clear();
    });
    

    but it doesn't work.

    General Discussion

  • Navigate to the last scroll position when coming back to the homepage
    J Johan

    @arminunruh Thanks a lot for your answer. Is there a trick I should use until you implement this functionality?

    General Discussion

  • Navigate to the last scroll position when coming back to the homepage
    J Johan

    Any clue @mariusjopen ? It's for Simon Koy's website http://simonkoy.de

    General Discussion

  • Navigate to the last scroll position when coming back to the homepage
    J Johan

    After viewing a projet, I would like to come back to the homepage previous scrolled position when I press my browser back button (history.back()). Since I have a lot of projects displayed on my home, it's quite annoying for the user to come back to the top of the page.
    Is there a way I can get around this? I guess using Lightbox addon would do the job, but I would prefer having one page (with a proper url) per project.
    If anyone had any idea it would be super nice !
    Thanks a lot
    Johan

    General Discussion
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Recent
  • Tags
  • Popular
  • Users
  • Search