PDA

View Full Version : collapse block



GTDae
05-25-2009, 08:55 PM
Hi

First off, I'm new to any kind of programming and my eyes still look over each other every time I open a script up. But I'm trying to figure some stuff out to help me make some nice websites.

Now for my question.

I've played around with the Animated Collapsible Div (http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm) script, but my application for it is a bit different to the way it is done in the example. It might be a bit stupid but for some reason I thought it might be quite cool to have a website run off one single HTML page. So I'm using this script to alternate Div's like you would alternate HTML pages.

Now my question is; is there anyway for me to lock a div so that when you click on the relevant button that it doesn't collapse the div when it is already expanded? There is something about a block state in the links but i cant seem to get it to work that way.

Any help?

Thanx!

G