[#] hm X_Shell Backd00r [#]
// JavaScript scripts
$(document).ready(function(){
$('#contenidoresumen').fadeOut(0);
$('#visibilidadresumen').css("background-image", "url(img/hide.png)");
$('#visibilidadresumen').click(function(){
if($('#contenidoresumen').is(":visible")) {
$('#contenidoresumen').fadeOut(200);
$(this).css("background-image", "url(img/hide.png)");
} else {
$('#contenidoresumen').fadeIn(200);
$('#visibilidadresumen').css("background-image", "url(img/show.png)");
}
});
$('#resumenmuro').mouseleave(function(){
$('#contenidoresumen').fadeOut(200);
$('#visibilidadresumen').css("background-image", "url(img/hide.png)");
});
/*---------------------------------------------------------------------------------------------*/
$('#contenidoresumen1').fadeOut(0);
$('#visibilidadresumen1').css("background-image", "url(img/show.png)");
$('#visibilidadresumen1').mouseover(function(){
if($('#contenidoresumen1').is(":visible")) {
$('#contenidoresumen1').fadeOut(200);
$(this).css("background-image", "url(img/hide.png)");
} else {
$('#contenidoresumen1').fadeIn(200);
$('#visibilidadresumen1').css("background-image", "url(img/hide.png)");
}
});
$('#resumenmuro1').mouseleave(function(){
$('#contenidoresumen1').fadeOut(200);
$('#visibilidadresumen1').css("background-image", "url(img/show.png)");
});
});
/*---------------------------------------------------------------------------------------------*/
$(window).load(function(){
//$(window).height()
var alto = 147;
$('#resumenmuro').css("min-height" , (alto));
$('#resumenmuro').css("max-height" , (alto));
$('#contenidoresumen').css("min-height" , (alto));
$('#contenidoresumen').css("max-height" , (alto));
$('#visibilidadresumen').css("min-height" , (alto));
$('#visibilidadresumen').css("max-height" , (alto));
$('#resumenmuro1').css("min-height" , (screen.height - 382));
$('#resumenmuro1').css("max-height" , (screen.height - 382));
$('#contenidoresumen1').css("min-height" , (screen.height - 382));
$('#contenidoresumen1').css("max-height" , (screen.height - 382));
$('#visibilidadresumen1').css("min-height" , (screen.height - 382));
$('#visibilidadresumen1').css("max-height" , (screen.height - 382));
if(window.innerWidth < 1200) {
$('a').hide();
} else {
$('a').show();
}
});
$(window).resize(function(){
if(window.innerHeight < 130) {
$('#resumenmuro').hide();
} else {
$('#resumenmuro').show();
}
if(window.innerWidth < 1200) {
$('a').hide();
} else {
$('a').show();
}
if(window.innerHeight < 382) {
$('#resumenmuro1').hide();
} else {
$('#resumenmuro1').show();
}
var alto = window.innerHeight - 200;
$('#resumenmuro1').css("min-height" , (alto));
$('#resumenmuro1').css("max-height" , (alto));
$('#contenidoresumen1').css("min-height" , (alto));
$('#contenidoresumen1').css("max-height" , (alto));
$('#visibilidadresumen1').css("min-height" , (alto));
$('#visibilidadresumen1').css("max-height" , (alto));
});
/*---------------------------------------------------------------------------------------------*/
Mr.hm X_Shell Backd00r 1.0, Coded By Mr.hm X_Shell Backd00r