# Don't load contents of iframe until triggered!

**URL:** <https://forums.realmacsoftware.com/t/dont-load-contents-of-iframe-until-triggered/31727>\
**Category:** RapidWeaver Classic\
**Created:** [March 15, 2020, 1:19am UTC](https://forums.realmacsoftware.com/t/dont-load-contents-of-iframe-until-triggered/31727 "2020-03-15T01:19:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![amdrecording](https://avatars.discourse-cdn.com/v4/letter/a/91b2a8/32.png) [@amdrecording](https://forums.realmacsoftware.com/u/amdrecording)\
**Post date:** [March 15, 2020, 1:19am UTC](https://forums.realmacsoftware.com/t/dont-load-contents-of-iframe-until-triggered/31727/1 "2020-03-15T01:19:44Z")

</div>

HOW CAN THIS BE DONE!?

I have an iframe that has a basic text stack within it – with a simple fade in and fade out animation. Trouble is, the animation doesn’t run when the iframe is triggered into view, it runs on page load!

So by the time a user interacts with the button to show the iframe, the animation is long gone.

Help! This one is driving me nuts!

---

<div class="post-metadata">

**Author:** ![pmjd](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/pmjd/32/18671_2.png) [@pmjd](https://forums.realmacsoftware.com/u/pmjd)\
**Post date:** [March 15, 2020, 2:28am UTC](https://forums.realmacsoftware.com/t/dont-load-contents-of-iframe-until-triggered/31727/2 "2020-03-15T02:28:57Z")

</div>

Why have you got a basic text stack within an frame?

---

<div class="post-metadata">

**Author:** ![amdrecording](https://avatars.discourse-cdn.com/v4/letter/a/91b2a8/32.png) [@amdrecording](https://forums.realmacsoftware.com/u/amdrecording)\
**Post date:** [March 15, 2020, 4:00am UTC](https://forums.realmacsoftware.com/t/dont-load-contents-of-iframe-until-triggered/31727/3 "2020-03-15T04:00:20Z")

</div>

That’s a fair question. I’m using @weavium GSheet, so that I can manage some of the content from Spreadsheets. It has been a massive challenge though, because it’s almost impossible to interact the insides of GSheet with the space around it. For example, pressing the “Add to Cart” button within the GSheet stack. I cannot find a way to generate a pop-up notification when one presses the add to cart button. A simple “Item Added” in the top left of the browser window would be ideal.

So the only way I’ve been able to have a trigger from within Gsheet interact outside of that stack, is by opening an iframe with some content.

I should say though, I’ve come up against this a few times… where I do not want any of the iframe content on my main site to render when the user loads the page. If there was a way to disable that for iframes, I would be so, so, very happy 🙂

For example, this user - [Vimeo is slowing down my page loading](http://forums.realmacsoftware.com/t/vimeo-is-slowing-down-my-page-loading/3758)

And also, I see solutions beyond my pay grade (and outside of rapidweaver)

> **[Lazy-load your embed iFrames - Iframely documentation](https://iframely.com/docs/lazy-load)**
>
> Iframely will make embeds on your page load in a snap

I would spend my life savings for a stack that could do this!!

(and my life savings amounts to a few hundred dollars :)))

-Al

---

<div class="post-metadata">

**Author:** ![amdrecording](https://avatars.discourse-cdn.com/v4/letter/a/91b2a8/32.png) [@amdrecording](https://forums.realmacsoftware.com/u/amdrecording)\
**Post date:** [March 15, 2020, 4:05am UTC](https://forums.realmacsoftware.com/t/dont-load-contents-of-iframe-until-triggered/31727/4 "2020-03-15T04:05:39Z")

</div>

OH! Here’s a section of a website that I’m currently working through:

[https://mimicaudio.com/playground1.php](https://mimicaudio.com/playground1.php)

---

<div class="post-metadata">

**Author:** ![pmjd](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/pmjd/32/18671_2.png) [@pmjd](https://forums.realmacsoftware.com/u/pmjd)\
**Post date:** [March 15, 2020, 5:57am UTC](https://forums.realmacsoftware.com/t/dont-load-contents-of-iframe-until-triggered/31727/5 "2020-03-15T05:57:26Z")

</div>

Ok maybe GSheet is not the best option for what you are trying to do.

If it’s to manage a shopfront why not try something like [Rapidcart Pro](https://4gnd.com/rapidcartpro/), which can handle products from a CSV list, or I’m not sure if you might be using Catloom, they have a storefront stack which might be useful.

---

<div class="post-metadata">

**Author:** ![amdrecording](https://avatars.discourse-cdn.com/v4/letter/a/91b2a8/32.png) [@amdrecording](https://forums.realmacsoftware.com/u/amdrecording)\
**Post date:** [March 15, 2020, 6:17am UTC](https://forums.realmacsoftware.com/t/dont-load-contents-of-iframe-until-triggered/31727/6 "2020-03-15T06:17:59Z")

</div>

Other than this one hang up, I think this will work well for me— it’s meant to be searchable/filterable, and I found that functionality to be as good if not better than some of the other similar stacks.

If anyone has an idea where I might be going wrong, I’m all ears! I’ve posed several questions to Weavium and unfortunately have not heard back in nearly a month (or maybe a few weeks!)

-Alex

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/system/32/25301_2.png) [@system](https://forums.realmacsoftware.com/u/system)\
**Post date:** [April 14, 2020, 4:18pm UTC](https://forums.realmacsoftware.com/t/dont-load-contents-of-iframe-until-triggered/31727/7 "2020-04-14T16:18:03Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
