Jaxel
Well-known member
So I have this code:
This is great, as it loads an overlaytrigger. However, what about graceful degradation? If JS fails, I don't want the user to go to /media/popout, I want them to go to /media. Is there a way to set the overlay trigger to go to a specific URL, while the link goes somewhere else?
Code:
<a href="{xen:link 'media/media/popout', $media}" class="OverlayTrigger" data-cacheOverlay="false" data-overlayoptions="{"fixed":false}">
This is great, as it loads an overlaytrigger. However, what about graceful degradation? If JS fails, I don't want the user to go to /media/popout, I want them to go to /media. Is there a way to set the overlay trigger to go to a specific URL, while the link goes somewhere else?