multiBox update – Safari iframe fix.

The multiBox script has been updated to include a fix for the iframe caching issue in Safari.

The problem was happening when you used the browser back button, then it didn’t matter which links you clicked/iframes viewed it would always show the content for the first item.

Well the fix was to assign a dynamic id to the iframe each time it was called, therefore forcing the browser to treat it as different and not cache the src.

this fix is in version 1.2

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://dev.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.

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.

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

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′));
});

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()

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

Validate updated

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

now at version 2.1

imageMenu updated (bug fixes)

imageMenu’s been updated with a couple of bug fixes.

Now at version 2.1

Initial Feedback & Development plan

Hi to anyone reading this.

Initial feedback of the newly released and updated scripts has been positive but there have been a few requests. So here is what i’m thinking of doing…

imageMenu.

  • option to reveal the images from the center/left/right.

slideshow.

  • option to set the direction for the transition for wipe/slide effects for Next/Previous functions.

multiBox.

  • allow for quicktime options
  • allow for flash options
  • support for querystring parameters
  • support for external urls

if you have any other requests please leave a comment.