I have a session function that works well in one domain, but when it is used through our api on another site, it does not work, because we install and call from the top frame (top.functionName, top.variable). I am looking for a way to set call variables and functions from the highest frame that still remains in the domain. For example, the top frame can be externaldomain.com, the frame inside which can be ourdomain.com and the frame inside this can be ourdomain.com/somepage, and so on. How will we scroll frames to get the one closest to the top, which is still in the same domain?
Thank,
javascript
fanfavorite Dec 29 '11 at 19:51 2011-12-29 19:51
source share