[jQuery] Quick question about dimensions
I've recently been exploring the jquery library and I apologize if
this is a silly question. But could someone post a simple example of
using the dimension library to position a div directly below a link. I
have tried something like this:
$("#insertLink").click(function(){
$("#insertDiv").offset($(this).offset());
$("#insertDiv").toggle();
});
but it doesn't seem to work. Am I missing something?