{"action":"created","issue":{"url":"https://api.github.com/repos/bigspotteddog/ScrollToFixed/issues/48","repository_url":"https://api.github.com/repos/bigspotteddog/ScrollToFixed","labels_url":"https://api.github.com/repos/bigspotteddog/ScrollToFixed/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/bigspotteddog/ScrollToFixed/issues/48/comments","events_url":"https://api.github.com/repos/bigspotteddog/ScrollToFixed/issues/48/events","html_url":"https://github.com/bigspotteddog/ScrollToFixed/issues/48","id":7650329,"number":48,"title":"Set container to something else than window","user":{"login":"avetisk","id":737729,"avatar_url":"https://avatars.githubusercontent.com/u/737729?v=3","gravatar_id":"","url":"https://api.github.com/users/avetisk","html_url":"https://github.com/avetisk","followers_url":"https://api.github.com/users/avetisk/followers","following_url":"https://api.github.com/users/avetisk/following{/other_user}","gists_url":"https://api.github.com/users/avetisk/gists{/gist_id}","starred_url":"https://api.github.com/users/avetisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avetisk/subscriptions","organizations_url":"https://api.github.com/users/avetisk/orgs","repos_url":"https://api.github.com/users/avetisk/repos","events_url":"https://api.github.com/users/avetisk/events{/privacy}","received_events_url":"https://api.github.com/users/avetisk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bigspotteddog/ScrollToFixed/labels/Feature%20Request","name":"Feature Request","color":"0b02e1"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2012-10-17T09:21:57Z","updated_at":"2016-09-29T11:22:44Z","closed_at":null,"body":"Actually, the scroll event is listened only on window and position is calculated also from document's top 0 and left 0.\r\n\r\nIt would be nice to be able to set it to something else.\r\n\r\nFor instance:\r\n\r\n```html\r\n<div class=\"sidebar\">\r\n  <h2 class=\"fixme\">Some Title</h2>\r\n</div>\r\n```\r\n```javascript\r\n$('.sidebar .fixme').scrollToFixed({'container': $('.sidebar')})\r\n```"},"comment":{"url":"https://api.github.com/repos/bigspotteddog/ScrollToFixed/issues/comments/250439599","html_url":"https://github.com/bigspotteddog/ScrollToFixed/issues/48#issuecomment-250439599","issue_url":"https://api.github.com/repos/bigspotteddog/ScrollToFixed/issues/48","id":250439599,"user":{"login":"wekii","id":8656086,"avatar_url":"https://avatars.githubusercontent.com/u/8656086?v=3","gravatar_id":"","url":"https://api.github.com/users/wekii","html_url":"https://github.com/wekii","followers_url":"https://api.github.com/users/wekii/followers","following_url":"https://api.github.com/users/wekii/following{/other_user}","gists_url":"https://api.github.com/users/wekii/gists{/gist_id}","starred_url":"https://api.github.com/users/wekii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wekii/subscriptions","organizations_url":"https://api.github.com/users/wekii/orgs","repos_url":"https://api.github.com/users/wekii/repos","events_url":"https://api.github.com/users/wekii/events{/privacy}","received_events_url":"https://api.github.com/users/wekii/received_events","type":"User","site_admin":false},"created_at":"2016-09-29T11:22:44Z","updated_at":"2016-09-29T11:22:44Z","body":"+1"}}
{"actor":{"display_login":"wekii"}}