Hello everyone,
Im new to javascript&jquery and im trying to implement a new form of contact.
The page is this one:
The javascript code im using:
var showingContact = false;
//setButtons
$("a[rel=contact]").click(openContact);
//setContact
//$("#form .close").click(closeContact);
function openContact(){
if(showingContact) return;
showingContact = true;
$("div#contact").css({display:"block", top:-700});
$("div#contact").stop().animate({top:formY},800,"easeOutQuint");
}
It wont aplly the css to the div or animate when i click on the link, someone have an ideia?
Thank you