Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(window).resize(function(){
- $div = $("#theTable"); //id
- $('<div id="overlay">').css({
- top: $div.offset().top,
- left : $div.offset().left,
- width : $div.outerWidth(),
- height : $div.outerHeight()
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement