Dimensions 1.1.2

Release early, release often. In the 1.1.1 update there was a regression in Safari with calculating the window width and height. I also fixed a bug in getting the offset of table cells with borders in Mozilla. As usual, you can report bugs, request features and download Dimensions 1.1.2 from the Dimensions project page.

10 Responses to “Dimensions 1.1.2”

  1. apaella Says:

    Please take a look to http://jquery.com/plugins/project/Absolutize, a small plugin like scriptaculous’s absolutize.

    tkz for you great work!

  2. Jonathan Says:

    Just to let you know the dimensions site seems to be broken in Safari 3 (Mac). When I click on the api tab it displays for a fraction of a second and then returns to the main page

  3. Brandon Aaron Says:

    Thanks Jonathan. I recently just moved the documentation to the jQuery docs wiki: http://docs.jquery.com/Plugins/dimensions

    I hope to add some examples soon .. or that someone else will! :)

  4. edward Says:

    Hi, not sure if this is the appropriate place to post this, but dimensions outerwidth and innerwidth functions seem to be broke on safari 3.0. I’m getting inconsistent results with outerWidth() and innerWidth does not account for a scrollbar in a div with that has scrollable content (its does on safari). You can see the differences in results by running the demo’s on both safari and firefox for this api.

  5. Brandon Aaron Says:

    Thanks for the bug report … but would you mind creating a ticket for this issue here: http://plugins.jquery.com/node/add/project_issue/dimensions/bug

  6. edward Says:

    No problem. I’ll file it right away….

  7. Braydon Fuller Says:

    can you use dim. to get the height of the scrollbar?

  8. Brandon Aaron Says:

    Braydon, I just posted a new blog post talking about getting the width of the scrollbar which should also be the height. http://blog.brandonaaron.net/2008/05/09/getting-the-scrollbar-width/

  9. Umut Says:

    Brandon,

    First of all thanks for this great plugin.

    I’m just trying to fire an event when the user is at the bottom of the page (or the scroller is at the bottom).

    I think I can not do this with dimesions plugin, can I? Thanks.

  10. Umut Says:

    Brandon,

    I just figured it out like this:

    if ($(window).scrollTop() == $(document).height() - $(window).height()){
    alert (’yes’);
    }

    Thanks again.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>