- This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- The forum ‘JavaScript’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › JavaScript › Help with Div Hide/Show
Hi all,
I’ve been trying to get a simple fade and appear effect with some small image galleries using Scriptaculous and Prototype. I can get the effect working when I click through the galleries in numerical order, but once they’re in random order they stack on top of one another. I have tried a number of fixes from around the Internet, but I’m afraid that my Javascript experience is minimal at best.
I know why the method that I’m using is wrong, but I just can’t figure out what the alternative is.
Any help would really be appreciated.
Here is a Reduced Test Case:
http://web.me.com/seanosullivan/
This is the inept code:
Gallery One
The Second Gallery
Imageset No. Three
Fourth Series
I figured it out; I didn’t so much find a fix as extend the problem to suit my needs.
I don’t know if that’s a good thing.
Wow, nearly 1,000 views to this topic in the four days since I posted. I guess a lot of people are having this problem… For what it’s worth, the link below has my very rough and ready solution. I know it’s not semantically perfect, but it works.