XF 1.1 Overlay for opt-in form

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).
 
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?
 
Back
Top Bottom