Advertisement
Guest User

Untitled

a guest
Nov 8th, 2011
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $(window).resize(function(){
  2.     $div = $("#theTable"); //id
  3.     $('<div id="overlay">').css({
  4.         top: $div.offset().top,
  5.         left : $div.offset().left,
  6.         width : $div.outerWidth(),
  7.         height : $div.outerHeight()
  8.     });
  9. });
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement