{"action":"created","issue":{"url":"https://api.github.com/repos/alvarotrigo/fullPage.js/issues/1153","labels_url":"https://api.github.com/repos/alvarotrigo/fullPage.js/issues/1153/labels{/name}","comments_url":"https://api.github.com/repos/alvarotrigo/fullPage.js/issues/1153/comments","events_url":"https://api.github.com/repos/alvarotrigo/fullPage.js/issues/1153/events","html_url":"https://github.com/alvarotrigo/fullPage.js/issues/1153","id":69023922,"number":1153,"title":"ScrollTo Possibility for anchor tags within Slide?","user":{"login":"sharpe89","id":11928449,"avatar_url":"https://avatars.githubusercontent.com/u/11928449?v=3","gravatar_id":"","url":"https://api.github.com/users/sharpe89","html_url":"https://github.com/sharpe89","followers_url":"https://api.github.com/users/sharpe89/followers","following_url":"https://api.github.com/users/sharpe89/following{/other_user}","gists_url":"https://api.github.com/users/sharpe89/gists{/gist_id}","starred_url":"https://api.github.com/users/sharpe89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharpe89/subscriptions","organizations_url":"https://api.github.com/users/sharpe89/orgs","repos_url":"https://api.github.com/users/sharpe89/repos","events_url":"https://api.github.com/users/sharpe89/events{/privacy}","received_events_url":"https://api.github.com/users/sharpe89/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-16T22:40:42Z","updated_at":"2015-04-16T23:01:31Z","closed_at":"2015-04-16T23:01:31Z","body":"Hi Alvarotrigo\r\n\r\nStill in development with a website and have a request. Looking to know is it possible to create an anchor tag within a scrolling slide and allow a user to be brought to that from a direct link through fullPage, for example:\r\n\r\nI want the user to click 'Read Steven's Story' which has the following link:\r\nhttp://nfp.sharpeart.com/#what-we-do/client-reviews/#steven\r\n\r\nThe link successfully brings me to the slide I want but doesn't scroll down to the desired part of the page. Is this a limitation with SlimScroll or would I need to add something more through jQuery?\r\n\r\nYour help is always much appreciated!\r\n\r\nThanks!\r\nStephen"},"comment":{"url":"https://api.github.com/repos/alvarotrigo/fullPage.js/issues/comments/93858586","html_url":"https://github.com/alvarotrigo/fullPage.js/issues/1153#issuecomment-93858586","issue_url":"https://api.github.com/repos/alvarotrigo/fullPage.js/issues/1153","id":93858586,"user":{"login":"alvarotrigo","id":1706326,"avatar_url":"https://avatars.githubusercontent.com/u/1706326?v=3","gravatar_id":"","url":"https://api.github.com/users/alvarotrigo","html_url":"https://github.com/alvarotrigo","followers_url":"https://api.github.com/users/alvarotrigo/followers","following_url":"https://api.github.com/users/alvarotrigo/following{/other_user}","gists_url":"https://api.github.com/users/alvarotrigo/gists{/gist_id}","starred_url":"https://api.github.com/users/alvarotrigo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alvarotrigo/subscriptions","organizations_url":"https://api.github.com/users/alvarotrigo/orgs","repos_url":"https://api.github.com/users/alvarotrigo/repos","events_url":"https://api.github.com/users/alvarotrigo/events{/privacy}","received_events_url":"https://api.github.com/users/alvarotrigo/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T23:01:31Z","updated_at":"2015-04-16T23:01:31Z","body":"fullPage.js definitely doesn't provide a way to make use of the common anchors in the URL to scroll to any part of the site.\r\n\r\nI'm not sure [if slimScroll provides anyway to access to a certain part of the scrollable area](https://github.com/rochal/jQuery-slimScroll/issues/98), but even in case it does, you would need to modify the plugin the parse the anchor string (#what-we-do/client-reviews/#steven) and get only the last bit (#steven).\r\nAnd then very probably you'll have to calculate the position of the element containing that anchor inside the scrollable element to pass it to slimScroll.\r\n\r\nYou probably can do all of this by just forcing the scroll of the scrollable element and then manually moving its scrollbar to the right position."}}