This file contains 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
$('.addtooltip').each(function() { | |
var title = $(this).attr('title'); | |
$(this).data('tipText', title).removeAttr('title'); | |
}).hover(function(){ | |
$('<p class="tooltipx"></p>').text($(this).data('tipText')).appendTo('body').fadeIn('slow'); | |
}, function() { | |
$('.tooltipx').remove(); | |
}).mousemove(function(e) { | |
var mousex = e.pageX + 20; | |
var mousey = e.pageY + 25; |
This file contains 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
$(".acordion-title").click(function() { | |
$nextdiv = $(this).next("div"); | |
if($nextdiv.is(":visible")){ | |
$nextdiv.slideUp(); | |
$('span',this).removeClass('menos'); | |
} else { | |
$(".acordion-desc").slideUp(); | |
$(this).parent().find('.acordion-title span').removeClass('menos'); | |
$('span',this).addClass('menos'); | |
$nextdiv.slideToggle(); |
This file contains 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
<div class="js-include" title="nav.html"></div> |
This file contains 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
defaults write com.apple.finder AppleShowAllFiles TRUE; killall Finder | |
defaults write com.apple.finder AppleShowAllFiles FALSE; killall Finder |
This file contains 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
<!-- en el header --> | |
<meta property="og:title" content="Titulo del sitio" /> | |
<meta property="og:description" content="Descripcion" /> | |
<meta property="og:type" content="website"/> | |
<meta property="og:url" content="http://sitio.com.ar" /> | |
<meta property="og:image" content="http://sitio.com.ar/images/logo.png"/> | |
<!-- para ver si se ve bien |
This file contains 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
<?php | |
/* | |
* | |
* | |
* Crop desde arriba de las imagenes | |
* | |
* | |
*/ |
This file contains 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
open /Applications/Google\ Chrome.app --args --allow-file-access-from-files |
This file contains 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
<?php | |
/** | |
* Mobile Detect Library | |
* ===================== | |
* | |
* Motto: "Every business should have a mobile detection script to detect mobile readers" | |
* | |
* Mobile_Detect is a lightweight PHP class for detecting mobile devices (including tablets). | |
* It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment. | |
* |
This file contains 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
<?php | |
/* | |
* | |
* | |
* Usar mails para el login en vez de usuarios | |
* | |
* | |
*/ | |
remove_filter( 'authenticate', 'wp_authenticate_username_password', 20, 3 ); |
This file contains 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 smooth(){ | |
$('a.toscroll').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) + "]"); | |
if ( target.length ) { | |
$("html, body").animate({ scrollTop: target.offset().top - 120}, 1000); | |
return false; | |
} | |
} |