XF 1.5 Open Div Id in overlay

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.
 
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 Bottom