Questions tagged as 'html'

1
answer

Save page settings when reloading

Hello, I made a web page with a night mode option via a switch. I would like to know if it is possible to store the state of the switch for that person on the page when it enters a subpage etc. Currently, whenever I change the page it returns to...
asked by 06.08.2017 / 01:49
1
answer

Open web application executable

I have a code that opens software external to my application. <script> function run(file) { var ws; ws = new ActiveXObject("WScript.Shell"); ws.run(file); } </script> Only the external software opens o...
asked by 31.01.2017 / 14:31
1
answer

Page content going outside the parent element

I'm making a simple website with the following structure: <div class="front-page"> <main> <div id="hello"> <article> <header class="post-header"> <h2&...
asked by 09.02.2017 / 01:05
2
answers

How to make a background image fill the entire screen without losing image resolution

I have a part on my site where I need to put a background image occupying the entire screen, both width and height. I was able to do this with css. .intro { display: table; width: 100%; height: 100%; padding: 100px 0; text-align: cen...
asked by 09.02.2017 / 18:14
1
answer

How do I make a button process the same function more than once?

I am doing a Pomodoro Clock, it consists of a clock that is a countdown of 25 minutes, after that 25 minutes has a Short Break, which is a 5 minute break for rest. My HTML5 code has two buttons that when clicked trigger a function to start the c...
asked by 19.02.2017 / 17:51
2
answers

Invoke click and page submission

I will not post code on the question because I do not know the beginning. I have an HTML page and I want to know if it is possible, with PHP to invoke click action, etc., on selectors for example .classe#id . Example: <body>...
asked by 15.02.2017 / 04:50
1
answer

Action Form HTML

Well, I recently had a question when I analyzed some forms on web sites. I'll be quite straightforward. Because some HTML Forms in some web applications use a javascript code in their action, For example: action="javascript:sendForm('par...
asked by 13.12.2016 / 00:21
1
answer

How to do a text search and the Select tag together?

I'm here because I'm having trouble doing a search like any other with <input text> and "search" button only with the tag <select> where it contains in each <option> a value of the search. The questi...
asked by 01.11.2016 / 16:42
1
answer

Call PHP function at the click of a button

Good! I'm trying to call a PHP function at the click of a button. My solution so far: <?php $result = getResult($mysqli,"SELECT * from todos WHERE sender = '$username' AND status = '$value' AND journal = '$journal' ORDER BY expiration_d...
asked by 03.11.2016 / 13:48
2
answers

Pick position of element top, left of element according to parent element

I'm using offset from jquery to get the position of an element and I'm using draggable to move this element. The offset element is inside a div and I would like to get the position of the element by the parent element, not the entire document as...
asked by 08.10.2016 / 17:49