www.webdeveloper.com
Results 1 to 3 of 3

Thread: How to get the Rect of a div after scaling

  1. #1
    Join Date
    Mar 2011
    Posts
    5

    How to get the Rect of a div after scaling

    After scaling a rect, getBoundingClientRect() doesn't change, any other method/properties that I can use to get the actual rect of the div after scaling? Thanks in advance.

  2. #2
    Join Date
    Dec 2005
    Location
    FL
    Posts
    7,364
    Have you looked into getClientRects() function?
    See: http://javascript.gakaa.com/object-g...ct-4-0-5-.aspx

  3. #3
    Join Date
    Mar 2011
    Posts
    5
    Yes, I tried that, doesn't work with IE.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles