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.

Puzzles detecting/responding to Javascript functions/events in HTML file?

Home Forums Programming Puzzles detecting/responding to Javascript functions/events in HTML file?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #84196
    c4cc
    Customer

    As I’m trying to detect user input during app initialization, I’ve decided to use javascript clickcount for fullscreen function in my html file. I want puzzle variables to increase to certain values whenever there’s one clickcount whenever fullscreen element in html is clicked on, and decrease to another value when Esc key is pressed during fullscreen.

    html:

    javascript:

    So which puzzles can I use to respond to the Javascript clickcount occuring in html file?

    • This topic was modified 1 month, 3 weeks ago by c4cc.
    • This topic was modified 1 month, 3 weeks ago by c4cc.
    • This topic was modified 1 month, 3 weeks ago by c4cc.

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

    #84201

    Hi,
    There are several options how you can integrate JavaScript with Puzzles. Please check out this info.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #84262
    c4cc
    Customer

    Unfortunately I need the Javascript to respond to user events in HTML file script, and the advanced puzzles, such as call external function and exec script only interact with Javascript in the application .js file of the app.

    How can I get puzzles to detect/respond to Javascript for user events in HTML?

    https://postimg.cc/1gpVKgZZ

    https://postimg.cc/FdrzgDZj

    https://postimg.cc/v4wQt08c

    https://postimg.cc/f3BDZZc9

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

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

    #84399
    c4cc
    Customer

    Hi,
    There are several options how you can integrate JavaScript with Puzzles. Please check out this info.

    Is this true?

    https://postimg.cc/rzwXQn1C

    Also, can exec script can interact with other javascript in html page the verge3d is in? Because exec script and call external function puzzles are only shown so far interacting with javascript from application.js, not javascript from the html page containing the iframe

    Edit:
    SOLVED: fullscreen error is solved in this post and the last. Fullscreen puzzle variables values’ now can be updated when fullscreen and reset to default values when smallscreen

    :good:

    • This reply was modified 3 weeks, 3 days ago by c4cc.

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

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