SyntaxFix
Write A Post
Hire A Developer
Questions
You can use the .position() for this
var link = $(element); var position = link.position(); //cache the position var right = $(window).width() - position.left - link.width(); var bottom = $(window).height() - position.top - link.height();