Reflect-o-matic 2 now works in Opera

March 5th, 2008

For some reason, Opera seems to handle the onload event for images differently from other browsers - I think it called onload() on an image which I had created in the DOM (and hence was already cached) but not yet added to a document. Or it didn’t call onload() on an already loaded image.

Anyway, something along these lines sorted it:

if (window.opera && image.complete) {
image.onload();
}

So Opera fans can now use Reflect-o-matic version 2! There still seems to be some issues with the image search in Opera but thats a minor thing. Now just to get it to work in Internet Exploder…

  1. Reflect-o-matic
  2. Reflect-o-matic v2
  3. Reflect-o-matic Bookmarklet
  4. Cross Browser Image Reflection
  5. Opera-2dgame Canvas Context

Trackback URI | Comments RSS

Leave a Reply