lakp
08-26-2006, 07:18 PM
1) Script Title: Switch content script
2) Script URL (on DD): http://dynamicdrive.com/dynamicindex17/switchcontent.htm
When i click on one item, it expands, and remains expanded when i click the next item, and so on a so forth. How can i get the first item to detract when i click the next item i want expanded?
for example, when i click the first question on there "What is JavaScript?", it expands
then im done reading it, and want to see the next question, so i click on the next question "Difference betwen Java & JavaScript?", and it expands, but when this expands, i want the previous one to detract.
thanks, all help greatly appreciated!!
lakp
2) Script URL (on DD): http://dynamicdrive.com/dynamicindex17/switchcontent.htm
When i click on one item, it expands, and remains expanded when i click the next item, and so on a so forth. How can i get the first item to detract when i click the next item i want expanded?
for example, when i click the first question on there "What is JavaScript?", it expands
then im done reading it, and want to see the next question, so i click on the next question "Difference betwen Java & JavaScript?", and it expands, but when this expands, i want the previous one to detract.
thanks, all help greatly appreciated!!
lakp