{"id":100772,"date":"2025-11-27T15:02:21","date_gmt":"2025-11-27T14:02:21","guid":{"rendered":"https:\/\/devstaging.humanfilm.no\/program\/"},"modified":"2026-02-16T11:51:31","modified_gmt":"2026-02-16T10:51:31","slug":"all-films","status":"publish","type":"page","link":"https:\/\/humanfilm.no\/en\/all-films\/","title":{"rendered":"All Films"},"content":{"rendered":"<div class=\"et_pb_section_0 et_pb_section et_section_regular et_flex_section human-scope-programnav\">\n<div class=\"et_pb_row_0 et_pb_row et_flex_row\">\n<div class=\"et_pb_column_0 et_pb_column et-last-child et_flex_column et_pb_css_mix_blend_mode_passthrough et_flex_column_24_24 et_flex_column_24_24_tablet et_flex_column_24_24_phone\">\n<div class=\"et_pb_code_0 et_pb_code et_pb_module\"><div class=\"et_pb_code_inner\"><div class=\"ps-program-nav\">  <div class=\"ps-program-nav__buttons\" aria-label=\"Programnavigasjon\"><a class=\"psp-btn\" href=\"https:\/\/humanfilm.no\/en\/program\/\">Program<\/a><a class=\"psp-btn\" href=\"https:\/\/humanfilm.no\/en\/alle-filmer-alfabetisk\/\">All films<\/a><a class=\"psp-btn\" href=\"https:\/\/humanfilm.no\/en\/human-live\/\">HUMAN Live<\/a><a class=\"psp-btn\" href=\"https:\/\/humanfilm.no\/en\/calendar\/\">Calendar<\/a><\/div>  <div class=\"ps-program-nav__dropdown\" aria-label=\"Programnavigasjon\"><label class=\"ps-program-nav__label\" for=\"ps-program-nav-select\" style=\"position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;\">Velg visning<\/label><select class=\"ps-program-nav__select\" id=\"ps-program-nav-select\" aria-label=\"Velg visning\"><option value=\"https:\/\/humanfilm.no\/en\/program\/\">Program<\/option><option value=\"https:\/\/humanfilm.no\/en\/alle-filmer-alfabetisk\/\">All films<\/option><option value=\"https:\/\/humanfilm.no\/en\/human-live\/\">HUMAN Live<\/option><option value=\"https:\/\/humanfilm.no\/en\/calendar\/\">Calendar<\/option><\/select><script>\n  (function(){\n    var sel = document.getElementById(\"ps-program-nav-select\");\n    if(!sel) return;\n    sel.addEventListener(\"change\", function(){\n      var url = sel.value;\n      if(url) window.location.href = url;\n    });\n  })();\n  <\/script><\/div><\/div><\/div><\/div>\n\n<div class=\"et_pb_code_1 et_pb_code et_pb_module\"><div class=\"et_pb_code_inner\">        <div class=\"ps-film-view-switcher\">\n            <!-- Visning dropdown -->\n<span class=\"ps-film-view-switcher__label\">View:<\/span>\n<div class=\"ps-film-view-switcher__dropdown\" data-dropdown=\"view\">\n    <button type=\"button\" class=\"psp-btn ps-film-view-switcher__toggle\" aria-expanded=\"false\" aria-haspopup=\"listbox\">\n        <span class=\"ps-film-view-switcher__current\">Sections<\/span>\n        <svg class=\"ps-film-view-switcher__arrow\" width=\"12\" height=\"12\" viewBox=\"0 0 12 12\" fill=\"none\">\n            <path d=\"M3 4.5L6 7.5L9 4.5\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\/>\n        <\/svg>\n    <\/button>\n\n    <ul class=\"ps-film-view-switcher__menu\" role=\"listbox\">\n        <!-- \u2705 Alfabetisk f\u00f8rst -->\n        <li role=\"option\" >\n            <a href=\"https:\/\/humanfilm.no\/en\/all-films-alphabetically\/\"\n               class=\"ps-film-view-switcher__option\">\n                Alphabetically            <\/a>\n        <\/li>\n\n        <li role=\"option\" aria-selected=\"true\">\n            <a href=\"https:\/\/humanfilm.no\/en\/all-films\/\"\n               class=\"ps-film-view-switcher__option ps-film-view-switcher__option--active\">\n                Sections            <\/a>\n        <\/li>\n    <\/ul>\n<\/div>\n\n<\/div>\n\n\n        <script>\n        (function() {\n            \/\/ Dropdown toggle for alle dropdowns\n            var dropdowns = document.querySelectorAll('.ps-film-view-switcher__dropdown');\n            \n            dropdowns.forEach(function(dropdown) {\n                var toggle = dropdown.querySelector('.ps-film-view-switcher__toggle');\n                \n                toggle.addEventListener('click', function(e) {\n                    e.stopPropagation();\n                    \n                    \/\/ Lukk andre dropdowns\n                    dropdowns.forEach(function(other) {\n                        if (other !== dropdown) {\n                            other.classList.remove('is-open');\n                            other.querySelector('.ps-film-view-switcher__toggle').setAttribute('aria-expanded', 'false');\n                        }\n                    });\n                    \n                    dropdown.classList.toggle('is-open');\n                    toggle.setAttribute('aria-expanded', dropdown.classList.contains('is-open'));\n                });\n            });\n\n            \/\/ Lukk ved klikk utenfor\n            document.addEventListener('click', function(e) {\n                dropdowns.forEach(function(dropdown) {\n                    if (!dropdown.contains(e.target)) {\n                        dropdown.classList.remove('is-open');\n                        dropdown.querySelector('.ps-film-view-switcher__toggle').setAttribute('aria-expanded', 'false');\n                    }\n                });\n            });\n\n            \/\/ Lukk ved Escape\n            document.addEventListener('keydown', function(e) {\n                if (e.key === 'Escape') {\n                    dropdowns.forEach(function(dropdown) {\n                        dropdown.classList.remove('is-open');\n                        dropdown.querySelector('.ps-film-view-switcher__toggle').setAttribute('aria-expanded', 'false');\n                    });\n                }\n            });\n\n            \/\/ Seksjon-navigering med smooth scroll\n            var sectionLinks = document.querySelectorAll('.ps-film-view-switcher__option--anchor');\n            var sectionDropdown = document.querySelector('[data-dropdown=\"section\"]');\n            var sectionToggle = sectionDropdown ? sectionDropdown.querySelector('.ps-film-view-switcher__current') : null;\n\n            sectionLinks.forEach(function(link) {\n                link.addEventListener('click', function(e) {\n                    e.preventDefault();\n                    \n                    var targetId = this.getAttribute('href').substring(1);\n                    var target = document.getElementById(targetId);\n                    \n                    if (target) {\n                        \/\/ Oppdater toggle-tekst\n                        if (sectionToggle) {\n                            sectionToggle.textContent = this.textContent.trim();\n                        }\n                        \n                        \/\/ Lukk dropdown\n                        if (sectionDropdown) {\n                            sectionDropdown.classList.remove('is-open');\n                            sectionDropdown.querySelector('.ps-film-view-switcher__toggle').setAttribute('aria-expanded', 'false');\n                        }\n                        \n                        \/\/ Scroll til seksjon\n                        var headerOffset = 120;\n                        var elementPosition = target.getBoundingClientRect().top;\n                        var offsetPosition = elementPosition + window.pageYOffset - headerOffset;\n                        \n                        window.scrollTo({\n                            top: offsetPosition,\n                            behavior: 'smooth'\n                        });\n                        \n                        \/\/ Oppdater URL uten page reload\n                        history.pushState(null, null, '#' + targetId);\n                    }\n                });\n            });\n\n            \/\/ Highlight \"Alle filmer\" i nav n\u00e5r vi er p\u00e5 alfabetisk-siden\n            var path = window.location.pathname;\n            if (path.indexOf('alfabetisk') !== -1 || path.indexOf('alphabetically') !== -1) {\n                var navButtons = document.querySelectorAll('.ps-program-nav__buttons .psp-btn');\n                navButtons.forEach(function(btn) {\n                    var href = btn.getAttribute('href') || '';\n                    if ((href.indexOf('alle-filmer') !== -1 || href.indexOf('all-films') !== -1) \n                        && href.indexOf('alfabetisk') === -1 \n                        && href.indexOf('alphabetically') === -1) {\n                        btn.classList.add('psp-btn--active');\n                        btn.setAttribute('aria-current', 'page');\n                    }\n                });\n\n                var navSelect = document.getElementById('ps-program-nav-select');\n                if (navSelect) {\n                    for (var i = 0; i < navSelect.options.length; i++) {\n                        var optVal = navSelect.options[i].value;\n                        if ((optVal.indexOf('alle-filmer') !== -1 || optVal.indexOf('all-films') !== -1) \n                            && optVal.indexOf('alfabetisk') === -1 \n                            && optVal.indexOf('alphabetically') === -1) {\n                            navSelect.selectedIndex = i;\n                            break;\n                        }\n                    }\n                }\n            }\n        })();\n        <\/script>\n        <\/div><\/div>\n<\/div>\n<\/div>\n<\/div>\n\n<div class=\"et_pb_section_1 et_pb_section et_section_regular et_flex_section human-scope-program\">\n<div class=\"et_pb_row_1 et_pb_row et_flex_row\">\n<div class=\"et_pb_column_1 et_pb_column et-last-child et_flex_column et_pb_css_mix_blend_mode_passthrough et_flex_column_24_24 et_flex_column_24_24_tablet et_flex_column_24_24_phone\">\n<div class=\"et_pb_code_2 et_pb_code et_pb_module\"><div class=\"et_pb_code_inner\"><div class=\"ps-program-wrapper\"><\/div>\n    <script>\n    document.addEventListener('click', function (e) {\n      if (e.target.closest('.fav-heart')) {\n        return;\n      }\n\n      const card = e.target.closest('.program-grid__link');\n      if (!card) return;\n\n      const href = card.getAttribute('data-href');\n      if (!href) return;\n\n      window.location.href = href;\n    });\n    <\/script>\n\n    <\/div><\/div>\n<\/div>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":412,"featured_media":0,"parent":0,"menu_order":5,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-100772","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/humanfilm.no\/en\/wp-json\/wp\/v2\/pages\/100772","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/humanfilm.no\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/humanfilm.no\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/humanfilm.no\/en\/wp-json\/wp\/v2\/users\/412"}],"replies":[{"embeddable":true,"href":"https:\/\/humanfilm.no\/en\/wp-json\/wp\/v2\/comments?post=100772"}],"version-history":[{"count":19,"href":"https:\/\/humanfilm.no\/en\/wp-json\/wp\/v2\/pages\/100772\/revisions"}],"predecessor-version":[{"id":102827,"href":"https:\/\/humanfilm.no\/en\/wp-json\/wp\/v2\/pages\/100772\/revisions\/102827"}],"wp:attachment":[{"href":"https:\/\/humanfilm.no\/en\/wp-json\/wp\/v2\/media?parent=100772"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}