Learn more about other CBC activities in the same field: issue - icon obst - icon sol - icon

 

Area of CBC activity Education and training
Sector of CBC activity Mobility of students
Please, briefly describe the CBC activity you wanted to pursue In the Haparanda-Tornio region students have been able to freely attend schools across the border at the comprehensive school level since 1978. Families are able to choose a school for their children in Haparanda or Tornio region regardless of which side of the border the family lives. A common comprehensive school – the language school – was started in 1989. The school is situated in Haparanda and half of the pupils come from each city. Pupils in upper secondary school and vocational training also can freely attend across the border.
Border areas (states involved) Sweden, Finland
Institution CBC activity implemented by Sweden
Contact details
Year of record 2012

 

"); gdas_ac_init_suggestions($input); if ( gdasac_suggestions_with != 'posts' ) { gdas_ac_categories($input); } } // resize gdas_ac_resize_suggestions(); // set if is search near if(jQuery('.gdlm-location-suggestions:visible').prev().hasClass('snear')){ gdasac_is_search = true; }else{ gdasac_is_search = false; } } function gdas_ac_focus_out($input){ setTimeout(function() { if (!gdasac_do_not_close) { jQuery($input).parent().find(".gdas-search-suggestions").hide(); } },200); } /** * Get the current post_type categories as suggestions. * */ function gdas_ac_categories(el){ $input = jQuery(gdasac_selected); var post_type = jQuery($input).parent().parent().find("input[name='stype']").val(); var post_type_slug = jQuery($input).parent().parent().find("input[name='stype']").data("slug"); if(!post_type_slug) { post_type_slug = jQuery($input).parent().parent().find(".search_by_post").find(':selected').data("slug"); } if (typeof post_type_slug == 'undefined') { post_type_slug = jQuery(".search_by_post").find(':selected').data("slug"); } var search = jQuery($input).val(); if (typeof search == 'undefined') { search = ''; } request_url = geodir_params.api_url + "" + post_type_slug+"/categories/?orderby=count&order=desc&search="+search+"&per_page="+geodir_search_params.autocompleter_max_results; if (geodir_search_params.autocompleter_filter_location && el && jQuery(el).closest('form.geodir-listing-search').length) { $form = jQuery(el).closest('form.geodir-listing-search'); lname = jQuery('.geodir-location-search-type', $form).prop('name'); lval = jQuery('.geodir-location-search-type', $form).val(); if (lval && (lname == 'country' || lname == 'region' || lname == 'city' || lname == 'neighbourhood')) { request_url += '&' + lname + '=' + lval; } } jQuery.ajax({ type: "GET", url: request_url, success: function (data) { gdasac_categories = data;gdasac_doing_search--; html = ''; gdasac_li_type = 'category'; jQuery.each(gdasac_categories, function (index, value) { html = html + gdas_ac_create_li('category', value); }); jQuery(gdasac_selected).parent().find("ul.gdasac-category").empty().append(html); }, error: function (xhr, textStatus, errorThrown) { console.log(errorThrown); } }); } /** * Get the current post_type categories as suggestions. * */ function gdas_ac_listings(el){ $input = jQuery(gdasac_selected); var post_type = jQuery($input).parent().parent().find("input[name='stype']").val(); var post_type_slug = jQuery($input).parent().parent().find("input[name='stype']").data("slug"); if(!post_type_slug) { post_type_slug = jQuery($input).parent().parent().find(".search_by_post").find(':selected').data("slug"); } var search = jQuery($input).val(); if(search && search.length >= geodir_search_params.autocomplete_min_chars){ request_url = geodir_params.api_url + "" + post_type_slug+"/?search="+search+"&per_page="+geodir_search_params.autocompleter_max_results; if (geodir_search_params.autocompleter_filter_location && el && jQuery(el).closest('form.geodir-listing-search').length) { $form = jQuery(el).closest('form.geodir-listing-search'); lname = jQuery('.geodir-location-search-type', $form).prop('name'); lval = jQuery('.geodir-location-search-type', $form).val(); if (lval && (lname == 'country' || lname == 'region' || lname == 'city' || lname == 'neighbourhood')) { request_url += '&' + lname + '=' + lval; } } jQuery.ajax({ type: "GET", url: request_url, success: function (data) { gdasac_listings = data;gdasac_doing_search--; html = ''; gdasac_li_type = 'listing'; jQuery.each(gdasac_listings, function (index, value) { html = html + gdas_ac_create_li('listing', value); }); jQuery(gdasac_selected).parent().find("ul.gdasac-listing").empty().append(html); }, error: function (xhr, textStatus, errorThrown) { console.log(errorThrown); } }); }else{ jQuery(gdasac_selected).parent().find("ul.gdasac-listing").empty(); } } /** * set the max height for the suggestion div so to never scroll past the bottom of the page. */ function gdas_ac_resize_suggestions(){ setTimeout(function(){ if(jQuery('.gd-suggestions-dropdown:visible').length){ var offset = jQuery('.gd-suggestions-dropdown:visible').offset().top; var windowHeight = jQuery( window ).height(); var maxHeight = windowHeight - ( offset - jQuery(window).scrollTop() ); if(jQuery('.gd-suggestions-dropdown:visible').prev().hasClass('gd_search_text')){ jQuery('.gd-suggestions-dropdown:visible').css('max-height',windowHeight - 40); }else{ jQuery('.gd-suggestions-dropdown:visible').css('max-height',maxHeight); } } }, 50); } function gdas_ac_init_suggestions($input){ setTimeout(function(){ gdas_ac_resize_suggestions(); }, 250); jQuery($input).keyup(function (e) { gdasac_doing_search = 3;// city, region, country if(gdasac_keyup_timeout != null) clearTimeout(gdasac_keyup_timeout); gdasac_keyup_timeout = setTimeout(function(){ gdas_ac_maybe_fire_suggestions($input); },500); }); } function gdas_ac_maybe_fire_suggestions(el){ gdasac_keyup_timeout = null; if ( gdasac_suggestions_with != 'terms' ) { gdas_ac_listings(el); } if ( gdasac_suggestions_with != 'posts' ) { gdas_ac_categories(el); } } function gdas_ac_create_li($type,$data){ var output = ''; var history = ''; var $delete = ''; if(gdasac_li_type != ''){ if($type=='category'){ output += '
  • Categories
  • '; }else if($type=='listing'){ output += '
  • Listings
  • '; }else{ output += '
  • '+$type.charAt(0).toUpperCase() + $type.slice(1)+'
  • '; } } gdasac_li_type = ''; if($data.history){ history = ' '; $delete = ' '; }else if($type == 'category' && $data.fa_icon){ var icon_color = $data.fa_icon_color ? '#fff' : ''; history = ' '; }else if($type == 'category'){ history = ' '; }else if($type == 'listing' && $data.featured_image.thumbnail){ history = ' '; }else{ history = ' '; } if($type=='category'){ if($data.area){$data.city = $data.area;} output += '
  • '+history+''+ $data.name + ''+$delete+'
  • '; }else if($type=='listing'){ if($data.area){$data.region = $data.area;} output += '
  • '+history+''+ $data.title.rendered + ''+$delete+'
  • '; } return output; } function gdasac_click_action($type,$url){ if($type=='category'){ // add location /*if(geodir_search_params.autocompleter_filter_location) { var current_location = geodir_params.location_url; $location_string = current_location.replace(geodir_params.location_base_url, ""); $url += $url.endsWith("/") ? "" : "/"; $url += $location_string; }*/ window.location = $url }else if($type=='listing'){ window.location = $url } }