Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Czar last won the day on December 10 2019

Czar had the most liked content!

1 Follower

About Czar

  • Rank

Contact Methods

  • Website URL

Profile Information

  • Location

Smart Mobile Studio

  • Edition

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. OK I tried your suggestion node WebSocketServer.js and then it works
  2. The ws folder was placed inside node_modules so I made a copy as a subfolder in output just in case
  3. [info] Program starting *** Cannot create process "\node.exe" --no-warnings --stack-size=1200 "C:\sms3\Projects\Featured Demos\Node.js\Websocket Server Example\output\WebSocketServer.js". [2] The system cannot find the file specified [info] Program stopped I have latest version node I have installed ws folder in output folder as suggested in file. Not sure how to proceed
  4. Just wondering how feasible would it be to use https://peerjs.com to connect two separate web sessions? What I am trying to achieve is to have a tutor and student working on their browser but the two instances of the exercise are linked. So when student types something in the tutor side is updated to show what was typed. Likewise, if tutor clicks a button that action can be transferred to the student side. If this appears feasible I would consider a commission or bounty to implement in an existing project depending on how much effort etc Alternatively would it be possible to show the tutor side a simple screen capture of the student side? If so where would I find information on that option.
  5. @jartothanks that answer was something like I was expecting. However, just so you are aware, when I have browserapi.window. then open is not an option by code insight. See image attachment
  6. This seems like an embarrassingly simple question but I can't figure it out. All I want is to be able to have the user click a button and open a URL in a new tab in their browser I cannot find any examples and searching throws up everything but a solution.
  7. I will have to wait until mid January when I get back from holiday
  8. nah, 3 screws up your logistics. On the plus side it is easier to ignore number three.
  9. Better get it out before third born arrives otherwise we will be waiting a while
  10. Czar


    Thanks a lot that works sweet.
  11. Czar


    Hi everyone, Once again I am trying to incorporate a JS library into my SMS files. https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.js https://katex.org/docs/api.html I can put the code below into the custom template <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.css" integrity="sha384-zB1R0rpPzHqg7Kpt0Aljp8JPLqbXI3bhnPWROx27a9N0Ll6ZP/+DiW/UqRcLbRjq" crossorigin="anonymous"> <!-- The loading of KaTeX is deferred to speed up page rendering --> <script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.js" integrity="sha384-y23I5Q6l+B6vatafAwxRu/0oK/79VlbSz7Q9aiSZUvyWYIYsd+qj+o24G5ZU2zJz" crossorigin="anonymous"></script> <!-- To automatically render math in text elements, include the auto-render extension: --> <script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/contrib/auto-render.min.js" integrity="sha384-kWPLUVMOks5AQFrykwIup5lo0m3iMkkHrD0uJ4H5cjeGihAutqP0yW0J6dpFiVkI" crossorigin="anonymous" onload="renderMathInElement(document.body);"></script> I would like to render a maths string into the caption of a label but I don't understand how I do that. I am hoping someone can help explain or show me how to set up KaTex inside the form and how to access the functions in the JS file.. lbl.caption := myKatex.renderToString("c = \\pm\\sqrt{a^2 + b^2}");
  • Create New...