AnsweredAssumed Answered

Website Pop-Ups

Question asked by b514c9aa8ad3b1b9ccbe2b71fb0ed738220f795c on Nov 14, 2017
Latest reply on Nov 16, 2017 by Mark Price

What is the best way to implement a Modal Lightbox/pop-up that contains a Marketo form, and include it on the Home page of our site so that it opens when a visitor first hits the site? It has to work across all browsers, and scale to work on mobile devices (so that it can be easily dismissed if the user doesn't wish to fill out the form.) I have been testing out an embedded Lightbox code generated by the Marketo form designer, and I finally got it to display correctly on Internet Explorer, but the pop-up takes up the whole window on a mobile device such as a smartphone, and the "X" to close the pop-up is so close to the edge of the screen that you can't click on it to close out of the pop-up window. Does anyone have any suggestions on how to best implement a cross-browser pop-up that dynamically scales in size? Is JavaScript the best way to go (and if so does anyone have any code example), or has anyone made it work using the Marketo generated embed code for a Lightbox? Please help!