Examples

"chart_webfx_test"

Description

Test of the Chart Webfx JavaScript charting module, by Emil A Eklund. References the chart_webfx_test_js snippet, where the actual JS code to generate the charts is.


Run | View code »


"uo_google_translate"

Description

An exact usage of the uOGT API, a.k.a. the “unOfficial Google Translate API, by Haochi Chen. It was released by Haochi under the New BSD License.


Use by calling unofficial_google_translate($text,$lp) where $text is the string to translate and $lp is a language pairing in the format “en|de” for english-german, “en|es” for english-spanish.


Try for example: “echo unofficial_google_translate(“Hello world.”,”en|es”);


Run  (can only be called from another snippet) | View code »

"geocode_form"

Description

Geocodes a location provided in a form, and includes a Google Map. Uses geocode_fn


Run | View code »



"3d_bars_demo"

Description

Example of using the 3d_bars snippet; displays a series of 3d-like bars for graphing purposes.


Run | View code »