How to change the anchor text of the lightbox into image?

  • Profile Image
    bryantsrayngay
    Asked on December 05, 2013 at 06:32 PM

    Original Question:

    how do i embed a picture instead of text to trigger the lightbox?


    Jotform Response:

     

    Simply replace "La Terraza Reservation" at the bottom with the image.

    You cannot just take out the text link in lightbox and add a picture without programming skills. The following is the embed code for lightbox text trigger:

     

    <script src="//cdn.jotfor.ms/static/feedback2.js?3.1.1277" type="text/javascript">

    new JotformFeedback({

    formId:'33367731966162',

    base:'http://jotform.us/',

    windowTitle:'Contact Form with Envelope Theme',

    background:'#002FFF',

    fontColor:'#FFFFFF',

    type:false,

    height:500,

    width:700

    });

    </script>

    <a class="lightbox-33367731966162" style="cursor:pointer;color:blue;text-decoration:underline;">Email to Subscribe</a>

    What do I need to do change the embed code so as to use a graphic picture to trigger the lightbox instead of the text trigger?

     

    Thank You,

    BRYANT

     

    M 806.786.3786

  • Profile Image
    ardy0689
    Answered on December 05, 2013 at 07:43 PM

    Thanks for contacting us. In order to change the text into image when triggering the lightbox, all you need to do is to change the anchor text into an image tag.

    Change the anchor text:

    <a class="lightbox-33367731966162" style="cursor:pointer;color:blue;text-decoration:underline;">Email to Subscribe</a>

    to image:


    <a class="lightbox-33367731966162" style="cursor:pointer;color:blue;text-decoration:underline;"><image src="//domain.com/myimage.jpg" width="200" height="100" /></a>

    If you need further assistance, please do not hesitate to ask. Thank you

  • Profile Image
    bryantsrayngay
    Answered on December 05, 2013 at 08:27 PM

    ARDY0689 You Are a Rock Star. Beautiful. It Works.

     

    Go to Laterrazausa.com

     

    Thank You So Much. I prefer JOTFORM instead of wufoo.com for my forms

    BRYANT
    m 806.786.3786

     

     

     

     

     

  • Profile Image
    Welvin
    Answered on December 05, 2013 at 10:02 PM

    Our pleasure to help! If you have any questions, please don't hesitate to contact us.