Loading...
Feedback
Blog

Thanks to Mike, we have just updated at LonelyDrops the latest changes in the list of ISO countries.

Although version 1.0 of LonelyDrops was initially intended to be used with drop-down lists on SELECT elements, here we are going to describe additional ways to manipulate the lists to get other screen presentations. In this case, we have prepared a sample with the list of countries organized by continent with links on each country.

LonelyDrops has available a set of Javascript arrays containing the data stored in each list. The format of this array will never change in LonelyDrops version 1.0 (and later versions will not affect in any way the deployments with version 1.0 of LonelyDrops)

The secret to getting other presentations beyond SELECT dropdown lists is to use arrays that can be extracted directly from data files containing the lists. See an example here of the array format,

  http://www.lonelydrops.com/drops/1.0/list/en/countries

And here is an example with a short Javascript manipulating these lists to get other screen presentations of the data stored in LonelyDrops.

  http://www.lonelydrops.com/dp/local/example8.void

From a user's request, we have added a new drop-down list within the LonelyDrops database.
In this case, we added the list of towns in Spain, which in turn can be linked (if needed) with the list of Spanish provinces.

In the following link, you may find an example of the new list of towns combined with the list of provinces.

http://www.lonelydrops.com/dp/local/example7.void

For now, the LonelyDrops API does not allow linking and filtering more than two consecutive lists, which means that the three linked lists of autonomous communities, provinces and towns would not conduct a proper filter on the final list.

We have now included two new lists in LonelyDrops for Spanish autonomous communities and provinces.

Codes for these lists are: spain_autonomies and spain_provinces

Here's an example of use combining both lists:

http://www.lonelydrops.com/dp/local/example6.void

Lonelydrops logo

After a frantic summer, finally we found the time to prepare the launch of a new web service so everybody can make use of it. We have been using the service in conductiva for some months in our projects and now we think it's time to present it to the public.

The service is called lonelydrops and its main goal is to help people to create multi-language dropdown lists (such as lists of countries, timezones, continents, etc.). Neither databases nor special complicated configurations are needed to build these lists.

The web service has been designed to be easy to use by inserting a few lines of Javascript in any html page and with no need to have a database-enabled web server.

To have a better understanding of how the service works, we have prepared a website where you can find more information and see some practical examples.

   http://www.lonelydrops.com

© 2014  • General website conditions  • Terms and Conditions for LonelyDrops API Service