Questions tagged as 'html5'

3
answers

How to change background color only to certain elements of a grid?

Greetings! I need a little help with a CSS theme, the thing is that I'm developing a Wordpress project and I use a plugin to display the posts on a grid. The theme is that I have placed 3 columns, each photo has a button "Read more", however, in...
asked by 06.11.2018 / 03:17
1
answer

How to move an image that I am inserting canvas with the mouse

Could you please help me, what I want to happen is that I can insert an image that is canvas and that image move it with the mouse over a box ... This inserts but when you click on the image, it disappears . THANK YOU !!! document.getEle...
asked by 26.09.2018 / 08:21
1
answer

I can not center horizontally a div child of a container div with flexbox

I can not horizontally cen a div with flexbox. I have a half query for mobile screens @media only screen and ( max-width: 479px ) { .filadisco1 { display: flex; width:280px; justify-content:center; flex-direction:column; align-content: center...
asked by 26.09.2016 / 16:38
1
answer

Attribute set to false comes out as true

I'm trying to create a function in Javascript with which to check the inputs with the required attribute in true. The problem is that although this is specified as false, the result it gives is true. Sample code: var serial_no = do...
asked by 09.08.2018 / 09:01
1
answer

Notification JS, can it be customized?

I have followed these steps to make a notification on my website: link link And this is what I have: $(document).ready(function() { theBody = "" + "<div style='background: #0055a0; color: #ffffff'>" +...
asked by 09.08.2018 / 17:43
1
answer

How do I double click on some html element and that I'm directed to a new page with javascript?

This helps me but what interests me is linking to a page in this case a form, but I would like to know how it can be done in javascript within the dblClick function <script type="text/javascript"> $(document).ready(function(){ $...
asked by 07.08.2018 / 07:06
1
answer

How to choose a color / css

How can I select a color with gray border? .color-picker { font-size: 0; } .color-picker__item { display: inline-block; } .color-picker__item + .color-picker__item { margin-left: 10px; } .color-picker__item:hover { curs...
asked by 26.06.2018 / 14:14
1
answer

How can I replace the JavaScript alert message by text with the error using jquery [duplicated]

I need to replace the alert by inserting the error text, and not display that text and / or delete it when there is no error in the data entered. [ $(document).ready(function() { $("button").on("click", function() {...
asked by 13.05.2018 / 18:04
2
answers

avoid predictive text in html form

Dear I have a form that when someone enters from an android phone with predictive text this at the time of entering the rut or dni begins to fill and duplicate automatically. I want to know how to avoid it <form method="POST" target=...
asked by 24.05.2018 / 18:22
1
answer

ERROR 500 when sending php form [closed]

It's burning my head !!! when I send a php form I get "ERROR 500" instead of sending it .... I share the code to see if someone finds what I do not: ( html code: <div id="contact_form"> <form action="contact.php" id="form1" name="...
asked by 23.08.2018 / 15:09