Digi- ja väestötietoviraston palvelut henkilöasiakkaille | Digi

0
Tarjouksia:

[] Digi- ja väestötietoviraston palvelut henkilöasiakkaille | Digi- ja väestötietovirasto Hyppää sisältöön Tehtävänä sujuva Suomi

Näin asioit sujuvasti Digi- ja väestötietovirastossa:

  • Aloita asiointi tämän sivun yläosasta kohdasta ”Palvelut henkilöasiakkaille”.
    Valitse palvelu ja toimi ohjeiden mukaan.
  • Voit hoitaa useimmat asiat nopeimmin verkossa: tutustu sähköisiin palveluihin.

ul’).remove(); jQuery(‘#navigation__substitute’).clone().appendTo(‘nav.main-nav’); jQuery(‘#content #navigation__substitute’).remove(); // click event for toggleVisibility buttons jQuery(‘#banner nav button.toggleVisibility’).unbind(); jQuery(‘#banner nav button.toggleVisibility’).click(function() { var elem = jQuery(this); // close opened menus var compareRole = elem.parent().attr(‘aria-labelledby’); var compareId = elem.parent().find(‘span:eq(0)’).attr(‘id’); var targetElement = elem.parent().siblings(); if(compareRole.indexOf(‘subMenuItem’) > -1) { var buttonInitialClass = ‘icon-chevron-right’; var buttonTargetClass = ‘icon-chevron-down’; } else { var buttonInitialClass = ‘icon-chevron-down’; var buttonTargetClass = ‘icon-chevron-up’; } jQuery(targetElement).each(function() { if(jQuery(this).attr(‘aria-labelledby’) != compareId && jQuery(this).children(‘button’).hasClass(buttonTargetClass)) { if(buttonInitialClass == ‘icon-chevron-right’) { jQuery(this).children(‘ul[style*=”block”]’).slideUp(150); jQuery(this).removeClass(‘open’); } else { jQuery(this).children(‘ul[style*=”block”]’).slideUp(150); } var targetButton = jQuery(this).children(‘button’); targetButton.removeClass(buttonTargetClass); targetButton.addClass(buttonInitialClass); } }); // toggle the menu jQuery(elem.next(‘ul’)).slideToggle(150); // apply correct icons to button if(compareRole.indexOf(‘subMenuItem’) > -1) { if (elem.hasClass(‘icon-chevron-right’)) { elem.parent().parent().addClass(‘open’); elem.parent().addClass(‘open’); elem.removeClass(‘icon-chevron-right’); elem.addClass(‘icon-chevron-down’); } else { elem.parent().parent().removeClass(‘open’); elem.parent().removeClass(‘open’); elem.removeClass(‘icon-chevron-down’); elem.addClass(‘icon-chevron-right’); } } else { if (elem.hasClass(‘icon-chevron-up’)) { elem.removeClass(‘icon-chevron-up’); elem.addClass(‘icon-chevron-down’); } else { elem.removeClass(‘icon-chevron-down’); elem.addClass(‘icon-chevron-up’); } } }); } // click anywhere and open menus close jQuery(‘body’).on(‘mouseup’, function(e) { if(jQuery(‘nav > ul > li’).find(e.target).length == 0) { jQuery(‘nav > ul > li’).each(function() { if(jQuery(this).children(‘ul[style*=”block”]’).length > 0) { jQuery(this).children(‘button.toggleVisibility’).click(); } }); } }); // hover on menu and it opens jQuery(‘nav > ul > li’).on(‘mouseenter’, function() { if(searchIsOpen == false && jQuery(this).children(‘ul[style*=”block”]’).length == 0) { jQuery(this).children(‘button.toggleVisibility’).click(); } }); } // ACCORDION $(‘.collapsible h3’).each(function() { var $this = $(this); // wrap the content and make it focusable var panel = $this.next(); var button = $this.children(‘button’); // Toggle the state properties button.on(‘click’, function() { var state = $(this).attr(‘aria-expanded’) === ‘false’ ? true : false; $this.attr(‘aria-expanded’, state); // commands the parent of the button $(this).attr(‘aria-expanded’, state); // commands the button panel.attr(‘aria-hidden’, !state); }); }); // DO THE SUBSTITUTION substituteNavigation(); // LANGUAGE BASED VARS var serviceCurrentLang = $(‘html’).attr(‘lang’); var serviceSearchLangVars = {‘fi-FI’:[‘/haku’,’Hae’], ‘sv-SE’:[‘/sv/sok’,’Sök’], ‘en-US’:[‘/en/search’,’Search’]}; // PRESELECT SEARCH var serviceSearchUrl = serviceSearchLangVars[serviceCurrentLang][0]; jQuery(document).ready(function() { if($(‘#preSelectSearchForm’).length > 0) { $(‘#preSelectInput’).autocomplete({ appendTo: ‘#preSelectSearchResults’, minLength: 2, source: preSelectTerms }); $(‘#preSelectSearchForm’).on(‘submit’, function(e) { e.preventDefault(); var preSelectInputVal = $(‘#preSelectInput’).val().replace(/s/g, ‘+’); window.location.href = window.location.origin + serviceSearchUrl + ‘?q=’ + preSelectInputVal; }); } // LANGUAGE SELECT DROPDOWN TEXT CHANGE var langSelectElem = $(‘#heading .header-top-bar-links-lang .portlet-body’); var langSelectLink = langSelectElem.find(‘.lang-text > a’); var langSelectList = langSelectElem.find(‘.lang-text > ul’); langSelectLink.text(langSelectList.attr(‘class’).toUpperCase()); // SEARCH BUTTON TO MOBILE var serviceSearchText = serviceSearchLangVars[serviceCurrentLang][1]; langSelectElem.prepend(‘
Lähde

Vastaa

Sähköpostiosoitettasi ei julkaista. Pakolliset kentät on merkitty *