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.

Event listener HTML element generated after iframe load

Home Forums General Questions Event listener HTML element generated after iframe load

Tagged: 

Viewing 10 posts - 16 through 25 (of 25 total)
  • Author
    Posts
  • #84660
    c4cc
    Customer

    Yes, the fullscreen element’s ID is “fullscreen”. This element’s inside the parent HTML containing the iframe for my app

    FPS trialproduct 20.9.25 https://postimg.cc/gallery/LMM5vkQ/af43346e

    #84661
    Pandern
    Customer

    Ok. Why is the ‘init fullscreen’ puzzle inside the procedure ‘FullScreenStats’? It wont be triggered inside there.

    #84662
    c4cc
    Customer

    I need puzzle variables’ values to be changed before app loads whenever parent html’s element with fullscreen event listener/function is clicked on, and back to original after fullscreen is exited before app loads.

    So how do I change puzzles’ variable values before app loads via parent html’s element with fullscreen event , and back to default after fullscreen is exited before app loads?

    • This reply was modified 2 months, 1 week ago by c4cc.
    • This reply was modified 2 months, 1 week ago by c4cc.

    FPS trialproduct 20.9.25 https://postimg.cc/gallery/LMM5vkQ/af43346e

    #84665
    Pandern
    Customer

    I see. You don’t really need to set the variables on the init tab, only bring a value over to the main tab if the fullscreen button is clicked while initiation, and then set the values accordingly:

    init Tab

    main Tab

    edit: i left the “fullscreen-button” ID on the main tab, this was only for testing and yours should read “fullscreen” of course

    • This reply was modified 2 months, 1 week ago by Pandern.
    #84667
    c4cc
    Customer

    While this works, how do I get the puzzles’ variables’ values to go back to default when exiting fullscreen while the app is loading? Thanks again.

    Only at this loading can those variables’ values go back and forth after fullscreen is exited when clicked on:

    But here, if fullscreen is exited, the puzzles’ variable values do not go back as intended for a small window. But when it’s not fullscreen here, and fullscreen is clicked, the variables update as intended

    • This reply was modified 2 months, 1 week ago by c4cc.

    FPS trialproduct 20.9.25 https://postimg.cc/gallery/LMM5vkQ/af43346e

    #84670
    Pandern
    Customer

    That may be because there are two ‘init fullscreen’. Can you share screenshots of the new puzzles? Both init and the main tab

    #84671
    c4cc
    Customer

    Init tab:

    main tab:

    FPS trialproduct 20.9.25 https://postimg.cc/gallery/LMM5vkQ/af43346e

    #84674
    Pandern
    Customer

    It looks good. For testing purposes, can you add a print to console for ‘on enter do’ and ‘on exit do’ for both init tab and main tab with different text that prints. So that we can se which init fullscreen is used each time you click fullscreen.

    #84675
    c4cc
    Customer

    Print to console fullscreen – init

    Print to console fullscreen – main tab

    Fullscreen that actually let me switch back and forth between variable values while screen init

    Fullscreen that can’t switch back and forth between default and fullscreen values when fullscreen activated during init:

    FPS trialproduct 20.9.25 https://postimg.cc/gallery/LMM5vkQ/af43346e

    #84738
    c4cc
    Customer

    ATM I think I’ve enabled switching back to small screen’s puzzle variables values’ from fullscreen’s puzzle variables values:

    FPS trialproduct 20.9.25 https://postimg.cc/gallery/LMM5vkQ/af43346e

Viewing 10 posts - 16 through 25 (of 25 total)
  • You must be logged in to reply to this topic.