Tagged: cornerstone
-
AuthorPosts
-
September 28, 2016 at 10:44 pm #1195120
How to make a button has function the same of the “X” button that exit the lightbox
Please see the attached photo
September 28, 2016 at 10:57 pm #1195126Hi There,
Thanks for writing in! But I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do?
Cheers!
September 28, 2016 at 11:57 pm #1195167I want to make a button that is rounded by a red circle on the attachment to closes the lightbox … How I can do that ?
I hope that is more clearer
September 29, 2016 at 12:20 am #1195188Hi There,
Please add something like this:
<div class="ilightbox-toolbar custom-lb-close x-btn" style="display: block; position:relative;"><a class="ilightbox-close " title="Add to My Dashboard">Add to My Dashboard</a></div>
Hope this helps.
September 29, 2016 at 12:33 am #1195195it is not working … and I need it to be as a button
September 29, 2016 at 12:41 am #1195207Hi There,
To assist you better with this issue, we’ll first need you to provide us with your URL where you have implemented this. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
September 29, 2016 at 12:42 am #1195208I think if possible to make a button with ” Escape” Function that will be great because the “ESC” close the lightbox.
How Can I do that ?
September 29, 2016 at 1:25 am #1195244Hi there,
It’s possible if that button is not within the window. Currently, the lightbox content is within the iframe. In order to communicate the two window, there will be a customization and it’s not simple.
Have you tried adding your content within a div, then use the div ID as href value?
<a href="#div_id_sample">trigger the lightbox</a>
Then maybe button and escape is possible since it’s on same page.
Thanks!
September 29, 2016 at 1:39 am #1195260the page opens on the light box .. I want to href to a page but out of this lightbox
September 29, 2016 at 1:54 am #1195281This reply has been marked as private.September 29, 2016 at 1:55 am #1195282Hi there,
In that case, closing lightbox by button or escape isn’t possible. That’s because your page is within an iframe (eg. window within a window).
Thanks!
September 29, 2016 at 1:59 am #1195286OK if closing lightbox by button not possible … I don’t need to close it I need to make a herf link open out of the lightbox .. How can I do that ?
September 29, 2016 at 2:09 am #1195296Hi there,
Since you don’t need to close it now, then what do you mean by making HREF links to open out? Is that the ID-based content I was referring? Or you need need it to open in new window? Like pop window? I’m just a bit confuse 🙂
Thanks!
September 29, 2016 at 2:14 am #1195306I don’t understand the ID-based content you was referring .. what I want just refresh the whole page to the HREF link to make it open out of the lightbox
September 29, 2016 at 2:15 am #1195307This reply has been marked as private. -
AuthorPosts