Can I create the size of a light box to be set as a percentage?

  • Profile Image
    Asked on September 23, 2011 at 12:19 AM


    Is it possible to set a light box to open based on a % as opposed to a pixel size? I have tried a couple of different things but none have worked correctly. My form is currently set to 650 x 600 pixles but I would like to be able to set the height as a percentage e.g. 80% so I dont run into issues with smaller screens.

    <p><body onload="document.getElementById('lightbox-12293918612').click()">
    <script src="//" type="text/javascript">
    new JotformFeedback({
    windowTitle:'Online Application Form', background:'#4B4B4B',
    <input id="lightbox-12293918612" style="display:none" type="submit" value="lightbox" ></p>


  • Profile Image
    Answered on September 23, 2011 at 09:57 AM

    Why don't you try it? Have you tried changing those height and width values? That might do exactly what you want. 

  • Profile Image
    Answered on September 23, 2011 at 09:57 AM

    Sorry, I misunderstood. No, I don't think it is possible to set them as percentage. 

  • Profile Image
    Answered on September 23, 2011 at 09:20 PM
    Hi Aytekin,I tried setting as a percentage but I couldn't get it to work, thought maybe someone else may have figured out a work around but I doesn't sound like it.Thanks, Tom
  • Profile Image
    Answered on November 13, 2013 at 01:07 AM

    Has anyone acheived this yet to set a lightbox size as a % of screen size.

    Thanks Mark

  • Profile Image
    Answered on November 13, 2013 at 04:33 AM


    As far as I know, there's no update yet with how the way you can setup the Lightbox Popup window. We can give you a workaround, but we would suggest posting this request on a separate thread. You can start a new thread using this link: Please make sure to provide the Form URL and the specific sizes you want. Example: iPhone or Tablet.