jQuery Position Logic: Shouldn't this work in Safari?
This works in Firefox and even IE 6 but for some strange reason, it isn't working in Safari. I'm probably missing something in my code but I also noticed the same issue with the jquery site:
http://docs.jquery.com/UI/Position
If you hit that page with Firefox, the blue box appears on the right side. But if you hit it with Safari, the blue box appears on the left side.
Any thoughts on what's going on?
Thx.
$(document).ready(function() {
$("#myRedBox").position({
my: "left top",
at: "left top",
of: "#container"
});
$("#myBlueBox").position({
my: "right bottom",
at: "right bottom",
of: "#container"
});
});
Here's the full code:
http://jsbin.com/unebe5/2