.leaving, .leav-link, .arrival, .arrival-link { background: red; }
Support leaving United Kingdom
Leaving United Kingdom can be challenging. By having a professional relocationconsultant by your side, you’ll save time and money.
Support arriving in Netherlands
Transfer to the Netherlands with zero hassle. Our experts will help you to get settled in and feel at home in the shortest time.
var from = ['Belgium','Germany','Ireland','Italy','Netherlands','Switzerland','United Kingdom','Other country']; var to = ['Belgium','Germany','Ireland','Italy','Netherlands','Switzerland','United Kingdom','Other country']; var linkLeav =['https://packimpex.zmallplanet.com/departure-support/belgium','https://packimpex.zmallplanet.com/departure-support/germany','https://packimpex.zmallplanet.com/departure-support/ireland','https://packimpex.zmallplanet.com/departure-support/italy','https://packimpex.zmallplanet.com/departure-support/netherlands','https://packimpex.zmallplanet.com/departure-support/switzerland','https://packimpex.zmallplanet.com/departure-support/uk','https://packimpex.zmallplanet.com/departure-support/another-country'] //离开国家的url var linkArrival =['https://packimpex.zmallplanet.com/arrival-support/belgium','https://packimpex.zmallplanet.com/arrival-support/germany','https://packimpex.zmallplanet.com/arrival-support/ireland','https://packimpex.zmallplanet.com/arrival-support/italy','https://packimpex.zmallplanet.com/arrival-support/netherlands','https://packimpex.zmallplanet.com/arrival-support/switzerland','https://packimpex.zmallplanet.com/arrival-support/uk','https://packimpex.zmallplanet.com/arrival-support/another-country']//目的地国家的url function getQueryString(name) { var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i'); var r = window.location.search.substr(1).match(reg); if (r != null) { return unescape(r[2]); } return null; } var countryFrom = getQueryString("countryfrom"); var countryTo = getQueryString("countryto"); $('.leaving').html(from[countryFrom]); //来的国家 $('.arrival').html(to[countryTo]); //目的地国家 $('.leav-link a').attr('href',linkLeav[countryFrom]); $('.arrival-link a').attr('href',linkArrival[countryTo]);