I recently tried installing Airtight’s SimpleViewer Gallery on one of my client’s sites. I liked it because I could upload the photos to flickr and it will automatically generate thumbnails and add everything to the gallery.

One Problem. SimpleViewer didn’t work at all in FireFox.

Here is how I fixed the SimpleViewer FireFox Bug

How To Make SimpleViewer Work in FireFox

I’m surprised it didn’t work out of the box.

1) Take the Following Script and change the 100% values to a number such as 960 and 600. Firefox needs an actual number, not a relative value. Let me know if this works for you! It worked for me!

<script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js”></script>
<script type=”text/javascript”>
var flashvars = {};
flashvars.galleryURL = “gallery.xml”;
var params = {};
params.allowfullscreen = true;
params.allowscriptaccess = “always”;
params.bgcolor = “222222″;
swfobject.embedSWF(“simpleviewer.swf”, “flashContent”, “100%“, “100%“, “9.0.124″, false, flashvars, params);
</script>
Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Print
  • Add to favorites
  • email
  • LinkedIn
  • MySpace
  • Netvibes
  • StumbleUpon
  • Twitter
  • Yahoo! Bookmarks
  • Yahoo! Buzz
  • RSS
  • Technorati
  • Tumblr

Related posts:

  1. Working Facebook Canvas APP (Iframe_ Auto-Height Resize)