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.

Embed without iframe?

Home Forums Programming Embed without iframe?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #60234
    Webenart
    Customer

    hi,

    i see the way is sugested to embed a project in your website is the following:

    <iframe width=”100%” height=”100%” src=”/wp-content/uploads/verge3d/5718/project.html”></iframe>

    I am using wordpress, how can i embed that project without an iframe so i can can add buttons and text from inside my page builder? by using iframe all the buttons etc are outside of the iframe so i have issues, i need to set this code in my own container, and inside of it to insert my elements.

    how can i do that?

    Webenart | Creative Websites
    webenart.com

    #60318

    Hi, sure you just need add canvas container (some div) element instead of iframe, then assign “v3d-container” id on that. You can create basic Verge3D cube app to see how it was made.

      <div id="v3d-container">
        <div id="fullscreen-button" class="fullscreen-button fullscreen-open" title="Toggle fullscreen mode"></div>
      </div>
    

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #66670
    ahmyie
    Participant

    Hi, I made it work without iframe but if i delay the script v3d.js for 4 seconds it just dont work. can you help me?

    #66671
    kdv
    Participant

    but if i delay the script v3d.js for 4 seconds

    What for? Intentionally?

    Puzzles and JS. 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 meaning at all.

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