I've got a Shopify website and I want to borrow some code for a really good popup of terms and conditions, policies, etc. It's on the checkout page and this is what the code looks like...
<td nowrap class="tg-8jgo"><a aria-haspopup="dialog" href="/6007783493/policies/7893516357.html" data-close-text="Close" data-title-text="Terms of service" data-modal="policy-7893516357">Terms of service</a></td>
This is a link to the page (refunds, etc at the bottom) where it works, but when I put it onto a different page, I can't get it to work.
I've looked in other parts of the code that might refer to it, but can't find anything that is linked to it (i.e. the popup window), I've looked in js files attached to the page, can't find anything. Can't really find anything on the www either as it all seems to refer to aria code as being used for menus rather than a popup window.
It shows up the terms and conditions as a frame over the page and greys/blurs out the background. The window can then be closed simply with an ESC or close button.