Recargado PTT « visit
This is my Source Code and I don't want to show it here
View Source Code only (as overlay)
// That code snippet belongs to Recargado PTT - http://recargadoptt.cl
$(function() {
// menu lavalamp para todos menos IE6
jQuery.each(jQuery.browser, function(i, val) {
if(i!=="msie" && jQuery.browser.version.substr(0,3)!=="6.0")
$("#menu_principal").lavaLamp({
fx: "easeinout",
speed: 400
});
});
// carrusel destacados
/*
$("#destacados .caja").jCarouselLite({
auto: 5000,
speed: 2000,
easing: "easeinout"
});
*/
// Google Maps
$("#mapa a").fancybox({
frameWidth: 645,
frameHeight: 485,
overlayShow: true
});
//validacion y envio form contacto
$('#formContacto').submit( function(){
var elementos = $('#formContacto input, #formContacto textarea');
elementos.prev('label').removeClass('error');
var hasError = false;
elementos.each(function() {
if(jQuery.trim($(this).val()) == '') {
var labelText = $(this).prev('label').addClass('error');
hasError = true;
}
});
if(hasError) {
return false;
}
else {
$('#contacto').hide().parent().addClass('loader');
$.get('includes/php/send.php',{nombre:$('#nombre').val(), email:$('#email').val(), mensaje:$('#mensaje').val()},
function(data){
$('#formContacto').removeClass('loader').append('<p class="exito"></p>');
$('.exito').hide().append('Gracias, pronto te responderemos.').fadeIn(1500);
});
return false;
}
});
// bordes redondos
$('.caja').corners('15px transparent');
// $('h4').corners('10px transparent');
// globo contacto
$('#globo_contacto').hide();
$('.contacto').click(function(){
$('#globo_contacto').hide().fadeIn('slow');
setTimeout(function(){
$('#globo_contacto').fadeOut('slow');
}, 3000);
});
});
Syndicate
Categories
Statistics
There are 330 Sites with 745 Links of Interest in 18 Categories. The latest Site was added 4 months ago.
About
This is a project by Sebastian Senf, for his part jQuery user and lover too. Follow me.