This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I need to know the position of a div inside iframe
I used the following java script code
Iframe width =400px
table inside the iframe width =1200px
when I try to get the position of the (overlayPanel.offsetLeft)) the alert shows (323)
but this is not what I need, I need the position without the scrolling part, I mean the position I am seeing relative to the Iframe width which should be (65)
(323) is the absolute position including the hidden part of scroll
any idea ?
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: div position without calculating the scrolling part