Posts by Paulo Dos Santos • 376 points
15 posts
-
7
votes2
answers630
viewsQ: How to check if any text was selected before copying it?
I have a table with several information, in local server. I use a jQuery to detect when I click on a line and pass this information via GET. On the same page, I treat this information with PHP…
-
0
votes1
answer177
viewsQ: Enable select by selecting with jQuery
I conducted a cursory research on enabling a select when choosing an option in another select, but I couldn’t find anything that applied. $(document).ready(function() {…
-
0
votes1
answer437
viewsQ: Date input in jQuery
I am looking for a simple way to get the values of day, month and year separated from one input of the kind date, in jQuery. $( "#ano" ).html($( "input[type=date]" ).val( ) ); <script…
-
1
votes2
answers90
viewsQ: Onmousemove event with jquery
I’m trying to recreate this tooltip http://jsfiddle.net/HJf8q/ with jQuery. $(document).ready(function(){ $(".tooltip").mousemove(function(event) { $(".text").style.top = (event.pageY + 20) + "px";…
-
2
votes0
answers47
viewsQ: Pixel breaking creating false edge
I don’t know how to explain this situation. I created a tooltip using both CSS3 and HTML5 only. In normal size (100% zoom), on the left, the elements are blurred and it appears that there is an edge…
-
1
votes1
answer123
viewsA: How to use URL friendly?
Hello, Julia! Welcome! I usually use a user-friendly URL generator. https://www.generateit.net/mod-rewrite/index.php Original URL: http://www.qualquercoisa.com/postagem.php?id=79 URL friendly:…
-
1
votes2
answers611
viewsA: Java recursive function to calculate: e = 1 + 2/1 + 3/2 + 4/3 + 5/4 + ... + n/(n-1)
You should imagine that recursion is a logic that always repeats itself in all elements of a series. /** * Funcao para calcular: e = 1 + 2/1 + 3/2 + 4/3 + 5/4 + ... + n/(n-1) * * @param termos -…
-
1
votes2
answers270
viewsA: Language C - Structure jumps directly to ELSE ignoring IF parameters
Hello, Danilo! Welcome back! The solution to your problem involves some important concepts of structured programming C. A variable is a space in memory. It has name, address and can store a value.…
-
2
votes1
answer5848
viewsA: How to install a previous version in Angular
I believe it is enough to uninstall Angular globally and install version 4. npm uninstall -g @angular/cli npm cache clean npm install -g @angular/[email protected]
angularanswered Paulo Dos Santos 376 -
1
votes2
answers3057
viewsA: How to use svg images?
I found the solution to my problem! MIME Type was not set on the server. I added the following lines of code to the file .htaccess. AddType image/svg+xml svg AddType image/svg+xml svgz Source:…
svganswered Paulo Dos Santos 376 -
2
votes2
answers3057
viewsQ: How to use svg images?
I don’t understand and I can’t even use images svg in a web application. I downloaded the image https://svgur.com/i/8NF.svg and put it in the <img src="8NF.svg" class="logo"/>, but she doesn’t…
svgasked Paulo Dos Santos 376 -
0
votes0
answers27
viewsQ: Text type input element dropdown with javascript
I’m developing a login page, but the dropdown style of <input> changes in each browser. I have been searching and found that there is no way to change its style with CSS, because that style is…
-
3
votes1
answer778
viewsQ: Typedef struct with C character array not working
I’m trying to create a kind of constructive data, but I’m having problems with the strings. typedef struct { char nome[30]; int idade; } p; p x,y; x.nome = “ana”; x.idade = 20; y.nome = “caio”;…
-
0
votes1
answer1627
viewsA: System cannot find specified path
Solved! @echo off copy "%~dp0glut32.dll" "%WinDir%\System\" copy "%~dp0glut32.dll" "%WinDir%\System32\" copy "%~dp0glut32.dll" "%WinDir%\SysWOW64\" pause In which %~dp0 indicates the address of the…
-
-5
votes1
answer1627
viewsQ: System cannot find specified path
I am trying to create a script to configure Opengl in Dev-Cpp automatically. But I’m getting the message "the system can’t find the specified path". The file code . bat is this below: echo off cls…