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.

Interacting with button outside iFrame to execute events

Home Forums General Questions Interacting with button outside iFrame to execute events

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #75603
    zordans
    Participant

    Hi,

    I searched through the forum but I really couldn’t find a working answer to this:

    I’m using Bubble.io as a full-stack app builder, so I can work on the frontend/backend as well as the database.

    Now, I’m trying to interact with the Verge3D object but outside the iFrame.

    As a very simple example:

    Attachment 1. I created a div with id “myElem”
    Attachment 2. I created an event. Every time “myElem” is clicked, the 3D cube is hidden
    Attachment 3. On the frontend, we have the iFrame and a button called myElem with the same id. When I click, nothing happens.

    How can I make it work?

    Attachments:
    You must be logged in to view attached files.
    #75607
    kdv
    Participant

    Enable “in parent doc”.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #75608
    zordans
    Participant

    Thanks!
    This is doing something.

    Now, after this Blocked a frame with origin "https://cdn.soft8soft.com" from accessing a cross-origin frame. , I have to find out how to upload the app folder into my web app and edit the iframe path with the local html file.

    Any tips for that?

    #75617
    kdv
    Participant

    FTP

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

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