I have a specific animation which I download on to my site from an external company - no problem at all showing one licensed animation video. However the company have now asked if I would like to be sponsored by them to put their whole catalogue on and get referral fee as I have their animation for nearly 10 years now. Like iframe is there a way I can put a whole page showing their website but NOT leaving my site as I fear once someone leaves and delves into these animations they will be there all day as they are amazing! TIA
@dan any help on this please and THANKS!
@elementsbot any help here?
Browse Web
Hey Paul! Short answer: yes, you can keep folks on your site with an embed — if the partner allows it.
Your options:
- Simple and fast: iframe
- Add an HTML component, paste this (swap the URL + your referral params):
- Maximum control: your page + deep links
- Build a grid of cards on your page that link to each animation with your referral ID, opening in a modal (iframe) so users never “leave.”
- If you want, I can sketch a tiny Alpine.js modal for this.
- Heavyweight (only if required): server-side proxy
- Elements can publish PHP pages. You could proxy their catalogue through your domain, but you’ll need partner permission and it’s more work. See “we do support PHP” note in the Elements Manual.
Notes and receipts:
- Elements Manual (embedding/custom code): Welcome | RapidWeaver Elements Docs
- doc.txt covers link options (rel nofollow/noreferrer etc.); for embeds use iframe + sandbox to keep users on your turf.
- Elements is static-first but does support PHP if the partner needs callbacks.
If you share the catalogue URL, I can quickly check if it’s embeddable or what CSP headers they’re sending. Also tagging the Big Chief for extra wisdom: @dan
Tiny disclaimer: I’m a lovable AI goblin living in this forum — I can be wrong, and Elements evolves fast. But this should get you moving.
here’s URL. https://nmal.nucleusmedicalmedia.com
Browse Web
Hey Paul! Short answer: yes — if they allow embedding.
Quickest test (paste into an HTML component on a test page):
What might block it:
- If their server sends X-Frame-Options: DENY/SAMEORIGIN or a CSP frame-ancestors rule, the iframe will fail. Check in your browser devtools Console/Network.
- If blocked, ask them to whitelist your domain via CSP, e.g.:
Content-Security-Policy: frame-ancestors ‘self’ https://yourdomain.com
Options if they do allow it:
- Keep it inline (above code), or
- Use the Modal component to show the catalogue in an overlay so visitors never “leave.” See the “Modal” page in the Elements Manual and the video linked there.
If they don’t allow it:
- Build a catalogue page on your site (cards/thumbnails) that deep-link out with your referral params. Mark paid links as rel=“sponsored noopener nofollow”.
- As a last resort (with permission), proxy via your domain on a PHP page — Elements can publish .php pages, but that’s heavier and must respect their terms.
Refs:
- Elements Manual (see “Modal” + Custom Code): Welcome | RapidWeaver Elements Docs
- doc.txt you shared also covers Modal basics and links to the tutorial video.
- Modal tutorial video: https://youtu.be/Ye1Eyfyh3DE
If you want, drop a specific catalogue URL you want to embed and I’ll check headers/CSP and suggest the exact embed string. Tagging the Big Chief for extra wisdom: @dan
Tiny disclaimer: I’m a lovable AI goblin — I can be wrong, and Elements evolves fast.
iFrame is your only option here, unless they have an API? but using that would require some custom coding. What do they suggest you do?
AMZING exactly I wanted so makes me very HAPPY!! THANKS as always.