Awesome! Thanks so much. It worked perfectly. Glenn
On 2/21/07, Brandon Aaron <[EMAIL PROTECTED]> wrote:
Hey Glen I've got a fix but it looks as if SVN is down right now. You can grab the patched version from here[1] but the revision and last modified tags will not be up-to-date until SVN is back up. [1]: http://brandon.jquery.com/plugins/dimensions/ -- Brandon Aaron On 2/21/07, Brandon Aaron <[EMAIL PROTECTED]> wrote: > Thanks for the report Glenn. I'm going to do some testing and see what > I can figure out. > > -- > Brandon Aaron > > On 2/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I am seeing some behavior in IE that I don't understand and that I don't see in Firefox. > > The offset is being shifted by the margins of the body. If I explicitly set the body to > > have no margin, it lines up, if I just leave the default, it is shifted. I can demonstrate > > it with: > > > > <html> > > <head> > > <script src="jquery.js"></script> > > <script src="dimensions.js"></script> > > <script> > > > > $(document).ready(function() > > { > > var offset = {}; > > var options = {} > > $("#bar").offset(options, offset); > > $("#movetest").css(offset); > > }); > > </script> > > > > <style> > > #movetest{ height: 100px; width: 100px; background: #dddddd; border: 1px solid black; > > position: absolute;} > > #bar {height: 100px; width: 100px; background: #eeeeee; border: 1px solid #dddddd;} > > > > </style> > > </head> > > <body> > > > > <div id="bar"> > > </div> > > > > <div id="movetest"> > > </div> > > > > </body> > > </html> > > > > > > _______________________________________________ > > jQuery mailing list > > [email protected] > > http://jquery.com/discuss/ > > > _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
