Questions tagged as 'html5'

1
answer

Prevent submit to update part of a page

I have an html with the following code: function mostrar() { var x = document.getElementById('alerta'); if (x.style.display === 'none') { x.style.display = 'block'; } else { x.style.display = 'none'; } event.prev...
asked by 02.06.2018 / 21:13
1
answer

How to organize mosaic DIVs (with different heights)? [duplicate]

Help with organizing divs with float Post page with different heights, to present projects and news on a web page. example of the post list I try to make a grid where projects are shown in three columns, but sorted from left to righ...
asked by 04.02.2017 / 21:26
5
answers

Adjust Columns of 2 HTML tables

Currently I have 1 table (html) with 2 tables (html) whose problem is that when displayed on a small screen the headings are mismatched with the table My table (example): <table width="100%" > <tr> <table width="100%" >...
asked by 07.08.2018 / 19:40
1
answer

I can not get the path to the .css files right

I have the following structure for a project: And I can not get the css styles loaded. If header.php is inside includes and CSS files inside css why does not it work ../css/style.css ? What route do I have to put? /css/b...
asked by 12.10.2016 / 08:08
1
answer

Error in HTML5 Calculator: TypeError: Can not set property 'onclick' of null

I think the problem is in the declaration of variables the code is not yet complete because it lacks functions to assign but the basic functions are not working for me: addition, subtraction, multiplication and division. with them the numbers. P...
asked by 21.02.2018 / 20:58
2
answers

Autoplay does not play the video

I have a question with the following code <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Video</title> <script type="text/javascript"> function iniciar() {...
asked by 11.06.2018 / 13:50
3
answers

Change class css dynamically in javascript

I want to change the value of a property of a css class dynamically with javaScript For example, having: $(".miClase").css("visibility", "visible"); .miClase { visibility: hidden; } <script src="https://cdnjs.cloudflare.com/a...
asked by 17.12.2018 / 17:23
2
answers

How to remove all class l tags as long as they have a different id than a selected one?

This is the code I use to add the classes and then remove them, is working but if I have more menus the code is plowed giant and I do not want that to happen base_url = $('#base_url').val(); $("li#6").on('click', function() { url =...
asked by 11.05.2018 / 16:52
2
answers

How to make the placeholder align to the left

I want to align to the left because it is very far to the right <div class="login.page"> <div class="widget-shadow"> <div class="login-body"> <form action="thanks.html" onsubmit="validarformulario()">...
asked by 23.08.2017 / 17:06
2
answers

Detect when I'm doing scroll on an element

//Directive active view. app.directive("activeView", function ($window, $rootScope) { return function(scope, element, attrs) { angular.element($window).bind("activeView", function() { //variables condiciales va...
asked by 10.02.2017 / 17:53