- A Google Map with company logo and travel directions using jQuery
Joor Loohuis, 2010-09-19
- Towards a better HTML textarea
Joor Loohuis, 2010-02-12
With webapplications becoming ever more important, you would think that the one control we have for entering larger amounts of text would be one of the points of attention. Unfortunately, the humble textarea has remained just that for years, humble.
- Passing complex data from Smarty to JavaScript
Joor Loohuis, 2009-11-13
Modern web applications frequently need to process complex data with JavaScript. Typically, these data are requested separately through AJAX calls, but if the data do not change frequently, it is probably easier to output JSON in the (X)HTML, and let JavaScript take it from there. The Smarty template engine makes this more or less trivial.
- A Google Map with company logo and travel directions
Joor Loohuis, 2009-08-24
A Google Map is a nice attribute for a company website. In the blink of an eye visitors can see where you are located. The posibility for a prospective customer to get travel directions is a very useful addition. Using the company logo to indicate the exact location adds the finishing touch. All this is actually quite simple to set up, as this article shows.
- Using OpenStreetMaps with the Google Maps API
Joor Loohuis, 2009-08-06
It is relatively easy to add a new map type to Google Maps, provided you have access to a tile server. As an example, we use the OpenStreetMaps data set to display a map that doesn't have all the usage restrictions that the regular map types have.
- Fighting form spam with a little JavaScript
Joor Loohuis, 2009-06-12
Form spam is one of the many forms of abuse your website may fall victim to. Preventing automated form submissions is often done with captchas, but there are effective ways of preventing garbage in your websites and your databases, using nothing but a little JavaScript.
- Prototype: selecting elements by id or name in Internet Explorer
Joor Loohuis, 2009-04-21
Selecting HTML elements by id using Prototype turns out to have a little quirk in Internet Explorer 7 and earlier, where the selected element may not have the specified value in the id attribute, but the name attribute in stead.