Then I was told that the plugin as I built it wasn’t working with Internet Explorer. I booted up Windows and came up with a solution to this problem that I want to share here: don’t embed SmoothGallery and Prototype on the same page.
SmoothGallery and Prototype
I did some tests and found out that SmoothGallery doesn’t work with Prototype at all – if you’re using Internet Explorer. You can download the tests here: Just open the HTML files and check whether the gallery is present.
Have a look at my results:
If you try to use SmoothGallery with Prototype enabled in Internet Explorer the gallery won’t be rendered; I have tested this with version 6 and 7 of IE. No problems with Firefox or Safari though.
There’s another thing I noticed: if you change the order of the
script entries in the HTML header IE will display the images of the gallery in two different ways. Either you’ll be able to see all pictures in the gallery or you’ll just see the first one.
Another observation is that SmoothGallery breaks apart if you insert an
a tag with the
name set to options. Once you’ve inserted such an anchor IE won’t render the gallery; again no problems with Firefox or Safari.
If you want IE users to watch a smooth gallery on your website it seems that there’s no other way than to get rid of Prototype – remove it at least from the specific page you’re using a SmoothGallery on.