This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
CSS FUNCIONAL v1 | |
Criado em: 27/05/2013 | |
Atualizado em: 15/09/2014 | |
Desenvolvido por: Diego eis - www.github.com/tableless/css-functional-classes | |
Adaptado por : Luciano Barauna | |
*/ | |
/* FLOAT CLEAR - OVERFLOW E VISIBILITY */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"editor.fontSize": 14, | |
"editor.fontFamily": "Hasklig", | |
"search.exclude": { | |
"**/node_modules": true, | |
"**/bower_components": true, | |
"_BAK": true | |
}, | |
"workbench.iconTheme": "simple-icons", | |
"editor.renderIndentGuides": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function() { | |
$('.btnMenuFixo').click(function() { | |
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') | |
&& location.hostname == this.hostname) { | |
var target = $(this.hash); | |
target = target.length ? target : $('[name=' + this.hash.slice(1) +']'); | |
console.log(target.length); | |
console.log(target); | |
if (target.length) { | |
$('html,body').animate({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function() { | |
$.ajax({ | |
url: 'url json aqui', | |
dataType: 'jsonp', | |
data: 'chave_api', | |
beforeSend: function() { | |
console.log("FOI"); | |
}, | |
success: function(json) { | |
posts = json.posts; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(window).bind("load resize",function() { | |
$("poo").css("height", $(window).height()); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var elP = document.querySelector('#valor'), | |
arrayNumero = ['sala', 'coziha', 'banheiro', 'casa']; | |
elP.textContent = arrayNumero[Math.floor(Math.random()*4)]; | |
// var elBox = document.querySelector('.box'), | |
// arrayImagens = ["url('img/sala.jpg')", | |
// "url('img/cozinha.jpg')", | |
// "url('img/banheiro.jpg')", | |
// "url('img/casa.jpg')"]; | |
// elBox.style.backgroundImage = arrayImagens[Math.floor(Math.random()*4)]; | |
// console.log(elBox); |
NewerOlder