Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1195120

    mahmoud237
    Participant

    How to make a button has function the same of the “X” button that exit the lightbox

    Please see the attached photo

    #1195126

    Friech
    Moderator

    Hi 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!

    #1195167

    mahmoud237
    Participant

    I 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

    #1195188

    Lely
    Moderator

    Hi 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.

    #1195195

    mahmoud237
    Participant

    it is not working … and I need it to be as a button

    #1195207

    Lely
    Moderator

    Hi 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.

    #1195208

    mahmoud237
    Participant

    I 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 ?

    #1195244

    Rad
    Moderator

    Hi 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!

    #1195260

    mahmoud237
    Participant

    the page opens on the light box .. I want to href to a page but out of this lightbox

    #1195281

    mahmoud237
    Participant
    This reply has been marked as private.
    #1195282

    Rad
    Moderator

    Hi 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!

    #1195286

    mahmoud237
    Participant

    OK 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 ?

    #1195296

    Rad
    Moderator

    Hi 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!

    #1195306

    mahmoud237
    Participant

    I 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

    #1195307

    mahmoud237
    Participant
    This reply has been marked as private.