Posts by Daniel Bonifácio • 951 points
55 posts
-
5
votes2
answers10981
viewsQ: Concatenate char variable text in printf
I need to concatenate the name of the person (variable) with a text. Following the logic, it would look like this #include <stdio.h> int main (void){ char nome[6]; printf("Ola! Insira seu…
-
1
votes1
answer1434
viewsQ: How to generate a "token" in the link bar with javascript?
I wanted to know if you can generate random characters in the link on a page, without having to change the address of the page. For example, when the person clicks on the link, they will be sent to:…
javascriptasked Daniel Bonifácio 951 -
3
votes1
answer1604
viewsQ: How to do "position: Fixed;" on top of everything?
I need to put a fixed div at the top of the screen (until then, just use the position: fixed), but not superimposed by other Ivs and images. It has to be on top of everything. "Organizing":…
-
4
votes3
answers2534
viewsA: Why doesn’t the height accept percentage?
Height accepts percentage yes. Look at an example: #tudo { width: 300px; height:300px; } .bloco-vermelho { width: 100%; height: 50%; background-color: red; } .bloco-verde { width: 100%; height: 50%;…
-
1
votes2
answers17110
viewsQ: How to adapt this login system to Javascript?
I need to create a simple internal login system to apply to a blog. I can’t make my code work at all, and I need help. This is the Code: <script language="JavaScript"> function Login(){ var…