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  |  

  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Iframe Module [...  Autosizing and domains
Previous Previous
 
Next Next
New Post 7/7/2008 7:32 AM
User is offline Vitaly Kozadayev
671 posts
www.continure.com
7th Ranked






Re: Autosizing and domains 

Very sorry for delay.

Try adding a javascript call to a onload event -

document.domain = "mydomain.com";

You might need to experiment with this - may be you'll need to timeout the call, in which case you can do it like this:

setTimeout("document.domain = 'mydomain.com'",300);


You might also have to add that call to the page's header -

<script type="text/javascript">document.domain = 'mydomain.com';</script>

Please let me know if it worked for you.


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post 7/14/2008 5:32 AM
User is offline ROBAX
1727 posts
5th Ranked


Re: Autosizing and domains 

I'm keen to know how to make this work Vitaly.

I've been working around the issue by making the menu item point to the URL of the target page, with the domain set to match what I have in the iframe. That works perfectly well when browsing to the page through the site, but is of course not failsafe; as people might arrive by other paths.

I've tried adding <script type="text/javascript">document.domain = 'www.mysite.com';</script> to the page header section in page settings, but had no luck with it.

Any ideas are appreciated,
Rob

 

 
New Post 7/14/2008 6:27 AM
User is offline Vitaly Kozadayev
671 posts
www.continure.com
7th Ranked






Re: Autosizing and domains 

I am guessing that your issue is having www subdomain?

We are going to change the code to take relative paths. You should add that setTimeout call (see above) into IFrame onload event.  Let me know how it went.


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
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.

 


Adaptive InfoSystems, Inc.
We provide custom programming and various levels of support for DotNetNuke and the .Net framework.
www.aisysweb.com
Multipartner Virtual Data Rooms
The Virtual Data Rooms (VDR) provided by an expert advisor, far from any ordinary software company!, supporting the sellers and their consultants. Multipartner builds and services higly professional Virtual Data Rooms (VDR) specifically tailored to M&A, Real Estate and NPL deals.
www.multipartner.com
DNN SEO
Seablick Consulting specializes in DNN search engine optimization (SEO), DNN consulting, as well as support & training.
seablick.com

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