This is strange. I set up the script according to the instructions on the demo page with no modifications. Worked fine in IE but, I had the same problem you had with one of the divisions causing a big gap to occur in FF. I looked through the code and tried a few things. This worked - I put one other division around the divisions that have the class of 'gallerycontent' and set its overflow to hidden, like this (code added to the demo is in red):
Code:
<div style="overflow:hidden">
<div class="gallerycontent" subject="What is JavaScript?">
JavaScript is a scripting language originally developed by Netscape to add interactivity and power to web documents. It is purely client side, and runs completely on the client's browser and computer.
</div>
<div class="gallerycontent" subject="Java & JavaScript Differences">
Java is completely different from JavaScript- it's more powerful, more complex, and unfortunately, a lot harder to master. It belongs in the same league as C, C++, and other more complex languages.
</div>
<div class="gallerycontent" subject="What is DHTML?">
DHTML is the embodiment of a combination of technologies- JavaScript, CSS, and HTML. Through them a new level of interactivity is possible for the end user experience.
</div></div>
I even doubled the number of 'gallerycontent' divisions and it was still fine. It should work for you too.
Bookmarks