RSS Feed/News XF.showOverlay() not working from template

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
26,166
Points
823

Reputation:

Code:

Code:
<xf:js>
    XF.showOverlay(XF.getOverlayHtml({title: 'my title', html: '<div>my html</div>'}));
</xf:js>

Screenshot from 2024-07-01 17-25-06.webp

Also as a side note, it would be great if you could pass multiple classes to the className of the options object.

Continue reading...
 
Status
Not open for further replies.
Top