The goal
Mount a sufficient and smart folder structure for an application Rails 4 + Backbone .
The problem
As I am in Rails 4 and I still do not know how to deal with Asset Pipeline it + RequireJS (an...
I'm not able to pass a string in the format JSON to a controller of CodeIgniter via AJAX.
The string JSON:
var avaliacao= {"avaliacao":[{"pergunta":"Qual sua idade?"}[{"resposta_certa":"99","resposta_err1":"11","resposta_err2"...
I'm studying effects with Parallax and I'm trying to display a video in the background instead of an image. So I was able to create a nice effect using background image.
Here is my jQuery code:
$('[data-parallax]').each(function(){
var...
Is there any image manipulator similar to canvas or jimp to node.js ?
Explanation of why you do not want to use either:
So I was trying to use canvas as a test, and it takes a long time to compile the file, and...
I'm trying to subtract a date that the user types in the input with the current date.
var data1 = $("#data_viagem").val();
var data1 = data1.split("/");
var viagem = new Date(data1[2], data1[1], data1[0]);
var dateObj = new Date();
var m...
I wonder what I'm doing wrong. I'm using this plugin plugin to try to apply a CPF mask (need to be through the CDN) but when I enter the data in the field, nothing happens. Here is my head where I import the CDNS:
!DOCTYPE html PUBLIC "-//W3...
I'm developing a website, I want the code to change when the user enters the code, it can be with js or html .
Example (Visitor using Phone):
<a href="fb://page/1703826839873386" target="_blank"></a>
Example (U...
I have a site, and on the site the user when they log in will go to a page and that page should be full screen automatically without the user needing to click something.
I read that it is not possible for the browser to be full screen without...
Explaining my scenario, I use emberjs, and it encapsulates every Component within a Controller that will be encapsulated within a Router , and still has a schema of Model , Mixins , Helpers , this when there...