Posts by Nicolas Guilherme Matheus • 502 points
25 posts
-
0
votes1
answer429
viewsQ: Typescript error import * as Popper from "Popper.js";
I have an error in the terminal, I already installed @types/bootstrap @types/jquery and asked to install @types/Popper.js I did it but it is returning me this error:…
-
1
votes1
answer389
viewsQ: How to align images of different sizes in responsive layout?
I don’t know how to deal with the following problem. I was trying to work with the <li class="filme">, with its responsive size, but as each image has a variable size. When it reaches a…
-
0
votes1
answer69
viewsQ: How to receive ajax data in a vector?
Hello guys I’m trying to do this, but unsuccessfully: HTML: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> </head>…
-
0
votes3
answers2171
viewsQ: Update page automatically?
I have a web site, and I constantly update. However after these updates on the server, the site does not update alone on devices/desktop, need to press CTRL + F5 to update. The problem is that not…
-
2
votes1
answer4899
viewsQ: Phpmailer Could not connect to SMTP host
I am trying to send an email through the Phpmailer library, but I was not successful :/. Server: Hostgator Follows code: <?php $nome = $_POST["nome"]; $email = $_POST["email"]; $assunto =…
-
1
votes1
answer1058
viewsQ: Problem with PHP+Apache XAMPP redirection
The problem is this: Form file.php: <?php session_start(); ?> <form action="x.php" method="post"> <?php $_SESSION["urlName"] = $_SERVER["HTTP_HOST"] . $_SERVER["PHP_SELF"]; echo…
-
-1
votes2
answers4473
viewsQ: Undefined variable: _SESSION
I can’t seem to solve this problem :/, Form file.php: <?php session_start(); ?> <form action="x.php" method="post"> <?php $_SESSION["urlName"] = $_SERVER["HTTP_HOST"] .…
-
0
votes1
answer192
viewsA: URL REFERENCE + PARAMETERS VIA GET
Solution /questions/ask?aprovado=true&#comments I didn’t know & worked for this case. NOTE: I delete the topic or keep?…
-
0
votes1
answer192
viewsQ: URL REFERENCE + PARAMETERS VIA GET
how can I pass a URL similar to this? I want to leave something like this: /questions/ask#comments? approved=true I know that this way below, works correctly the 2: /questions/ask?approved=true…
-
2
votes1
answer399
viewsA: Set variable on jQuery selector
SOLUTION: CSS: .spanClass{ display: none; } HTML: <input type="text" name="nome" id="nome"> <span id="nomeSpan" class="spanClass"></span> jQuery: function mask(o,f){ v_obj = o;…
-
3
votes1
answer399
viewsQ: Set variable on jQuery selector
I saw some posts on the subject, but it did not help. the problem is this: CSS: .spanClass{ display: none; } HTML: <input type="text" name="nome" id="nome"> <span…
-
0
votes1
answer7322
viewsQ: How to create.php file using php?
The idea is to set up a news system, as soon as I fill out the news page and click publish, it should generate a file. php with the news content. Do this content I should be able to, I just wanted…
-
0
votes1
answer1312
viewsQ: How to call a function from a.js file in index.php itself in the script
I wonder how, I call a function of a file x.js, on a page x.html x.php whatever it takes. Example: x.js file: function myFunction(img){ // Faz algo } index.php file: <!DOCTYPE html> <html…
-
6
votes2
answers1008
viewsQ: How to scroll in Javascript?
I am at the beginning of the studies on JS, however, I am with a project, and I had the idea to make a bar Progress, however, this effect of the bar Progress will only happen, when the scroll…
-
11
votes1
answer262
viewsQ: How do I change the language of Git to English on Linux?
I’m using Git on the Linux terminal (Ubuntu), and it’s in English. In the master business Initial submission. nothing to send (create/copy files and use "git add" to register) How I can change Git…
-
1
votes1
answer139
viewsQ: for em onload Javascript
Why I don’t get to call the function showSeatStatus(i);? window.onload = function() { //Conecta os eventos de imagem de poltrona for (var i = 0; i < tamanhoMatriz; i++) {…
-
1
votes1
answer2054
viewsA: datatable does not work properly
Make that change to your code: Exchange that line $('#tabela1').dataTable(); for that $('#tabela1').DataTable(); OBS: Your . Datatable(); this so-called datatable(); the first lowercase. Correct…
-
2
votes4
answers258
viewsQ: How is this operator not working in this code?
Code: var i = 0, finished = false; while( (i < acentos.length) && !finished){ Question: I have a variable bool receiving false, and in my while I am denying her. If I’m denying a false…
-
0
votes3
answers7670
viewsQ: Display logged in user name
Example in file code index php.: <header> <input type="checkbox" id="btn-menu"> <label for="btn-menu" class="icon-menu"></label> <nav class="menu"> <ul>…
-
1
votes0
answers646
viewsQ: Heritage - Database Database?
I started to implement a bank, and I’m doubtful about the following: I have 4 tables Person Client Functionary Administrator. Cliente and Funcionario inherit from Pessoa and Administrador inherits…
mysqlasked Nicolas Guilherme Matheus 502 -
1
votes2
answers962
viewsA: CSS problem, does not work
Correction Friend of mine discovered the problem (it was right under my eyes). Follows the correction: <ul> <li><a href="#">Blusas e Camisas</a></li> <!-- Esse…
-
0
votes2
answers962
viewsQ: CSS problem, does not work
Some CSS commands are not working. Follow the commands: HTML <section class="menu-departamentos"><!-- inicio .menu-departamentos --> <h2>Departamentos</h2> <nav>…
-
0
votes1
answer71
viewsQ: Problem in CSS
Guys, I have a problem, I know this is functional, but it never worked for me. Follows the code: HTML <section class="menu-departamentos"> <h2>Departamentos</h2> <nav>…
-
-1
votes3
answers8546
viewsA: how to convert pixel to percentage? css
800 width = 100% ... each menu item has 70px. 800 = 100 70 = x 800x = 7000 x = 7000 / 800 x = 8,75% I got from a forum the answer on the pixels that I was in doubt. Basically you take the total…
-
1
votes3
answers8546
viewsQ: how to convert pixel to percentage? css
Hi, I’ve been learning a little bit about responsive websites, and.. so far the only solutions I found were, put different styles for each size. e.. the percentage, which in my view would be the…