F fredrikse Active member Feb 8, 2015 #1 Hi, Is it possible to create an overlay for an opt-in form in Xenforo?
Jake Bunce Well-known member Feb 8, 2015 #2 Yes it's possible. XenForo's API lets you do this: Code: <a href="LINK" class="OverlayTrigger">TEXT</a> That will open the link in an overlay. But the content of the linked page must be suitable for an overlay which means: 1) The background should be opaque. 2) The content template should have a single top-level element (e.g. everything contained in one parent div). Upvote 0 Downvote
Yes it's possible. XenForo's API lets you do this: Code: <a href="LINK" class="OverlayTrigger">TEXT</a> That will open the link in an overlay. But the content of the linked page must be suitable for an overlay which means: 1) The background should be opaque. 2) The content template should have a single top-level element (e.g. everything contained in one parent div).
F fredrikse Active member Feb 8, 2015 #3 That's great news! What I really would like is what you just described plus some mechanism that randomly makes the overlay pop up and let the user sign up for a newsletter (opt-in code for the form is done). Is that possible? Upvote 0 Downvote
That's great news! What I really would like is what you just described plus some mechanism that randomly makes the overlay pop up and let the user sign up for a newsletter (opt-in code for the form is done). Is that possible?
Jake Bunce Well-known member Feb 8, 2015 #4 Possible, yes. You need a programmer though. You can post a request: https://xenforo.com/community/forums/resource-and-add-on-requests.68/ Upvote 0 Downvote
Possible, yes. You need a programmer though. You can post a request: https://xenforo.com/community/forums/resource-and-add-on-requests.68/