Please Note: This widget example page cannot be loaded from a localhost.
Localize Widget Example 1 (Horizontal Results)
Description
This JavaScript widget will fetch local stores/locations based on a web user's location. The widget code will automatically detect the web user's browsing device (including GPS enabled mobile devices) and attempt to fetch the most accurate location.
If the widget's unable to obtain a location via the Geolocation API, Google Gears API or GPS API (if mobile device) it will fetch a location based on IP. If no results are found or the widget is
unable to obtain the web user's location the widget is automatically hidden. An example use of this widget could be to display locations to the web user on your main page without making the web user visit the store locator page.
Source Code
Localize Widget Example 2 (Vertical Results)
Description
This JavaScript widget will fetch local stores/locations based on a web user's location (same as widget 1 except results displayed horizontal). The widget code will automatically detect the web user's browsing device (including GPS enabled mobile devices) and attempt to fetch the most accurate location.
If the widget's unable to obtain a location via the Geolocation API, Google Gears API or GPS API (if mobile device) it will fetch a location based on IP. If no results are found or the widget is
unable to obtain the web user's location the widget is automatically hidden. An example use of this widget could be to display locations to the web user on your main page without making the web user visit the store locator page.
Source Code