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"
});
I also tried the following code where I supply the correct scope:
var doc = gBrowser.selectedBrowser.contentDocument;
$
('#duck', doc).position({
of
: $('#zebra', doc),
my: "left top",
at
: "left top"
});
Both without success.... on the other hand when I try the first code example at the web page code itself it work wonderfully...
I guess that the problem is that the of: '#zebra' doesn't indicate the scope of the element, and that of: can't get $('#zebra', doc) in order to find the element at it's scope... anyone got any idea how can I still use Position?
Cheers and thx in advance!
Nimrod Yonatan Ben-Nes
Nimrod Yonatan Ben-Nes