Questions tagged as 'html'

2
answers

Hide Menu when clicking on the outside

I have a slightly simple side menu that has a Toggle event that shows and hides said menu by clicking on its respective button. I would like you to help me to make sure that when you click on any part of the page outside the menu, it is...
asked by 18.06.2018 / 16:53
1
answer

Add Attribute to inputs but with same class

I have different inputs type checkbox with a value ="{"valor":"1"}" or value ="{"valor":"0"}" . For example: <input type="checkbox" id="switch" name="switch" value ="{"valor":"1"}" "> <input type="checkbox"...
asked by 12.06.2018 / 17:14
2
answers

Can constants be added as a parameter to a require_once in php?

Good morning, I'm starting in this PHP, I have a doubt, to add files to a php is necessary to do the following: require_once '../rutafichero/fichero.php'; My question is, assuming that at some point you have to change the name of the file p...
asked by 12.06.2018 / 17:16
2
answers

Implement an image - text in block with html and css

Good morning I hope you find yourself very well, What I need from your knowledge is to be able to implement this structure with html and css. The image occupies half screen and goes to the corner (left, right). And the text goes in the...
asked by 11.06.2018 / 06:04
1
answer

Correct way to send an empty parameter

I have this code <html> <head> <title>Top</title> </head> <frameset rows="70,*,15" border="0"> <frame src="test.asp" scrolling="no" noresize="noresize" name...
asked by 19.06.2018 / 17:42
0
answers

How to compare the value of an input text with a value of a csv file

Hello, I am doing a validation of the value of an input type text, and I want to validate it if it exists in a csv file, if it exists that performs certain actions, I was doing it with switch case, but they are more than 200 numbers of series....
asked by 20.06.2018 / 01:52
1
answer

Avoid the browser's autoscroll when updating a div

I am implementing a dynamic content website. In particular, I have a "div" which I will update its content in the following way: This is the "div": <div id="informationONDevices"></div> I proceed to delete its contents: doc...
asked by 08.06.2018 / 23:44
0
answers

Problems in the application login

I'll post this question in a more detailed way waiting for your help ... 1.- I have an index.php screen that keeps two fields as any login where the user must enter and the password <form role="form" id="acceso" name="acceso" method="pos...
asked by 13.06.2018 / 16:46
2
answers

Delete JSON element with a value

I have a JSON that I get from localStorage where I keep the names of the players and their scores for a game, then I receive them in 2 separate variables to be able to modify the score and increase its value if the player wins. What I want to do...
asked by 09.06.2018 / 15:51
1
answer

get position of a div with SCROLL

I have for example a div at a certain point on the page what I want is that when the scroll is in the same position as that div I execute a function, for example: if(Scroll == div){div.innerHTML="altura es ???'" ;} I tried to...
asked by 08.06.2018 / 16:38