From blue text >> to image button

  • Profile Image
    BJAZZ
    Asked on March 20, 2013 at 06:44 PM

    Light box pop up:

    I want to change the blue text "contact us" by an image-buttoon.

    I think this would be nicer.

    I'm not a great code-man ... so if someone can hep me out .. be my geust.

     

  • Profile Image
    ardy0689
    Answered on March 20, 2013 at 07:12 PM

    Hello,

    You can use an image button and replace that blue text link for the light box.

    This is the normal lightbox code for the blue text link from your form. The highlighted one is the one you need to change.

    <script src="//yang.jotform.com/static/feedback2.js?3.1.2257" type="text/javascript">
    new JotformFeedback({
    formId:'30766176161354',
    base:'http://yang.jotform.com/',
    windowTitle:'Contact Us',
    background:'#FFA500',
    fontColor:'#FFFFFF',
    type:2,
    height:500,
    width:700
    });
    </script>
    <a class="lightbox-30766176161354" style="cursor:pointer;color:blue;text-decoration:underline;">Contact Us</a>

     

    In order to make that a functioning image button simply replace the text with "<img>" tag

    <a class="lightbox-30766176161354" style="cursor:pointer;color:blue;text-decoration:underline;"><img src="http://mydomain.com/mybutton.jpg" /></a>

    You can use that one instead and edit the src of your image.


    Let us know how it goes for you.

    Thanks

  • Profile Image
    BJAZZ
    Answered on March 20, 2013 at 07:54 PM

    You are an angel

    It works perfectly well :):)

     

    Thanks x

    B-azz

  • Profile Image
    jonathan
    Answered on March 20, 2013 at 09:08 PM

    On behalf of my colleague, you're quite welcome.

    Please feel free to contact us again anytime if you have other inquiry.

    Thanks.