When we click on read more, it should show the full blog on a popup. How can I do that?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

When we click on read more, it should show the full blog on a popup. How can I do that??

22nd Aug 2020, 3:14 AM
HIMANSHU PANDAY
HIMANSHU PANDAY - avatar
5 Answers
+ 3
HIMANSHU PANDAY What you need is Modal I guess. See this page: https://www.w3schools.com/howto/howto_css_modals.asp
22nd Aug 2020, 3:26 AM
Hanuma Ukkadapu
Hanuma Ukkadapu - avatar
+ 3
Yes, like this, thanks
22nd Aug 2020, 3:29 AM
HIMANSHU PANDAY
HIMANSHU PANDAY - avatar
+ 2
I believe you are looking for onclick="myFunction()" https://www.w3schools.com/jsref/event_onclick.asp or window.alert("sometext");
22nd Aug 2020, 3:16 AM
Steven M
Steven M - avatar
+ 1
Full blog should be on a popup, not below the button
22nd Aug 2020, 3:20 AM
HIMANSHU PANDAY
HIMANSHU PANDAY - avatar
+ 1
Is there a way you can share the code or some of the code, its tough to see exactly what you mean
22nd Aug 2020, 3:24 AM
Steven M
Steven M - avatar