What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

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

    Asked by bryantsrayngay 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
    JotForm Support

    Answered by ardy0689 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

    Answered by bryantsrayngay 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
    JotForm Support

    Answered by Welvin on December 05, 2013 at 10:02 PM

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