Im new to Web design but i’m loving it. Lately i’ve been playing around with some Javascript accordion and stumbled upon www.scriptocean.com. There I got a program which makes an accordion for me that looks like this one: www.scriptocean.com/accordion.html
So with this program i got an accordion as a .js file.
So my question is , how would I go about implementing this Accordion into a div tag or basically, how do i control it’s positioning on the site. This is probably a question with a simple answer, but i’m a beginner and i’m hoping that someone here could help me out.
Positioning something like that is pretty much the same as positioning and element and uses the same rules and techniques.
What happens with tools like that is that you’re putting some bit of code into your site and it is using javascript to manipulate what is there.
So if it is a list or a set of nested divs or a combination of li and a tags (which should be obvious given the example code), you just go ahead and place that in your html and make sure it has the right class or id.