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

Read More buttons that expand hidden text

New Here ,
Jan 19, 2016 Jan 19, 2016

Copy link to clipboard

Copied

Sorry if this is a basic question. How do you create the [Read More] buttons that expand hidden text in a paragraph in Dreamweaver CC 2015?

Views

11.3K

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

Community Expert , Jan 20, 2016 Jan 20, 2016

How do you create the [Read More] buttons that expand hidden text in a paragraph in Dreamweaver CC 2015?

If you're using Bootstrap, use data-toggle and the collapse class.

<button class="btn btn-default" data-toggle="collapse" data-target="#details1">READ MORE</button>

<div id="details1" class="collapse">

DETAILS1 CONTENT GOES HERE...

</div>

Nancy O.

Votes

Translate

Translate
LEGEND ,
Jan 20, 2016 Jan 20, 2016

Copy link to clipboard

Copied

Dreamweaver doesn't have a built-in tool for a Read More button. You can learn how to do it here: https://css-tricks.com/text-fade-read-more/.

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
Community Expert ,
Jan 20, 2016 Jan 20, 2016

Copy link to clipboard

Copied

How do you create the [Read More] buttons that expand hidden text in a paragraph in Dreamweaver CC 2015?

If you're using Bootstrap, use data-toggle and the collapse class.

<button class="btn btn-default" data-toggle="collapse" data-target="#details1">READ MORE</button>

<div id="details1" class="collapse">

DETAILS1 CONTENT GOES HERE...

</div>

Nancy O.

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

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
New Here ,
Jan 20, 2016 Jan 20, 2016

Copy link to clipboard

Copied

Thanks Nancy. Will give this a try.

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
New Here ,
Jan 21, 2016 Jan 21, 2016

Copy link to clipboard

Copied

Nancy - this works great! Thanks so much!!

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
Community Expert ,
Jan 21, 2016 Jan 21, 2016

Copy link to clipboard

Copied

You're welcome.

FYI Bootstrap contains lots of good stuff.

http://getbootstrap.com/components/

Nancy O.

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

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
New Here ,
Jan 20, 2016 Jan 20, 2016

Copy link to clipboard

Copied

Thank you David. It's quite close to what I had in mind. Thanks again!

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
LEGEND ,
Jan 21, 2016 Jan 21, 2016

Copy link to clipboard

Copied

LATEST

Whilst that Bootstrap solution works to an extent it's not a true Read More/Read Less solution.

The below is a genuine solution:

jQuery Add More or Less Link to Text | Show More Link to Shorten Text to Display Rest of Text - ASP....

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