Funksjoner
<script><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> jQuery(function($){<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> // Navigation<!-- [et_pb_line_break_holder] --> var glyphButtons = $('.glyph_menu_button');<!-- [et_pb_line_break_holder] --> var glyphTexts = $('.glyph_menu_text');<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> $(glyphTexts[0]).show();<!-- [et_pb_line_break_holder] --> $(glyphButtons[0]).addClass('highlight_glyph');<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> glyphButtons.click(function(){<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> $('html,body' ).animate({scrollTop: $("#top_section").height()}, 'fast');<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> var buttonClickIndex = glyphButtons.index(this);<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> glyphTexts.hide();<!-- [et_pb_line_break_holder] --> glyphButtons.removeClass('highlight_glyph');<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> $(glyphTexts[buttonClickIndex]).show();<!-- [et_pb_line_break_holder] --> $(glyphButtons[buttonClickIndex]).addClass('highlight_glyph');<!-- [et_pb_line_break_holder] --> history.pushState(null, null, '#'+$(glyphButtons[buttonClickIndex]).attr('id'));<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> if($('#glyph_nav_container').hasClass('fullscreen_overlay_glyphnav')){<!-- [et_pb_line_break_holder] --> $('#glyph_hamburger_menu_button').show();<!-- [et_pb_line_break_holder] --> $('#glyph_nav_container').removeClass('fullscreen_overlay_glyphnav');<!-- [et_pb_line_break_holder] --> $('body').removeClass('disable_scroll_fullscreen');<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> });<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> // Mobile responsive<!-- [et_pb_line_break_holder] --> $('#glyph_hamburger_menu_button').click(function(){<!-- [et_pb_line_break_holder] --> $('#glyph_hamburger_menu_button').hide();<!-- [et_pb_line_break_holder] --> $('body').addClass('disable_scroll_fullscreen');<!-- [et_pb_line_break_holder] --> $('#glyph_nav_container').addClass('fullscreen_overlay_glyphnav');<!-- [et_pb_line_break_holder] --> });<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> function sizeMatchChange(x) {<!-- [et_pb_line_break_holder] --> if (!x.matches) {<!-- [et_pb_line_break_holder] --> $('#glyph_hamburger_menu_button').hide();<!-- [et_pb_line_break_holder] --> if($('#glyph_nav_container').hasClass('fullscreen_overlay_glyphnav')){<!-- [et_pb_line_break_holder] --> $('#glyph_nav_container').removeClass('fullscreen_overlay_glyphnav');<!-- [et_pb_line_break_holder] --> $('body').removeClass('disable_scroll_fullscreen');<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> }else{<!-- [et_pb_line_break_holder] --> $('#glyph_hamburger_menu_button').show();<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> var x = window.matchMedia("(max-width: 980px)")<!-- [et_pb_line_break_holder] --> sizeMatchChange(x) // Call listener function at run time<!-- [et_pb_line_break_holder] --> x.addListener(sizeMatchChange) // Attach listener function on state changes<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> $(function() {<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> if (window.location.hash) {<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> var db_hash_elem = $(document.getElementById(window.location.hash.substring(1)));<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> console.log(db_hash_elem);<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> if(db_hash_elem){<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> db_hash_elem.click();<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> });<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --> });<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --></script>