' + '
' + '
' + '' } ); container.on('', function(){ if (slid) return; var label = container.find('.sabai-directory-search-radius-label strong').text(radius.val()); container.find('.sabai-directory-search-radius-slider').slider({animate: true, min: 0, max: 100, value: radius.val(), step: 1, slide: function(e, ui){ radius.val(ui.value); label.text(ui.value); }}); if (navigator.geolocation && (document.location.protocol === 'https:' || document.location.hostname === 'localhost') ) { var geocode = function (trigger) { if (trigger) SABAI.ajaxLoader(trigger); if (!geocoder) geocoder = new google.maps.Geocoder(); navigator.geolocation.getCurrentPosition( function (pos) { geocoder.geocode({'latLng': new google.maps.LatLng(pos.coords.latitude,pos.coords.longitude)}, function(results, status) { if (trigger) SABAI.ajaxLoader(trigger, true); if (status == google.maps.GeocoderStatus.OK) { location.val(results[0].formatted_address).typeahead('val', results[0].formatted_address).effect('highlight', {}, 2000); $('#sabai-content .sabai-directory-search-location') .find('input[name="center"]').val(results[0] + ',' + results[0].geometry.location.lng()).end() .find('input[name="address_type"]').val(''); } }); }, function (error) { if (trigger) { SABAI.ajaxLoader(trigger, true); } SABAI.flash(error.message, 'danger'); SABAI.console.log(error.message + ' (' + error.code + ')'); }, {enableHighAccuracy:true, timeout:5000} ); }; container.find('.sabai-directory-search-geolocate').show().click(function(e){ e.preventDefault(); geocode($(this)); }); } slid = true; }); }); $('#sabai-content .sabai-directory-search-submit .sabai-btn').click(function(e){ var $this = $(this), form = $this.closest('form'); e.preventDefault(); form.find('[placeholder]').each(function() { var input = $(this); if (input.val() == input.attr('placeholder')) { input.val(''); } }); var submit = function(){ SABAI.ajax({ type: 'get', container: '#sabai-content', target: '.sabai-directory-listings-container', url: form.attr('action') + '&' + form.serialize(), pushState: true }); }; var center = $('#sabai-content .sabai-directory-search-location input[name="center"]'); if (location.val() && $('#sabai-content .sabai-directory-search-location input[name="address_type"]').val() === '' ) { if (!geocoder) geocoder = new google.maps.Geocoder(); geocoder.geocode({address: location.val()}, function(results, status) { switch (status) { case google.maps.GeocoderStatus.OK: center.val(results[0] + ',' + results[0].geometry.location.lng()); submit(); break; case google.maps.GeocoderStatus.ZERO_RESULTS: alert('Invalid location'); break; default: alert(status); } }); } else { center.val(''); submit(); } }); });
Sarsfield Rd, Townparks, Ballinasloe, Co. Galway, Ireland
610 Redmires Rd, Sheffield S10 4LJ
Chapel of Barras, Stonehaven AB39 2UE, UK
Chapel of Barras Farm Bed & Breakfast is an excellent choice for travellers visiting Stonehav...
Brusselsestraat 14, 1840 Londerzeel, Belgium
1 Chemin du Creux, 52160 Chalancey, France
Santon Downham, Brandon IP27 0TX, United Kingdom
The farm itself is situated down a one mile tree-lined drive, with the farmhouse being located in...
Charlotte St, Graigue, Carlow, R93 P953, Ireland
179 Rue de Luxembourg, 7540 Rollingen, Luxembourg
11 High St, Coldstream TD12 4AP, UK
+44 1890 882830+44 1890 882830
The Castle Hotel is on the main street of Coldstream and has basic accommodation, good home-cooke...
Grange, Linton in Craven, Skipton BD23 5HH, UK
Accommodation in the Yorkshire Dales at Linton Laithe, luxury Bed and Breakfast in the Yorkshire ...
Dodges Oast/Little Dodges Curtisden Green Goudhurst Cranbrook, Kent TN17 1LA
If you are looking for “Holiday Cottages in Kent” or “Self Catering Accommodation in Kent” then w...
Le Guichard Grand Brassac 24350 Dordogne France
The Cycling Dordogne Cycling offers centre based guided cycling holidays providing a choice of...
26 Renfrew Drive, Hawthorndene South Australia 5051, Australia
Slow Tours offers over 400 of the best tours in Europe for unique experiences, active or rela...
Staveley Mill Yard, Back Ln, Staveley, Kendal LA8 9LR
Kea-Lew Business & Retail Park, Mountrath Rd, Kylekiproe, Portlaoise, Co. Laois, Ireland
At Race Right Cycles in Portlaoise, Co. Laois, we have everything that you need for your prized p...
Cleve Terrace, Ilsham Rd, Torquay TQ1 2NS, UK
All of our cottages are in exclusive, quiet areas of Torquay. Our holiday cottage in Wellswood, R...
Unit 3, New Rd, Commons East, Kilcock, Co. Kildare, W23 D7Y5, Ireland
Two Wheels is your One-stop bicycle service in Kilcock, Co. Kildare. It has been established to g...
Ashburton Rd, Newton Abbot TQ12 6JW, UK
The Dartmoor Halfway Inn was recently lovingly transformed from a derelict pub to a vibrant hub, ...
Van Oldenbarneveltstraat 132, 3012 GW Rotterdam, Netherlands
Simple Bike Store has started it’s roots in 2011 when company was founded in Latvia and rel...
Showing 1 - 20 of 116 results
Exit mobile version