We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Iframe stopping javascript

Home Forums Programming Iframe stopping javascript

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #80854
    Tom
    Customer

    Im using verge3d network to host the app but when i use iframe it breaks all the javascript and my menus stop working.

    Is there a way around this other than hosting on one server?

    Im using webflow to build ui with verge3d puzzles to control it.

    #80856

    Hi,
    perhaps this is the case with mixed case of your filenames. Please read more about it here.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #80859
    Tom
    Customer

    When i upload to verge3d network its works fine.

    My issue is that if I make an iframe using the verge3d network link, I get a problem when the iframe is hosted on another server.

    the iframe would be pointing to the verge3d network

    #80862

    Then it’s possible you have cross-origin restriction. Basically, executing javascript or accessing DOM is forbidden when iframe and parent frame are running on different domains. You should use postMessage to overcome this restriction or just upload your multi-frame app to the same domain.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.