PDA

View Full Version : More/Less Expand Script



airpolgas
02-16-2005, 11:42 PM
I am looking for a script that would expand the document when a link is clicked. The closest I've found is the switch content script.

http://dynamicdrive.com/dynamicindex17/switchcontent.htm

The problem I have with the above script is the fact that the link stays. A more accurate behavior I was going for is being utilized by this site:

http://www.klipsch.com/product/product.aspx?cid=770

If you click on the word "More", the text expands, and the word "More" is replaced by "Less," in case you want to revert back to it's original size.

I believe the Klipsch site is using ASP, but is there a DHTML script that does the same thing?

Thanks.