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.

Just out of curiosity, can this “exec script” be recreated using puzzle blocks?

Home Forums Puzzles Just out of curiosity, can this “exec script” be recreated using puzzle blocks?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #86217
    Xnarf-888
    Customer

    I created my first configurator for a client. It’s amazing how easy this is with Verge3D.
    However, I have an “exec script” with the following javascript:

    var newText = “”;
    var elements = parent.document.querySelectorAll(“.cond87”);

    for (var i = 0; i < elements.length; i++) {
    elements.textContent = newText;
    }

    Just out of curiosity, can this be recreated using puzzle blocks?

    #86222

    Hi,
    Unfortunately, querySelectorAll is not yet supported in Puzzles, just querySelector. However this task is in our TODO list, so we’re going to support this feature eventually.

    Soft8Soft Tech Chief
    Want more Verge3D updates? Follow me on X, Facebook, or LinkedIn

    #86223
    Xnarf-888
    Customer

    :good: thnx, so it wasn’t due to my lack of knowledge.

    Now I just have to wait for the customer’s permission to share the link to my first configurator. Very happy with Verge3D.

    #86229

    Great, feel free to share!

    P.S. querySelectorAll feature has been revised and got higher priority. Expect it in the upcoming Verge3D update :yes:

    Soft8Soft Tech Chief
    Want more Verge3D updates? Follow me on X, Facebook, or LinkedIn

    #86415

    Done!

    Soft8Soft Tech Chief
    Want more Verge3D updates? Follow me on X, Facebook, or LinkedIn

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