{"action":"created","issue":{"url":"https://api.github.com/repos/mossroy/evopedia-html5/issues/120","labels_url":"https://api.github.com/repos/mossroy/evopedia-html5/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/mossroy/evopedia-html5/issues/120/comments","events_url":"https://api.github.com/repos/mossroy/evopedia-html5/issues/120/events","html_url":"https://github.com/mossroy/evopedia-html5/issues/120","id":102564975,"number":120,"title":"Rework the behavior and layout of the screen (iframe version), to optimize the available space for article content","user":{"login":"mossroy","id":890923,"avatar_url":"https://avatars.githubusercontent.com/u/890923?v=3","gravatar_id":"","url":"https://api.github.com/users/mossroy","html_url":"https://github.com/mossroy","followers_url":"https://api.github.com/users/mossroy/followers","following_url":"https://api.github.com/users/mossroy/following{/other_user}","gists_url":"https://api.github.com/users/mossroy/gists{/gist_id}","starred_url":"https://api.github.com/users/mossroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mossroy/subscriptions","organizations_url":"https://api.github.com/users/mossroy/orgs","repos_url":"https://api.github.com/users/mossroy/repos","events_url":"https://api.github.com/users/mossroy/events{/privacy}","received_events_url":"https://api.github.com/users/mossroy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mossroy/evopedia-html5/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"mossroy","id":890923,"avatar_url":"https://avatars.githubusercontent.com/u/890923?v=3","gravatar_id":"","url":"https://api.github.com/users/mossroy","html_url":"https://github.com/mossroy","followers_url":"https://api.github.com/users/mossroy/followers","following_url":"https://api.github.com/users/mossroy/following{/other_user}","gists_url":"https://api.github.com/users/mossroy/gists{/gist_id}","starred_url":"https://api.github.com/users/mossroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mossroy/subscriptions","organizations_url":"https://api.github.com/users/mossroy/orgs","repos_url":"https://api.github.com/users/mossroy/repos","events_url":"https://api.github.com/users/mossroy/events{/privacy}","received_events_url":"https://api.github.com/users/mossroy/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/mossroy/evopedia-html5/milestones/12","html_url":"https://github.com/mossroy/evopedia-html5/milestones/v2.0","labels_url":"https://api.github.com/repos/mossroy/evopedia-html5/milestones/12/labels","id":1083806,"number":12,"title":"v2.0","description":"Add the ability to read archives in ZIM format, at least for the main features","creator":{"login":"mossroy","id":890923,"avatar_url":"https://avatars.githubusercontent.com/u/890923?v=3","gravatar_id":"","url":"https://api.github.com/users/mossroy","html_url":"https://github.com/mossroy","followers_url":"https://api.github.com/users/mossroy/followers","following_url":"https://api.github.com/users/mossroy/following{/other_user}","gists_url":"https://api.github.com/users/mossroy/gists{/gist_id}","starred_url":"https://api.github.com/users/mossroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mossroy/subscriptions","organizations_url":"https://api.github.com/users/mossroy/orgs","repos_url":"https://api.github.com/users/mossroy/repos","events_url":"https://api.github.com/users/mossroy/events{/privacy}","received_events_url":"https://api.github.com/users/mossroy/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":3,"state":"open","created_at":"2015-04-26T08:10:44Z","updated_at":"2015-08-22T20:34:01Z","due_on":"2015-11-29T23:00:00Z","closed_at":null},"comments":1,"created_at":"2015-08-22T20:21:20Z","updated_at":"2015-08-23T06:33:36Z","closed_at":null,"body":"The iframe currently takes all the available space (including height).\r\nBut the top area always stays visible, and does not let enough space for the article.\r\n\r\nIMHO, it would be ideal to implement the same behavior as in the browser of Firefox OS >= 2.1 :\r\n- when the user scrolls up, the top area shrinks (or even disappears). There are options in jquery hide() function to hide them smoothly, but we also need to resize the iframe at this moment\r\n- when the user scrolls down, the top area reappears (and the iframe should be resized)\r\n- the top area also contains the back/forward buttons\r\n- the bottom bar and buttons become useless and might be removed\r\n\r\n... but it might be hard to implement"},"comment":{"url":"https://api.github.com/repos/mossroy/evopedia-html5/issues/comments/133793653","html_url":"https://github.com/mossroy/evopedia-html5/issues/120#issuecomment-133793653","issue_url":"https://api.github.com/repos/mossroy/evopedia-html5/issues/120","id":133793653,"user":{"login":"mossroy","id":890923,"avatar_url":"https://avatars.githubusercontent.com/u/890923?v=3","gravatar_id":"","url":"https://api.github.com/users/mossroy","html_url":"https://github.com/mossroy","followers_url":"https://api.github.com/users/mossroy/followers","following_url":"https://api.github.com/users/mossroy/following{/other_user}","gists_url":"https://api.github.com/users/mossroy/gists{/gist_id}","starred_url":"https://api.github.com/users/mossroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mossroy/subscriptions","organizations_url":"https://api.github.com/users/mossroy/orgs","repos_url":"https://api.github.com/users/mossroy/repos","events_url":"https://api.github.com/users/mossroy/events{/privacy}","received_events_url":"https://api.github.com/users/mossroy/received_events","type":"User","site_admin":false},"created_at":"2015-08-23T06:33:35Z","updated_at":"2015-08-23T06:33:35Z","body":"Maybe using something like https://medium.com/@mariusc23/hide-header-on-scroll-down-show-on-scroll-up-67bbaae9a78c would do what we need for the header BUT the difficulty will be to expand/reduce the iframe without visibly moving the content inside"}}