Read More/Read Less Button
Posted: Mon Oct 31, 2022 8:39 pm
can i make like this in wb? https://www.w3schools.com/howto/howto_js_read_more.asp
WYSIWYG Web Builder
https://www.wysiwygwebbuilder.com/forum/
https://www.wysiwygwebbuilder.com/forum/viewtopic.php?t=95802
Pablo wrote: Tue Aug 17, 2021 2:08 pm Here are two templates which demonstrate this functionality:
http://www.wysiwygwebbuilder.com/suppor ... louds.html
http://www.wysiwygwebbuilder.com/suppor ... inter.html
BaconFries wrote: Tue Aug 17, 2021 12:54 pm Maybe this extension will be of use.
viewtopic.php?f=42&t=75719
thanks!BaconFries wrote: Mon Oct 31, 2022 8:51 pm See the following:
Pablo wrote: Tue Aug 17, 2021 2:08 pm Here are two templates which demonstrate this functionality:
http://www.wysiwygwebbuilder.com/suppor ... louds.html
http://www.wysiwygwebbuilder.com/suppor ... inter.htmlBaconFries wrote: Tue Aug 17, 2021 12:54 pm Maybe this extension will be of use.
viewtopic.php?f=42&t=75719
This cannot be done without JavaScript.is this possible to make this work only with CSS without JavaScript?
I have a long text and try to Show it shorter on the site.Pablo wrote: Tue Nov 01, 2022 9:58 amThis cannot be done without JavaScript.is this possible to make this work only with CSS without JavaScript?
yes that use JavaScript i try to find lightweight methodPablo wrote: Tue Nov 01, 2022 6:05 pm Did you try the solutions mentioned by BaconFries?
https://www.wysiwygwebbuilder.com/support/wb12tryouts/wb12_clouds.html
https://www.wysiwygwebbuilder.com/support/wb12tryouts/wb12_winter.html
why you do not complete the extension? that is useful for page SEO without Disturbing the visitorcrispy68 wrote: Tue Nov 01, 2022 6:13 pm I may have an extension for you that uses only CSS that I once was working on but I will need to dig thru my extension archives to confirm it's up to snuff in releasing.![]()
can you send your page to I see what you done?bkjohns wrote: Tue Nov 01, 2022 6:19 pm I use Events that show/hide text as a Read More... option. Works well if you are using flexible / responsive layouts (layout grid, flexbox). A little effort involved but once you figure it out it works fine for me. Might be worth looking into.
I have many little projects I've started. Sometimes you just decide others get the focus and others fall by the wayside. Not sure it being CSS oriented vs. javascript has anything to do with SEO though. Most Read More buttons use javascript that I've seen.why you do not complete the extension?
https://we.tl/t-EENJ86j5nzwb_user wrote: Tue Nov 01, 2022 6:26 pmcan you send your page to I see what you done?bkjohns wrote: Tue Nov 01, 2022 6:19 pm I use Events that show/hide text as a Read More... option. Works well if you are using flexible / responsive layouts (layout grid, flexbox). A little effort involved but once you figure it out it works fine for me. Might be worth looking into.
You did a great job. i check the code and sadly, it use JavaScript (.js) files for show/hide the text.bkjohns wrote: Thu Nov 03, 2022 6:56 pmhttps://we.tl/t-EENJ86j5nzwb_user wrote: Tue Nov 01, 2022 6:26 pmcan you send your page to I see what you done?bkjohns wrote: Tue Nov 01, 2022 6:19 pm I use Events that show/hide text as a Read More... option. Works well if you are using flexible / responsive layouts (layout grid, flexbox). A little effort involved but once you figure it out it works fine for me. Might be worth looking into.
Hi crispy... not dead important, but it would be nice to have a smoth slide down when activate the read more... or slide up when close...crispy68 wrote: Thu Nov 03, 2022 3:54 pm @bluesman,
No, it does not use events. Is that something you are wanting?
Agreed but unfortunately, I would have to use javascript and the original poster didn't want to use javascript only css.it would be nice to have a smooth slide down when activate the read more... or slide up when close..
crispy68 wrote: Thu Nov 03, 2022 8:08 pmAgreed but unfortunately, I would have to use javascript and the original poster didn't want to use javascript only css.it would be nice to have a smooth slide down when activate the read more... or slide up when close..
I may consider a javascript option and will look to add that functionality.
So, unfortunately there is not a foolproof way to get it working using just CSS. After many hours and reading a lot about if it's even possible, this is why you need to use javascript plain and simple. However, I was sort of able to get it working using sort of a CSS hack. It should work for the most part but I can't guarantee there couldn't be a situation where it misbehaves. So, I made the smooth slide an option in the extension where you can turn it off or on. If off, it should work without a hitch.... I thinkit would be nice to have a smooth slide down when activate the read more... or slide up when close...
Very nice slide and fade effectcrispy68 wrote: Fri Nov 04, 2022 2:46 am @bluesman,
So, unfortunately there is not a foolproof way to get it working using just CSS. After many hours and reading a lot about if it's even possible, this is why you need to use javascript plain and simple. However, I was sort of able to get it working using sort of a CSS hack. It should work for the most part but I can't guarantee there couldn't be a situation where it misbehaves. So, I made the smooth slide an option in the extension where you can turn it off or on. If off, it should work without a hitch.... I thinkit would be nice to have a smooth slide down when activate the read more... or slide up when close....
So it may be another day or so before I release it since I spent a ton of time on trying to get this to work. So stay tuned.![]()
I have updated the demo (see link on first page) so you can see the normal (1st example) and the slide version (2nd & 3rd example).
@bacon,
thanks for the link. I may look into that as an option down the road.![]()
it work perfectlycrispy68 wrote: Fri Nov 04, 2022 2:46 am @bluesman,
So, unfortunately there is not a foolproof way to get it working using just CSS. After many hours and reading a lot about if it's even possible, this is why you need to use javascript plain and simple. However, I was sort of able to get it working using sort of a CSS hack. It should work for the most part but I can't guarantee there couldn't be a situation where it misbehaves. So, I made the smooth slide an option in the extension where you can turn it off or on. If off, it should work without a hitch.... I thinkit would be nice to have a smooth slide down when activate the read more... or slide up when close....
So it may be another day or so before I release it since I spent a ton of time on trying to get this to work. So stay tuned.![]()
I have updated the demo (see link on first page) so you can see the normal (1st example) and the slide version (2nd & 3rd example).
@bacon,
thanks for the link. I may look into that as an option down the road.![]()