Tech Thought

Tech tips, hints, and general musings. PHP, Perl, Mysql, Javascript, AJAX, JSON, Linux, Mac OSX

Entries Tagged ‘prototype.js’

Speeding up prototype.js and scritaculous

We use prototype.js and scriptaculous for a number of our sites and applications - they provide great foundations with which to build advanced javascript applications. However they can be fairly large and take a while to download.
As I’ve previously mentioned on this blog, you can get pre-shrunk versions of both prototype and scriptaculous which [...]

Leave a Comment

PDF Version of API Reference for Prototype.js

I use the prototype.js javascript framework daily and as a result having an update-to-date API reference is essential. Thankfully, you can view the entire API online at the prototype.js website in an easily accessible form.
Personally I find PDFs a bit easier to manage for API references.    Josh Clarke at GlobalMoxie has put together [...]

Comments (1)

Landcare Australia CarbonSmart Program Launched

Landcare Australia today launched their CarbonSmart website allowing Australians to purchase Carbon Offsets directly from Landcare:

I was involved in the development of the calculator that is used to determine your CO2 emissions.  It utilises a number of Web 2.0 technologies, mainly AJAX using prototype.  Glenn McGrath (aussie cricket legend) was involved in promoting the project [...]

Leave a Comment

ModalBox: Modal Dialog Boxes Based on Prototype.js

If you’ve ever used the Sustainability Victoria calculator, Administered Joomla or poked someone on Facebook, then you might wonder how they create those nice modal dialog boxes that have replaced the ugly javascript confirm() in most modern web applications:

Well, thanks to prototype.js and ModalBox now you can. ModalBox is a javascript library that helps you [...]

Leave a Comment

How-To: Speed up page loading - compressed prototype.js

To help speed up the load time of your prototype.js and scriptaculous pages, you can now download fully compressed versions of all the required files from the ‘prototype-core’ group on google thanks to John David-Dalton (original post on Ajaxian):
http://groups.google.com/group/prototype-core
This reduces the size of prototype and scriptaculous to 64k total! Be sure to [...]

Leave a Comment

Javascript OO: Scope of ‘this’ variable when using prototype.js

If you write a fair bit of OO javascript and also utilise AJAX through one of the many frameworks (I personally use prototype.js most of the time) you may have come across the following issue:

var myobj = new Object();

myobj.Methods = {
result: 0,
callAjax: function() {
[...]

Comments (2)

Help Us Help the Earth Campaign goes live!

I’ve been working on a water calculator for the past few weeks and it has just gone live! Check it out here:
http://www.helpushelptheearth.com.au/
This is a partnership between Landcare Australia, Banrock Station Winery and WSP. The water calculator helps Australian’s determine their water usage, potential water savings and determine how much they water they could [...]

Leave a Comment