Jump to content

Czar

Members
  • Content Count

    430
  • Joined

  • Last visited

  • Days Won

    12

Czar last won the day on July 17

Czar had the most liked content!

1 Follower

About Czar

  • Rank

Contact Methods

  • Website URL
    numberworks.com

Profile Information

  • Location
    Auckland

Smart Mobile Studio

  • Edition
    Professional

Recent Profile Visitors

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

  1. Czar

    KaTex

    Thanks a lot that works sweet.
  2. Czar

    KaTex

    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}");
  3. My most significant challenge, I find, is making a webpage/app properly responsive. The tlayout is not inuitiove and has weird side effects. Will the new designer make it easier to create responsive programs? Also, side thought, the css is pretty extensive but also difficult and resistant to reskinning for a different look/feel.
  4. HI, I am keen make an app for our tutors to manage their shifts. The push notification system would seem to be an ideal solution for alerting tutors that their shift-roster is available or changes have been made. However, the demos above are no longer available. This is an area I have zero experience in so an example demo or other helpful information would be super helpful.
  5. Czar

    Getting user's input from input box

    Edit box?
  6. Czar

    TryStrToInt bug

    Ran into this issue again - who is looking after the codegen?
  7. Components on the visual form lose their name property if they are cut and paste. I use this quite often as I will use a panel to organise related editboxes, and labels. 1. drop a label on the visual forum and call it lbl1 2. now drop a panel on the form. 3. We will cut the label and paste it inside form. select the lbl + ctrl X. And then select the panel and ctrl + v to paste the label into the form. 4 . This works fine but the label is now call w3label1 It would be nice if the component retained the name property.
  8. Czar

    Editing "Color" as a property

    The colour property is irritating to use. It is not possible to edit directly, you cannot paste a value in the only way is bring up the colour picker. And even then you can can't paste in colour values in Hex you have to add them in one bye at a time. Could this property be opened up so we can simply type in $c0c0c0 etc
  9. Czar

    Radiogroup - change items text

    Ok, good work around - wasn't obvious for me
  10. It is not possible to change the text of a radiogroup item e.g., W3RadioGroup1.Add('test'); W3RadioGroup1.items[0] := 'it does not work'; as a workaround - I am removing and then inserting
  11. Czar

    window component

    Looks nice, unsure what I would use it for at the moment but good to see if here. You are undoubtedly aware that if mouse comes off the window the dragging stops.
  12. Czar

    reCaptcha

    Yes, without the backend check it is nothing. I am only putting it on our page becuase of one person's concerns about spammers
  13. Czar

    reCaptcha

    Well you made that look easy Works without a hitch,
  14. Czar

    reCaptcha

    I will check this out when I get home
  15. Czar

    reCaptcha

    I am trying to implement a "i am not a robot" into my website Basic HTML/JS looks like the following with a second step required to validate it server side. <script src="https://www.google.com/recaptcha/api.js"></script> HTML: <div class="g-recaptcha" data-sitekey="YOUR_KEY" data-callback="correctCaptcha"></div> JS: var correctCaptcha = function(response) { alert(response); }; I thought I could manage getting it to wok in SMS but I got very lost. I couldn't find examples that seemed to be a parallel challenge. It would be great to have some clear tutorial or case study to show how it is possible to integrate JS and or it would be good to a have google recaptcha component info link: https://stackoverflow.com/questions/27902539/how-can-i-validate-google-recaptcha-v2-using-javascript-jquery https://developers.google.com/recaptcha/intro
×