Friday, 29 February 2008

googleDrive

A little project i've been working on is now live!

googleDrive is a little google maps mash up that allows you to drive a little car around on the maps.

http://www.phatfusion.net/googledrive

I'm also planning a doing another version called googleRacer that will allow you to race on predefined circuits against the clock, for example the paris ringroad. I'm also thinking of doing this one with the sat view images instead.

comments and suggestions welcome.

Tuesday, 12 February 2008

opening links with imageMenu

To open links that are used in imageMenu, simply remove the onClick option:

var myMenu = new ImageMenu($$('#imageMenu a'),{
openWidth:310,
border:2
});

I've used the onClick option in my example code to demo some of the other features of the menu.

Thursday, 7 February 2008

imageMenu update

The image menu script has been updated to fix a small bug. You probably won't notice it.

anyway its now at version 2.2

Tuesday, 5 February 2008

auto open MultiBox onDomReady

I've had this request a few times now, so i thought i'll post the code.

It's very simple. Just call the open function and pass the element in:

var box = {};
window.addEvent('domready', function(){
box = new MultiBox('mb', {descClassName: 'multiBoxDesc'});
box.open($('mb1'));
});

Monday, 4 February 2008

MultiBox - compatibility with mootools 1.2beta

Here is what you need to do to make the MultiBox script compatibile with mootools 1.2 beta 2.
I'm not releasing these updates in a script as i want to rewrite it when 1.2 gets released, so i can use all the nice new features.

Replace the following:

  • Fx.Styles with Fx.Morph
  • transition: Fx.Transitions.sineInOut with transition: Fx.Transitions.Sine.easeInOut
  • Class.empty with new Class()
  • this.containerEffects.stop() with this.containerEffects.cancel()

Thursday, 31 January 2008

Multibox updates!

lots going on in this one!
  • onOpen / onClose optional functions have been added.
  • external urls and querystring parameters are now supported.
  • it auto detects the format (ie. jpg, flv, htm, etc) but now you can also specifiy what format the item should be. This will allow you to add querystring parameters to a jpg or flv for example.
  • a loading graphic has been added.
  • the replaying flv bugs has been fixed.
  • bugs with boxes closing and leaving residue have been fixed.
also zip files are now available for downloading for all scripts.

multibox is now at version 1.1

Monday, 28 January 2008

Validate updated

A few bugs have been fixed in the Validate script. It now submits the form! ;)

now at version 2.1