How to remove close button on a lightbox.

  • Profile Image
    clicksemnet
    Asked on November 12, 2013 at 06:49 PM

    Can you please check this page:

    http://billyboy.al/banner/test.php

     

    i tried both of the <style> codes you given http://www.jotform.com/answers/170840-How-can-I-remove-the-close-button-from-a-lightbox-form

    but didn't work to hide the feedback close button.

    i'm using feedback2 for autoloading feedback form ...

     

    The reason to hide original close button is that I want the close button to appear after 10 seconds so i have to hide original close button and show it from flash file i'd created.

    I used flash actionscripts to close the feedback form screen like: none of them worked to close jotform..

    on(release) {
        fscommand("quit", true);    
    }

    on (release) {
    getURL("javascript:window.close();void(0);");
    }

    on(release){
    fscommand("quit");
    }

    on(release) {
        getURL("javascript:self.close();");    
    }

    on (release) {
    getURL('javascript:closeWin()');
    }

    on (release) {
    getURL ("javascript:window.opener=self;window.close()" );
    }


     


    If you can give me clue about it will be great too.

    thanks

  • Profile Image
    khrisell
    Answered on November 12, 2013 at 07:06 PM

    Hello,

    Upon viewing the URL you have provided, I am unable to view your form and the bpage went blank after I close the pop-up ads.

    Can you provide the title or the direct URL of the form so that we can check the form and help you accordingly on your inquiry.

    Thank you and I will wait for your response to assist you further.

  • Profile Image
    clicksemnet
    Answered on November 12, 2013 at 07:28 PM

    in this example i've no form to show. I use jotfrom as somekind of tinybox in this example at the moment. i may add a form also later.

    answering second part of my question myself. i could not find a way to close popup feedback box within flash via actionscript since browsers don't like theese kind of closings i guess. so i put a cookie on the test.php and recall the page itself with _top which ends with the clousure of the pop-up some how.

    but the first part of my question is still a must because i have two close buttons at the same time so i have to disable the default close button of feedback form.

    thanks.

    http://billyboy.al/banner/test.php

  • Profile Image
    khrisell
    Answered on November 12, 2013 at 08:39 PM

    Hello,

    In order to remove the close button of your lightbox you need the following code.

    <style>

    .jt-feedback div img {

    display: none;

    }

    </style>


    Kindly put the following code above between the header tag of the page

    <head> THE CODE HERE!! </head>

    If you need further assistance, please let us know.

    We're here to help.

    Thank you.

  • Profile Image
    clicksemnet
    Answered on November 15, 2013 at 05:32 AM

    Thanks for the help. it worked for me.