aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Dynamic growth of iframe in cross domain Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Dynamic growth of iframe in cross domain" Watch "Dynamic growth of iframe in cross domain" New topic
Author

Dynamic growth of iframe in cross domain

Arun Tom
Greenhorn

Joined: Aug 05, 2011
Posts: 2
Hi all,

I have an iframe in parent domain and am calling child domain pages inside that iframe .. i need to grow the width of iframe(parent domain) with the corresponding value changing on child domain.. The problem is i cant pass any value from child domain to parent domain(cross domain security issue 'permission denied').. So how can i resize the iframe in parent domain by standing on child domain.. any one please help me..

regards,
Arun Thomas
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Since they are on the same domain, you can set document.domain

Eric
Arun Tom
Greenhorn

Joined: Aug 05, 2011
Posts: 2
thanku for reply eric.. but my case is that, both are from different domains.. plse give me a solution..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dynamic growth of iframe in cross domain