views:

1829

answers:

3

I have been desperatly searching the web for a way to auto resize an iframe. I have tried many scripts online, but most recieve a permission denied error.

Both sites are members of the same subdomain

site 1: (views iframe) sub.domain.site.ca site 2: name.site.ca

how is this done (both are members of 'site.ca')

+2  A: 

I think this is the exact answer you are looking for:

http://ofirpicazo.com/javascript/iframe-resizing-across-subdomains/

Colin
A: 

be more specific on what you wanna do and what error is that.

EduardoMello
its pretty obvious. use an auto-resizing iframe to view another page
Steven1350
A: 

i implemented such a solution: http://www.amirharel.com/2009/07/28/implementing-iframe-toolbar/

i hope it helps.

Amir