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.

fullscreenbutton – customizing needs better explaining

Home Forums Programming fullscreenbutton – customizing needs better explaining

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #31373
    abinabin
    Licensee

    So really, I break on customized fullscreen-button.
    This is my setup:
    code in html:

    code in .css

    but the button dosn’t respond and not expanding iframe. Could you Yuri or somebody look what I did wrong?

    • This topic was modified 1 month, 1 week ago by abinabin.
    Attachments:
    You must be logged in to view attached files.
    #31379
    Yuri KovelenovYuri Kovelenov
    Developer

    Hi Abin,

    Try specifying the allowfullscreen property for your iframe element.

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #31389
    abinabin
    Licensee

    No, isnt working. I just don’t understand it. You say Yuri, that we need to build UI.html+ initialization of fullscreen-button to make other html elements visible during fullscreen.
    I just to try to understand why is it so complicated to implement the own button. I found here such a nice project:
    without extra extern files

    There are buttons, own fullscreen button, all is visible during fullscreen. There is no iframe, no extra css or html files.
    I can’t understand. ANd I messed actually completely my files, because I try and try and cry :)

    #31392
    Yuri KovelenovYuri Kovelenov
    Developer

    Sure you can go this way and just override the style of the default fullscreen button. Here are some hints:
    https://www.soft8soft.com/docs/manual/en/introduction/Styling-Verge3D-Apps.html#fullscreen_button

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #31395
    abinabin
    Licensee

    but overriding style isnt enough, then after that I go fullscreen and other buttons are gone again. Why is it like this?

    #31415
    abinabin
    Licensee

    Yuri, I removed all additional css+html and build this button via puzzle. It is also not working, why? I don’t understand. Is it bug in verge3d?

    Attachments:
    You must be logged in to view attached files.
    #31418
    abinabin
    Licensee

    I wish to have a template for that. I created now the new empty project and the first I did, is the fullscreen button. It is not working!

    #31429
    Yuri KovelenovYuri Kovelenov
    Developer

    I go fullscreen and other buttons are gone again

    try adding the additional button at the same level as the full screen button itself.

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #31430
    abinabin
    Licensee

    I don’t understand what you mean with the same level ?? What is the level of the fullscreen-button? Is the fullscreen button in industrial-robot on the same level? Or is another “level”. What is the meaning of the level?

    #31433
    abinabin
    Licensee

    I created this, could you please look what I did wrong?
    fullscreen-template

    #31436
    Yuri KovelenovYuri Kovelenov
    Developer

    what you mean with the same level

    html hierarchy

    Your link works for me. I had to remove display none and when I enter full screen mode the second button does not hide.

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #31437
    abinabin
    Licensee

    “I had to remove display none and when I enter full screen mode the second button does not hide”

    Where did you remove that “display none”? I don’t see that rule. And I am totally schocked, that it is working for you, it gives me hope

    #31439
    Yuri KovelenovYuri Kovelenov
    Developer

    I don’t know may be it’s cache?

    Attachments:
    You must be logged in to view attached files.

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #31441
    Yuri KovelenovYuri Kovelenov
    Developer

    and yes, your screenshot button is not inside the container element

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #31442
    abinabin
    Licensee

    aha, wait, now slowly I understand…i hope..I go for new test now, thank you as long, Yuri

    • This reply was modified 1 month, 1 week ago by abinabin.
Viewing 15 posts - 1 through 15 (of 17 total)
  • You must be logged in to reply to this topic.