Is it possible to create html content specifically for the lightbox?

More
4 years 2 weeks ago #58481 by michael.forder
Hi,
I was wondering if it was possible to create content inside a larger html page that is specifically for being shown in a lightbox?

Like, if I had a link in the page that would open the lightbox, and show some text, or maybe a picture and some text? I know you can open a url in the lightbox, but I'm looking for a simpler solution of just a bit of text to show in the lightbox. Maybe wrapping the text/content in a div tag with a specific class/attribute that would be pulled only when called on by the lightbox?

I don't see anything for that, unless I've missed it. In which case, I'm sorry.

Please let me know if you have any questions, or you need me to clarify further.

Thanks,
Michael

Please Log in or Create an account to join the conversation.

More
4 years 2 weeks ago #58482 by ced1870
Hi
you can use an article, then show it without the template outside
If you want to open an article without the whole template (just the article content), you can use the &tmpl=component parameter in the url.

Then you can show what you want :)
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
4 years 1 week ago #58530 by michael.forder
Thank you so much! It works great!

Please Log in or Create an account to join the conversation.

Time to create page: 0.252 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 728 guests and no members online