This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dynamic growth of iframe in cross domain

 
Arun Tom
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since they are on the same domain, you can set document.domain

Eric
 
Arun Tom
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanku for reply eric.. but my case is that, both are from different domains.. plse give me a solution..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic