I created a lightbox form. i want to link it to a text or a button in my website.

  • Profile Image
    seege
    Asked on February 03, 2013 at 11:46 PM

    When i copy and paste the code in my website. the default color text is blue. i want to customise it with a clickable text or button in my website. please how i can made it?

     

    tHANKS.

  • Profile Image
    nicchacha
    Answered on February 04, 2013 at 12:46 AM

    Hello there,

    Here is Lightbox button sample code   <a class="lightbox-30335043818550" style="cursor:pointer;color:#FF0000;text-decoration:underline;">Contact Us</a>. To change the color of the text, you just need to replace color:#FF0000 with your preferred color code. 

    I hope this help

     Thanks

  • Profile Image
    EltonCris
    Answered on February 04, 2013 at 01:48 AM

    @seege

    To clarify what my colleague nicchacha means. After getting your lightbox embed code, you can modify the achor tags by adding extra styles or insert a button code. Check this example below to learn how to use a button.

    <script src="//jotformpro.com/min/g=feedback2" type="text/javascript">

    new JotformFeedback({

    formId:'30338527221952',

    base:'http://jotformpro.com/',

    windowTitle:'Clone of Jobs',

    background:'#FFA500',

    fontColor:'#FFFFFF',

    type:false,

    height:500,

    width:700

    });

    </script>

    <a class="lightbox-30338527221952" style="cursor:pointer;color:blue;text-decoration:underline;"><input type="button" value="BUTTON NAME" style="color:#FF0000;"/></a>

    See how it looks like here: http://pastehtml.com/view/crccsca5a.html (ignore the warning error, the page is totally safe)

    Feel free to contact us again if you have further questions. Thanks!

  • Profile Image
    seege
    Answered on February 04, 2013 at 04:56 AM

    Cool! that's what i was looking for! it's work for me, my problem is solved thank you very much!

  • Profile Image
    krecicki
    Answered on March 07, 2013 at 09:42 PM

    Paste whatever it is you want to click on including any divs, ids in between where it says here <a class blah blah blah>here</a>

  • Profile Image
    EltonCris
    Answered on March 08, 2013 at 01:36 AM

    @krecicki

    Thanks. If there's anything you need help with about JotForm, feel free to let us know.