javascript


Notice: Trying to get property of non-object in /web/htdocs/www.barattalo.it/home/wp-content/themes/appunti/minibots.class.php on line 982

Notice: Trying to get property of non-object in /web/htdocs/www.barattalo.it/home/wp-content/themes/appunti/minibots.class.php on line 982

Notice: Trying to get property of non-object in /web/htdocs/www.barattalo.it/home/wp-content/themes/appunti/minibots.class.php on line 982

Decimal Degrees conversion and distance of two points on google map

Those two functions are usefull when you’re making Google Maps applications: When you show the coordinates of a point, it’s…

December 26, 2009

Ruler for Google Maps v3 to measure distance on map

I’ve made a ruler to measure distances on a Google Map V3. The file Ruler.js contains a two function: one…

December 19, 2009

Mini gallery/slideshow with PHP and JQuery

Sometimes I’ve had to quickly put in a page a simple slideshow, the first times I’ve searched a lot around…

December 13, 2009

Clustering many markers with Google Maps v3

I’ve found this blog where Matthias Burtscher converted the Marker Cluster (like the Phoogle2) for Google Maps API v.3. Since…

Click links with JavaScript

If you want to click on objects, anchors, table cells or any other html element to emulate the javascript behaviour…

November 18, 2009

Set “write here” on input type text?

If you are using JQuery framework and you want to set up the default value of some text box in…

November 17, 2009

How do I print the elements of an object in Javascript?

This function is similar to the print_r php function: it runs over the elements of an object recursively and put…

Full Screen GControl for Google Maps

Use with phoogle modified class: (see an example here) To use it in the phoogle modified class just turn it…

November 13, 2009

How do I get the value from a combo in Javascript?

If you don’t use any javascript framework such as jquery.js or prototype.js the combo object isn’t so easy to use,…

OnKeyUp Fix Alphanumerical Chars

When you have an html form and you want only alphanumerical [a-z0-9] chars in your input, you can use this…

November 10, 2009