Some Basic Javascript Problem

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;


//$("#form .close").click(closeContact);

function openContact(){
if(showingContact) return;
showingContact = true;
$("div#contact").css({display:"block", top:-700});

It wont aplly the css to the div or animate when i click on the link, someone have an ideia?

Thank you

The following variable highlighted in red is undefined, simply create this or set the value within the object.


Thank you very much!

Functioned like a charm!