All Questions

3
answers

How to let embed YouTube responsive on the site, when I open I want Width to appear 100%

I already have several embed on my website however I do not want to go there and change 1 to 1. what I want is a code to change all Iframes , with 100% width and height adjust responsively. .conteudo{ background-color:#f1f1f1;...
asked on 16.10.2017 / 16:55
3
answers

Execute function after some time

Hello, I have the following code (just studying): $('#test').hover(function(){ $('.box-one, .box-two, .box-three').hide(); $(this).removeClass('test').addClass('another-test').stop().animate({'height':'210px'}); $('.my-...
asked on 16.03.2014 / 15:36
2
answers

Error declaring Javascript objects

function Casa() { var nome; var idade; function exibeInformacao() { console.log("O seu nome e: "+this.nome); console.log("Sua idade e: "+this.idade); } } var familia = new Casa();...
asked on 11.09.2014 / 19:36
2
answers

View div on hover

How to display a div, which will have a summary about the movie (text), and a button for (VIEW MORE) when hovering over an image. Example: <a href="#">IMAGEM</a> When you hover over this link, a div appears to the right with...
asked on 17.02.2014 / 10:36
3
answers

Selected date comparison with the current date JS

I've already searched the internet and right here on the site, but I could not find any clean and working way to do that. I need JS to compare the date in the field (which will be in a DD / MM / YYYY format) and compare with the current date...
asked on 12.05.2015 / 17:01
5
answers

JSON accent

I'm having an accent problem when I start JSON. If I use characters like ã, õ, ô, ç, some codes appear. I do not know if it influences, but the column is Collation "utf8_general_ci". search.php : $response = array(); require_once __DIR__...
asked on 25.05.2015 / 21:15
3
answers

getting description with EnumDropDownListFor asp.net mvc5

How do I get the description using the Asp.net MVC 5 html EnumDropDownListFor helper? I have my enumerator public num Dias { [Description("Segunda dia de trabalho")] Segunda = 1, [Description("Terçadia de trabalho")]...
asked on 28.08.2014 / 16:12
2
answers

Where to create macros in C?

In terms of good programming practice, if I want to create a macro, for example, a macro that has more or less 30 lines of code, should I implement it in the file .c or .h ? What is good practice?     
asked on 16.07.2015 / 16:01
4
answers

Select between dates in Mysql

Good afternoon, I have the following problem: I have a DATA_ENTRATE column of type date and I need a select that compares to DATA_ENTRATE and the " current date " (eg today is 28/08/2015, tomorrow would be 08/29/2015), and return me on...
asked on 28.08.2015 / 21:36
4
answers

Unidentified error in Jquery

This error occurred in my script, but in my script it does not have this line break that the error is showing. The error description is exactly this: Uncaught Syntax Error: Unexpected Token ILLEGAL Does anyone know exactly why this error...
asked on 12.04.2016 / 16:08