Using the new jQuery Position utility script at an FF extension
- by Nimrod Yonatan Ben-Nes
Hi all,
I'm trying to use the following code at my FF extension with no success:
$('#duck').position({
of: $('#zebra'),
my: "left top",
at: "left top"
});
(the Position manual is at http://docs.jquery.com/UI/Position)
I also tried:
var doc = gBrowser.selectedBrowser.contentDocument;
$('#duck', doc).position({
of: $('#zebra',…