' + '
' + '
' + '' } ); 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(); } }); });
Cycles UK Braintree Store, 11a Great Square Braintree, Essex, CM7 1TX
Cycles UK Braintree is located in the centre of town on Great Square. It is a well-established bi...
Unit 5, Soar intu Braehead, Kings Inch Road Renfrew PA48XQ
Whether you are new to cycling or a seasoned veteran, you are sure to find everything you need at...
Rue Hoffmann 3, 1202 Genève, Switzerland
30 South Colonnade, London E14 5EZ, United Kingdom
After a major refurbishment, the Canary Wharf store has now fully reopened, so whatever cycling-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...
Staveley Mill Yard, Back Ln, Staveley, Kendal LA8 9LR
4 Lochy Rd, Inverlochy, Fort William PH33 6NG
Great rental, honest sales and the best accessories Nevis Cycles started in the 1980s in a shed a...
Houldsworth Mill, Unit 12 2nd Floor Shopping Centre, Houldsworth St, Stockport SK5 6DA
Unit 2, 121 Chesterton Road Cambridge CB43AT
Whether you are new to cycling or a seasoned veteran, you are sure to find everything you need at...
5A Myrtlefield Shopping Centre, Myrtlefield, Aviemore PH22 1SB
Flexible personal shopping appointments/consultations for bike sales are only available out with ...
93 Rue du Bourg, 74110 Morzine, France
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...
Sarsfield Rd, Townparks, Ballinasloe, Co. Galway, Ireland
Bridge St, Gateshead NE8 2BH
Lewins Mead, Bristol BS12PY
Whether you are new to cycling or a seasoned veteran, you are sure to find everything you need at...
Chapel Street, Deanscurragh, Longford, N39 RP73, Ireland
Bicycle sales, repairs, clothing & nutrition
Cycles UK Watford Store,484-486 St Albans Road,Watford,Hertfordshire,WD24 6QU
Cycles UK Watford stocks bikes from the two biggest cycle brands in the world; Trek and Specializ...
113-114 High Street, Brentford TW8 8AT, United Kingdom
Whether you are new to cycling or a seasoned veteran, you are sure to find everything you need at...
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...
Tanyard Ln, Tullamore, Co. Offaly, Ireland
Showing 1 - 20 of 65 results
Exit mobile version