Some help? Readmore with images

This section is for posting questions which are not directly related to WYSIWYG Web Builder.
Examples of off topics: web server configuration, hosting, programming related questions, third party scripts.

Note that these questions will generally not be answered by the administrators of this forum.
Post Reply
User avatar
Fender
 
 
Posts: 146
Joined: Sun Oct 16, 2011 11:01 am

Some help? Readmore with images

Post by Fender » Thu Jan 02, 2020 3:25 pm

I've found a script for a readmore/less what shows and hide text .
I inserted an image placeholder and now it also show the image.
Look here; https://jsfiddle.net/b1d3gLxc/ second readmore!
I did this in the programme and now it is the wysiwyg way
You can download my file here
https://gofile.io/?c=OXRkK4
The only downside is that the readmore/less link stays above the text.
I couldn't find a solution in the programme to do it the right way.
Is there somebody out there who can give the solution for this?
Or @ Pablo is this not possible?

User avatar
Pablo
 
Posts: 21421
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Some help? Readmore with images

Post by Pablo » Thu Jan 02, 2020 3:39 pm

I cannot help you with third party scripts.
However, if they work somewhere else then they will also work with WWB.

Alternatively, you can check out these templates which also use a 'read more' script.
http://www.wysiwygwebbuilder.com/suppor ... louds.html
http://www.wysiwygwebbuilder.com/suppor ... inter.html

User avatar
Fender
 
 
Posts: 146
Joined: Sun Oct 16, 2011 11:01 am

Re: Some help? Readmore with images

Post by Fender » Thu Jan 02, 2020 4:07 pm

It only depends on inserting this; div class="view-btn">View More &#9658</div xx I deleted the last > otherwise it shows on the pagexx
after the last id with the class full-text as you can see in the fiddle
but when I insert it after the last id with class full-text in the programme the script doesn't work
I used html use div
Who can solve this?

I already have a wysiwyg way for only text when somebody is interested I can
provide a wbs just ask

bkjohns
 
 
Posts: 143
Joined: Wed Nov 14, 2018 5:54 pm

Re: Some help? Readmore with images

Post by bkjohns » Fri Jan 03, 2020 8:29 pm

Have you tried building it in WWB using events? Works great.

Post Reply