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  |  

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


  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
 


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
687 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
1776 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
687 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.

 


IHostASP.NET Provides the Ideal DNN Hosting
We will help you with the installation, configuration, and troubleshooting of your DNN portal, no task is too big or small for us. Unlike other companies we are not just providing a reliable hosting service, but we are also focused on providing the best DotNetNuke hosting service on the internet.
www.ihostasp.net
$7.16/mo - Powerful DotNetNuke Hosting
Powerful DotNetNuke Hosting starting at under $8/mo with FREE SQL 2005, FREE Installation and expert support.
www.re-invent.com
ASP.NET Web Hosting for $3.95
3 Month FREE ASP.NET Hosting! FREE Setup! DNN Support! FREE Domain Name! FREE Components! Host multiple websites on 1 plan! 30 Days Money Back Guarantee!
www.dailyrazor.com

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