{"action":"created","issue":{"url":"https://api.github.com/repos/peterkromanpeter/OSD-with-specific-properties-and-functions/issues/1","repository_url":"https://api.github.com/repos/peterkromanpeter/OSD-with-specific-properties-and-functions","labels_url":"https://api.github.com/repos/peterkromanpeter/OSD-with-specific-properties-and-functions/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/peterkromanpeter/OSD-with-specific-properties-and-functions/issues/1/comments","events_url":"https://api.github.com/repos/peterkromanpeter/OSD-with-specific-properties-and-functions/issues/1/events","html_url":"https://github.com/peterkromanpeter/OSD-with-specific-properties-and-functions/issues/1","id":247468411,"number":1,"title":"From thread in openseadragon/openseadragon","user":{"login":"peterkromanpeter","id":29127883,"avatar_url":"https://avatars1.githubusercontent.com/u/29127883?v=4","gravatar_id":"","url":"https://api.github.com/users/peterkromanpeter","html_url":"https://github.com/peterkromanpeter","followers_url":"https://api.github.com/users/peterkromanpeter/followers","following_url":"https://api.github.com/users/peterkromanpeter/following{/other_user}","gists_url":"https://api.github.com/users/peterkromanpeter/gists{/gist_id}","starred_url":"https://api.github.com/users/peterkromanpeter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterkromanpeter/subscriptions","organizations_url":"https://api.github.com/users/peterkromanpeter/orgs","repos_url":"https://api.github.com/users/peterkromanpeter/repos","events_url":"https://api.github.com/users/peterkromanpeter/events{/privacy}","received_events_url":"https://api.github.com/users/peterkromanpeter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2017-08-02T17:42:48Z","updated_at":"2017-08-11T05:27:11Z","closed_at":null,"body":"Fair enough. Well, for using the hash, you could do something like so:\r\n```\r\nfunction updateForHash() {\r\n  var hash = window.location.hash.replace(/^#/, '');\r\n  if (hash && /^page /.test(hash)) {\r\n    var hashNumber = hash.replace(/^page /, '');\r\n    var index = parseInt(hashNumber, 10) - 1;\r\n    viewer.goToPage(index);\r\n  }\r\n}\r\nYou'll want to call it once after the viewer loads, and once every time there's a hashchange event. You could do it like so:\r\n\r\nviewer.addHandler('open', function() {\r\n  window.addEventListener('hashchange', updateForHash, false);\r\n  updateForHash();\r\n});\r\nRegarding the navigator, are you seeing it anywhere on the screen? As long as you have a div with the proper ID, and the navigator is showing up there, it's just a matter of using CSS to position it where you want it. Be sure to make sure it's got a width and a height, or it might not be visible at all."},"comment":{"url":"https://api.github.com/repos/peterkromanpeter/OSD-with-specific-properties-and-functions/issues/comments/321734388","html_url":"https://github.com/peterkromanpeter/OSD-with-specific-properties-and-functions/issues/1#issuecomment-321734388","issue_url":"https://api.github.com/repos/peterkromanpeter/OSD-with-specific-properties-and-functions/issues/1","id":321734388,"user":{"login":"peterkromanpeter","id":29127883,"avatar_url":"https://avatars1.githubusercontent.com/u/29127883?v=4","gravatar_id":"","url":"https://api.github.com/users/peterkromanpeter","html_url":"https://github.com/peterkromanpeter","followers_url":"https://api.github.com/users/peterkromanpeter/followers","following_url":"https://api.github.com/users/peterkromanpeter/following{/other_user}","gists_url":"https://api.github.com/users/peterkromanpeter/gists{/gist_id}","starred_url":"https://api.github.com/users/peterkromanpeter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterkromanpeter/subscriptions","organizations_url":"https://api.github.com/users/peterkromanpeter/orgs","repos_url":"https://api.github.com/users/peterkromanpeter/repos","events_url":"https://api.github.com/users/peterkromanpeter/events{/privacy}","received_events_url":"https://api.github.com/users/peterkromanpeter/received_events","type":"User","site_admin":false},"created_at":"2017-08-11T05:27:11Z","updated_at":"2017-08-11T05:27:11Z","body":"Yes. I can see the typo in the script. When I remove that, no images are displayed at all, only a blank screen...... What am I doing wrong.\r\n\r\nAnd I need you to tell me where exactly I need to add the the ?img=http://ao.sa.dk/ao/data.ashx?bid=24530382 in the code - one od my my biggest challenges is to get the code syntax right "}}
{"actor":{"display_login":"peterkromanpeter"}}