XF 1.5 Open Div Id in overlay

Steve F

Well-known member
You'll need to use a trigger link with the class 'OverlayTrigger' to open your content in a overlay.
 

John917

Member
it won't open a div in an overlay using overlaytrigger though. if it does, can you show me what you used? also i'm not implementing it on xenforo templates, im implementing it in a html container within xenforo.
 

John917

Member
any chance we can do this with javascript?
<a href="javascript:;" onclick="window.location.hash = '#section';" class="OverlayTrigger">javascript to section</a>
Seems to move user to the correct id, but it doesn't work with the overlay trigger.
 
Top