Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

$4.95 Windows Hosting at Webhost4life.com
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
WebHostForAsp.net
 


  Sponsors  

Meet Our Sponsors

CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Iframe Module [...  Autosizing and domains
Previous Previous
 
Next Next
New Post 6/20/2008 6:34 AM
Unresolved
User is offline Phil Biggs
52 posts
10th Ranked


Autosizing and domains 

Hi,

The core Iframe module evidently requires that the framed URL is within the same domain as the host page for autosizing to work. Does anyone know if it should work in the case that the host page is on www.domain.com and the remote page is on a subdomain i.e. mysubdomain.domain.com?

I've tried such a setup but the autosizing doesn't work.

Would also like to understand while framing across domains is such a problem as regards autosizing.

Ta.

 
New Post 6/20/2008 7:04 AM
User is offline Vitaly Kozadayev
687 posts
www.continure.com
7th Ranked






Re: Autosizing and domains 

It has nothing to do with Core module, specifically - it's a cross-domain browser security. The security policy considers domain to be the same only if it's the same verbatum, i.e. www.mydomain.com vs mydomain.com are not the same domain for that purpose.

DOM has a property, however, on a document object, that can be explicitly set to allow cross-domain (more exactly, cross-subdomain) access: it is called "domain".

See this (MSDN) and this (Mozilla)


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post 6/20/2008 12:31 PM
User is offline Phil Biggs
52 posts
10th Ranked


Re: Autosizing and domains 

Thanks for the reply Vitaly - I'll check out the links

Phil

 
New Post 6/20/2008 12:46 PM
User is offline Vitaly Kozadayev
687 posts
www.continure.com
7th Ranked






Re: Autosizing and domains 

No problem.

I would imagine, that setting document.domain to your website's domain name should happen before IFrame fires the Autosize function.


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post 6/30/2008 3:21 AM
User is offline Phil Biggs
52 posts
10th Ranked


Re: Autosizing and domains 

Hi Vitaly...how do I go about setting the document.domain?...Does it mean getting into the VB of the module itself or are you saying it can be set in the document that is to be iframed?

Phil

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Iframe Module [...  Autosizing and domains
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Personify Design, Inc.
Seattle-based Personify Design has developed customized DotNetNuke websites for a wide range of customers to meet many different types of needs, including distributed authorship across thousands of pages to integrated Verisign e-commerce capabilities.
www.personifydesign.com
DNN Outsourcing
50% more affordable services comparing to Western Europe and US: Custom DotNetNuke module development, skins, consulting, maintainence... Over 15.000 working hours of experience in custom DotNetNuke Solutions development, 8 years experience in outsourcing, excellent references!
www.dnnoutsourcing.com
Expressnet - DotNetNuke Hosting
Expressnet provide premium quality ASP.NET Web Hosting. We specialise in Windows based products including ASP.NET and Microsoft SQL Server. We offer fantastic value packages for DotNetNuke hosting. We also offer free asp.net web hosting
www.expressnet.com.au

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP