Jump to content
  • 0

Deployment after page load


MikesBarto2002

Question

I have a website where I continuously load articles into the browser as the user scrolls down the page. If the user places a Caspio embed in the first article, this will get loaded in on page load, and works great. But any articles that are dynamically created using JavaScript that try to embed Caspio within it don't populate. I am guessing this is because the script for Caspio has already run, and would need to be run again to populate the new instance.

I followed the instructions to embed into articles. Is there anything in the API that can be called to refresh all Caspio instances on the page, or is this not possible?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
On 3/22/2017 at 3:54 PM, MikesBarto2002 said:

I have a website where I continuously load articles into the browser as the user scrolls down the page. If the user places a Caspio embed in the first article, this will get loaded in on page load, and works great. But any articles that are dynamically created using JavaScript that try to embed Caspio within it don't populate. I am guessing this is because the script for Caspio has already run, and would need to be run again to populate the new instance.

I followed the instructions to embed into articles. Is there anything in the API that can be called to refresh all Caspio instances on the page, or is this not possible?

I would hardcode deploy code in js file and load datapage in a specific node on a condition (when page is scrolled to a specific place)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...