June 18, 2014 - 8:58pm — Waning-Sun
Would anyone be willing to share the code or explain to me how to get extended divs to work for more than one div? I have an extended div code, but I've never been able to figure out how to get it to function for more than one div, if that makes sense.
I feel like I've seen this code before floating around, but I can't seem to find them now. I appreciate any help anyone has to give.
Unfortunately the only coding I can get to work is HTML; javascript and CSS I can play with if I'm already given the code.
Thank you for the help and have a good day!
You mean the accordion codes?
Kind of like the accordion
Oh. Those use an id instead
For example, if your first one is
div id="One"
you should make your next one something else, such asdiv id="Two"
ordiv id="supercalefragilisticexpialidocous"
If you want to do it with two
You can do the visible/not visible div thing with javascript pretty easily and just copy this stuff with minor changes if you want it. That works on an individual basis with just one thing where you click a link and the thing will change from invisible to visible and vice versa but as long as you change Ids in the HTML and Javascript you can use it as many times as you want on one page.
Ohh okay, I'll give that a
Edit: Ninja'd by Alison.
Thank you! I'll give that a try too.
I appreciate the help!