Is it possible to create html content specifically for the lightbox?
- michael.forder
- Offline Topic Author
- New Member
- Posts: 8
- Thanks: 0
Is it possible to create html content specifically for the lightbox? was created by michael.forder
Posted 3 years 5 months ago #58481
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
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.
Replied by ced1870 on topic Is it possible to create html content specifically for the lightbox?
Posted 3 years 5 months ago #58482
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
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
by ced1870
Please Log in or Create an account to join the conversation.
- michael.forder
- Offline Topic Author
- New Member
- Posts: 8
- Thanks: 0
Replied by michael.forder on topic Is it possible to create html content specifically for the lightbox?
Posted 3 years 5 months ago #58530
Thank you so much! It works great!
Please Log in or Create an account to join the conversation.
Time to create page: 0.630 seconds