Skip to main content
Karen_Little
Inspiring
April 13, 2013
Answered

Clickable expanding/contracting text area

  • April 13, 2013
  • 1 reply
  • 987 views

I'd like to add clickable expanding/contracting text areas to my pages, as in the default is showing the short description, and clicking shows the long one.

Is there any tag in ColdFusion that facilitates that? (I'm a bit rusty on my coding skills, as you can tell . . .)

Karen

This topic has been closed for replies.
Correct answer Dan_Bracuk

You would have to use javascript.

1 reply

Dan_BracukCorrect answer
Inspiring
April 13, 2013

You would have to use javascript.

Karen_Little
Inspiring
April 13, 2013

Thanks, Dan - I found these sites to supply the needed javascript. I'm not going to drive my application with a database, but I can invision it being done in CF pretty easily:

 

http://interestingwebs.blogspot.com/2011/05/show-or-hide-multiple-divs.html


http://interestingwebs.blogspot.com/2009/01/how-to-show-and-hide-html-elements.html


http://www.cssnewbie.com/example/showhide-content/