Limit paragraph max lines more symbol...

User 2821303 Photo


Registered User
7 posts

Is there any way to limit a paragraph's max number of lines to say 2 and automatically add ... To the end of the second line?

Then either have the ... link to a new page or expand the paragraph to show all text?

Thanks for any tips
User 2699991 Photo


Registered User
5,305 posts
Online Now

Hello from sunny Bali
Not sure how to do or even if possible to expand paragraph, but to go to another page

at the end of your paragrapg I am presuming you want to add the words something like ..

.....READ MORE (as example) which would be a link to another page with the full details etc

So once you have typed in your paragraph (one line, two or three is up to you) then type in your words for the link.
.....Read More (highlight those words)
At the top of the text editor design pane (for want of a better description) for the paragraph you are working, on under the "inline elements" is the "Link" with a big + sign.
Click the + sign and enter the link details you require for the new page. (If you give the paragraph on the new page a unique ID then you can do an anchor link to that one paragraph on the new page by using the #(paragraphID) after the page link.
The text will change to the default blue colour, which you can change whilst still in the text editor (and also underline change font style and or size if you so desire.
Hope I have understood what you wanted to do correctly, and hope its clear for you, (first time to try and help someone.
Hopefully someone else can point you the way to expand the paragraph (if at all possible) as an alternative

Have a good day wherever in the world you are



,
Mastering The Understanding With Hands-On Learning
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?

LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS


A simple quick way to contact me
https://mawarputih.coffeecup.com/forms/contact-wayan/
User 2699991 Photo


Registered User
5,305 posts
Online Now

http://www.coffeecup.com/help/articles/ … -designer/

a link to an article all about links (just in case you haven't seen it.
Mastering The Understanding With Hands-On Learning
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?

LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS


A simple quick way to contact me
https://mawarputih.coffeecup.com/forms/contact-wayan/
User 2821303 Photo


Registered User
7 posts

Thanks for the advice, I'll give it a try.
User 2147646 Photo


Registered User
233 posts

Hi Robert, this script limits the number of characters in a paragraph and adds a more/less link automatically :)
http://codepen.io/maxds/pen/jgeoA

User 2821303 Photo


Registered User
7 posts

Thanks for the link James, works like a champ! +1
User 2699991 Photo


Registered User
5,305 posts
Online Now

Hi Guys & Gals
Need a little bit of guidence with this please
Would be nice to have something like this on a new sit I am developing problem is it is all douible dutch to me at the moment
Can someone give a step by step gide as to how to put all the stuff onto my site, i.e where do I put that JS stuff in the page I want it to work on
Sorry to be a pain but I am really stupid when it comes to this sort of stuff, but I am a quick learner.

Thanks For Any help
Mastering The Understanding With Hands-On Learning
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?

LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS


A simple quick way to contact me
https://mawarputih.coffeecup.com/forms/contact-wayan/
User 187934 Photo


Senior Advisor
20,266 posts
Online Now

Hi Wayanjaya. Can you publish a page where you have tried the script so it's easier to help you?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2699991 Photo


Registered User
5,305 posts
Online Now

Eric
Thank you for your help, I have managed to figure it out, and it's working great, it is a bit difficult with the time differences, I just kept plodding away at it.

Thanks again

Have a great day wherever in the world you are.
Mastering The Understanding With Hands-On Learning
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?

LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS


A simple quick way to contact me
https://mawarputih.coffeecup.com/forms/contact-wayan/
User 283347 Photo


Registered User
388 posts

Wayanjaya

I'm interested in hearing how you resolved the issue of placing the JS? Please share. :)

MJ

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.