Contacto Temploestetic

Dirección

C/ Jerónimo Muñoz, 27 (junto jefatura de tráfico) | Valencia | 46017

Contacto

info@temploestetic.com
96 341 48 86 | 691 38 94 26
www.temploestetic.com

 

 

 

Close

Contacto Temploestetic

Dirección

C/ Jerónimo Muñoz, 27 (junto jefatura de tráfico) | Valencia | 46017

Contacto

info@temploestetic.com
96 341 48 86 | 691 38 94 26
www.temploestetic.com

 

 

 

/*-------------------------------------------------- CONTACT POPUP WINDOW CODE ---------------------------------------------------*/ jQuery(document).ready(function($) { $('a.contact-button').click(function() { var curY = $(this).offset().top; var loginBox = $(this).attr('href'); //Fade in the Popup $(loginBox).fadeIn(300); var popMargTop = ($(loginBox).height() + 24) / 2; var popMargLeft = ($(loginBox).width() + 24) / 2; //alert(popMargTop + " " + curHeight); $(loginBox).css({ 'margin-top' : -popMargTop, 'margin-left' : -popMargLeft }); var newY = $(loginBox).offset().top; if (newY < 0){ $(loginBox).css({ 'margin-top' : 0 }); } $('body').append('
'); $('#contact-mask').fadeIn(300); return false; }); $('a.close, #contact-mask').live('click', function() { $('#contact-mask , .contact-popup').fadeOut(300 , function() { $('#contact-mask').remove(); }); return false; }); }); /*-------------------------------------------------- MAP HEIGHT FIXER ---------------------------------------------------*/ jQuery(document).ready(function($) { if ($("#contact-intro").length){ var button_y = $("#contact-intro").offset().top var windowHeight = $(window).height(); if (button_y > windowHeight){ var current_height = $('#bra-map-fullwidth').height() var new_height = parseInt(current_height - (button_y - windowHeight)) + -200; var new_height_2 = new_height -80; $('#bra-map-fullwidth').css("height", new_height_2 + "px") $('#wrapper.fullwidth').css("height", new_height + "px") } } });