• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Clickable expanding/contracting text area

Contributor ,
Apr 13, 2013 Apr 13, 2013

Copy link to clipboard

Copied

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

Views

826

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Apr 13, 2013 Apr 13, 2013

You would have to use javascript.

Votes

Translate

Translate
LEGEND ,
Apr 13, 2013 Apr 13, 2013

Copy link to clipboard

Copied

You would have to use javascript.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Apr 13, 2013 Apr 13, 2013

Copy link to clipboard

Copied

LATEST

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/

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation