{"id":20660986,"url":"https://github.com/liatemplates/fullscreen","last_synced_at":"2025-08-31T08:41:45.806Z","repository":{"id":107256835,"uuid":"571759635","full_name":"LiaTemplates/Fullscreen","owner":"LiaTemplates","description":"This plugin removes the LiaScript nav-bar in fullscreen-mode, which can be used in presentations.","archived":false,"fork":false,"pushed_at":"2022-11-28T20:45:28.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-17T12:16:34.369Z","etag":null,"topics":["liascript","liascript-template","markdown","presentation"],"latest_commit_sha":null,"homepage":"https://liascript.github.io/course/?https://raw.githubusercontent.com/LiaTemplates/Fullscreen/main/README.md","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LiaTemplates.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-28T20:33:37.000Z","updated_at":"2022-11-28T20:48:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"08561f85-9753-426d-8760-fec2097d8c4e","html_url":"https://github.com/LiaTemplates/Fullscreen","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiaTemplates%2FFullscreen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiaTemplates%2FFullscreen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiaTemplates%2FFullscreen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiaTemplates%2FFullscreen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LiaTemplates","download_url":"https://codeload.github.com/LiaTemplates/Fullscreen/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242788017,"owners_count":20185204,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["liascript","liascript-template","markdown","presentation"],"created_at":"2024-11-16T19:06:43.621Z","updated_at":"2025-03-10T04:25:11.056Z","avatar_url":"https://github.com/LiaTemplates.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nauthor:   André Dietrich\n\nemail:    LiaScript@web.de\n\nversion:  0.0.1\n\nlanguage: en\n\nnarrator: US English Female\n\ncomment:  This plugin removes the nav-bar in fullscreen-mode, which can be used in presentations.\n\n@onload\n\nwindow.onresize = function (event) {\n    var maxHeight = window.screen.height,\n        maxWidth = window.screen.width,\n        curHeight = window.innerHeight,\n        curWidth = window.innerWidth;\n\n    if (maxWidth == curWidth \u0026\u0026 maxHeight == curHeight) {\n        const head = document.getElementById(\"lia-toolbar-nav\")\n        \n        head.style.display=\"none\"\n        head.nextSibling.style[\"margin-top\"] = \"0px\"\n\n        window.fullscreenMode = true\n    } else if (window.fullscreenMode){\n        const head = document.getElementById(\"lia-toolbar-nav\")\n        \n        head.style.display=\"\"\n        head.nextSibling.style[\"margin-top\"] = \"\"\n\n        window.fullscreenMode = false\n    }\n}\n\n@end\n--\u003e\n\n# Fullscreen - Template\n\nBy importing this README via:\n\n`import: https://raw.githubusercontent.com/LiaTemplates/Fullscreen/0.0.1/README.md`\n\ninto your document header, as it is shown below, an event listener will be added automatically to your course, which will hide the main nav bar of your course when you get into fullscreen mode by hitting \u003ckbd\u003eF11\u003c/kbd\u003e.\n\n``` markdown\n\u003c!--\nauthor:   ...\n\nimport: https://raw.githubusercontent.com/LiaTemplates/Fullscreen/0.0.1/README.md\n--\u003e\n\n# Main Title\n```\n\n## Implementation\n\n``` javascript\n@onload\n\nwindow.onresize = function (event) {\n    var maxHeight = window.screen.height,\n        maxWidth = window.screen.width,\n        curHeight = window.innerHeight,\n        curWidth = window.innerWidth;\n\n    if (maxWidth == curWidth \u0026\u0026 maxHeight == curHeight) {\n        const head = document.getElementById(\"lia-toolbar-nav\")\n        \n        head.style.display=\"none\"\n        head.nextSibling.style[\"margin-top\"] = \"0px\"\n\n        window.fullscreenMode = true\n    } else if (window.fullscreenMode){\n        const head = document.getElementById(\"lia-toolbar-nav\")\n        \n        head.style.display=\"\"\n        head.nextSibling.style[\"margin-top\"] = \"\"\n\n        window.fullscreenMode = false\n    }\n}\n\n@end\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliatemplates%2Ffullscreen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliatemplates%2Ffullscreen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliatemplates%2Ffullscreen/lists"}