When running the jquery below on document ready, I get a not implemented error on the assignment of top. If that line is removed, the assignment of left works just fine. I’m developing in an IE7 environment. Is this a browser implementation issue?
top = $(window).height();
left = $(window).width();
Oh, it has nothing to do with the jQuery code. window.
topmeans something in JavaScript and since you do not delcare var, you are trying to override it! So you should Always scope your variables and if it needs to be global, change your variable name.