Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Ingolme

  1. The file:/// protocol would be used for this, but browsers don't allow websites to load Javascript files from your filesystem for security reasons.
  2. Please do not reply to old topics.
  3. Wikipedia and other sources use images to represent mathematical expressions on a page. HTML is not well equipped to represent them. There is an XML-based language called MathML, but it is not well supported by browsers.
  4. You have a semi-colon ; in the middle of the statement which is causing the problem. data[i].eosTxPort; + "<br>"
  5. If instead of bootstrap you use CSS, you can use the flexbox: https://www.w3schools.com/css/css3_flexbox.asp With the align-items CSS property, you can make all of the items in the flexbox have the same height. To display a different amount of items per row, you can enable flex-wrap and give each box a percentage width using media queries.
  6. There is already a topic for this question here:
  7. It is valid HTML, but it would be better for search engines if the content between the <header> tags was also wrapped in <h2> tags. The tags in the article block would then be <h3>.
  8. It looks like you have two different variables, $oldnode and $oldNode.
  9. I'd suggest using an iframe instead.
  10. CSS preprocessors cannot do anything more than native CSS does, because they compile to native CSS. Only Javascript can do this.
  11. Create email accounts? That is pretty complicated, I'm afraid I wouldn't know where to begin with that.
  12. HTML cannot send emails, but a server-side programming language can. PHP is one of the easiest to learn. You can learn how to send mail from PHP here: https://www.w3schools.com/php/func_mail_mail.asp You can learn how to gather form data from an HTML page here: https://www.w3schools.com/php/php_forms.asp
  13. What is the path to your video file and what does your HTML look like?
  14. It's a mistake. Javascript does not require a semi-colon at the end of a line, but it is preferable to put one because you never know when your script might have it line breaks removed.
  15. Personally, I don't like to follow trends. I evaluate each technology and determine whether it fulfills my needs or not.
  16. A server-side language will be needed if you want to receive data from people filling out the form. Javascript would not be able to achieve it.
  17. I can only speak for myself, but my answer is: If the task you want to accomplish can be done in a browser, you probably don't need an app at all, PWA or otherwise. I notice a lot of companies trying to get users to download an app which is basically just an alternative way to navigate their website. If I was interested in building an app that works in the browser, I would not use PWA since I can build the app in native Javascript which allows more freedom and control over how the application is built. There is nothing that Google's PWA framework can do which cannot be done in native Java
  18. It sounds like you are importing some packages with another class named "String". You have to specify java.lang.String because you have imported a different String class and it assumes you meant that other one.
  19. I have not worked directly with it, but PHP has the IMAP extension to interact with mail servers. https://www.php.net/imap This page indicates how to open a connection: https://www.php.net/manual/en/function.imap-open.php This function returns message IDs for items in the inbox: https://www.php.net/manual/en/function.imap-search.php fetchbody() and other fetch functions will give you data about an email give its ID: https://www.php.net/manual/en/function.imap-fetchbody.php
  20. scroll-behavior is not a valid HTML attribute. If you want a link to scroll smoothly you can cancel the click event and use the scrollIntoView() method. Update You must be referring to the scroll-behavior CSS property: https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior You need to put that in a CSS stylesheet, it is not HTML. It's also not properly supported by all major browsers.
  21. If you have a web host, they should provide the information to you. If you run the server yourself, you will have to create a user either through the command line or a GUI if it is available. How this is done depends on what SQL server software you're using.
  22. I am not sure you even read the question. You consistently provide incorrect or irrelevant answers to questions.
  23. Ingolme


    The "=" following the "button" tag name should not be there.
  24. An API is the only secure option. It's not exactly easy to implement, I don't think there are tutorials for it but you could search on google for PHP API tutorials. This is one of those things that are too specific to each situation to make a general tutorial out of it. Generally, information is sent to an API in JSON format. On your server's end, to read a JSON string sent through POST you could use file_get_contents('php://input') and then json_decode() it. $raw_data = file_get_contents('php://input'); $data = json_decode($raw_data, true); The JSON structure is entirely up t
  25. This is an example of loading a document from a string using DOMDocument: https://www.php.net/manual/en/domdocument.loadxml.php It looks like for SimpleXML, you can use simplexml_load_string(): https://www.php.net/manual/en/function.simplexml-load-string.php
  • Create New...