http://dynamicdrive.com/dynamicindex17/animatedcollapse.htm I want a script with the same function. The problem with this script, is that it uses ID's to reference what div expands/contracts (basically, only 1 div can expand or contract) I want to use it in a situation where multiple divs expand/contact (so basically, instead of using ID it uses class) I don't care if it doesn't have the animation, even if it just goes *bam* and displays. Let me know your price if you can edit this script, or find me a free script that does this and I'll send $10 your way
That's good too. I think it would be very easy. If class="answers" then display:hidden. Then when the "reveal" button is clicked, it sets display:visible For extra clarification: This is for a quiz, so there are questions and answers. When the page is loaded, all the answers should be invisible on the page (yes, they will be in the source still) When the reveal button is clicked down the bottom of the page, all the answers appear.
sorry, i meant not EASILY accessible through js... give me a little mroe time and ill get back to you with something
seems the only solution i can find is to swap the css files... like have them identical except for the hide/show part...