This is really a strange one. I kept thinking that there was something wrong with the markup, but I can't see anything. You do have the animatedcollapse.js file associated with the page twice (two external script tags pointing to it), but (though it should be done anyway) removing one of them didn't improve things. I put the pets on the page to test your assertion about them, and they worked properly as you said, in fact they worked properly right along side group=themegroups which still worked wrong. I made group=themegroups part of the pet group, then none of it worked right.
So I went back to the start, minus the extra external tag to animatedcollapse.js, and made up a fudge (additions highlighted):
Code:
. . . llapse.addDiv('scrap', 'fade=0,speed=0,group=themegroups,hide=1')
animatedcollapse.addDiv('flowerthemes', 'fade=0,speed=0,group=themegroups,hide=1')
animatedcollapse.addDiv('largepattern', 'fade=0,speed=0,group=themegroups,hide=1')
animatedcollapse.addDiv('bubble', 'fade=0,speed=0,group=themegroups,hide=1')
animatedcollapse.addDiv('solidclub', 'fade=0,speed=0,group=themegroups,hide=1')
animatedcollapse.addDiv('smallpattern', 'fade=0,speed=0,group=themegroups,hide=1')
animatedcollapse.addDiv('camo', 'fade=0,speed=0,group=themegroups,hide=1')
animatedcollapse.init()
animatedcollapse.mythemegroups = ['featured', 'mpathemes', 'solid', 'pallette',
'spring', 'summer', 'autumn', 'thewinter', 'holidays', 'wed', 'babykid',
'sports', 'scrap', 'flowerthemes', 'largepattern', 'bubble', 'solidclub',
'smallpattern', 'camo'];
animatedcollapse.fudge = function(){
for(var i = 0; i < animatedcollapse.mythemegroups.length; ++i){
document.getElementById(animatedcollapse.mythemegroups[i]).style.display = 'none';
}
}
</script>
Then wherever there was (and similar):
Code:
href="javascript:animatedcollapse.show('featured')"
I made it like:
Code:
href="javascript:animatedcollapse.fudge();animatedcollapse.show('featured')"
That took care of things in Firefox, and probably will do so in others as well.
I'm not real happy with it. I feel like I must be missing something. But there are so many other scripts on the page. One or more of them might have something to do with it. It would be very hard to tell.
Bookmarks