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  |  

The best choice for your web site host, email hosting, and domain registration.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
The best choice for your web site host, email hosting, and domain registration.
 


  Sponsors  

Meet Our Sponsors

SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Iframe Module [...  iFrame content randomly disappears
Previous Previous
 
Next Next
New Post 1/10/2008 10:54 AM
User is offline Brian Howard
130 posts
9th Ranked


Re: iFrame content randomly disappears 

any more thoughts on the matter?

 
New Post 1/10/2008 12:51 PM
User is offline Vitaly Kozadayev
671 posts
www.continure.com
7th Ranked






Re: iFrame content randomly disappears 
Modified By Vitaly Kozadayev  on 1/10/2008 5:26:13 PM)

I am assuming you are only having this issue in IE?

Try this:

1. Undo Autoheight in IFrame settings.
2. Add the following to "onclick" parameter "onload (Javascript)" field (under Other Options): resizeIFrame(this)

3. Add the following javascript to the Page Settings > Advanced Settings > Page Header Tag

<script type="text/javascript">

function resizeIFrame(ifr)
{
 if (!document.all)
    ifr.style.height = 1;

 var ifrSrc = ifr.contentWindow.document.body;

 var the_height = ifrSrc.scrollHeight;
 ifr.style.height = the_height;
}
</script>

 

See if this will do the trick.  And, PLEASE, let me know if it does (or doesn't, of course).


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post 1/10/2008 1:15 PM
User is offline Brian Howard
130 posts
9th Ranked


Re: iFrame content randomly disappears 

Not sure what you meant by number 2.... I created a query parameter on the edit iframe screen, named it 'onclick', used static value, and gave it value of 'resizeIFrame(this)'

Is that what you meant.... It is no longer doing it but it is not autosizing the frame so now i have a scroll bar.

 

 
New Post 1/10/2008 1:24 PM
User is offline Vitaly Kozadayev
671 posts
www.continure.com
7th Ranked






Re: iFrame content randomly disappears 
Modified By Vitaly Kozadayev  on 1/10/2008 5:27:25 PM)
Oh no! -> I appologize for the typo in my instructions:

Under Edit IFrame Options > Other Options  there is a field called "onload (Javascript):" - put that value there, please.


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post 1/10/2008 1:48 PM
User is offline Brian Howard
130 posts
9th Ranked


Re: iFrame content randomly disappears 

made the change, but original problem is still back.... i have now done your number 1,2,and 3 .... sometimes it appears and sometime it doesn't....

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Iframe Module [...  iFrame content randomly disappears
 


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.

 


$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
Cestus Websites
DotNetNuke websites en services in Nederland. Cestus Websites levert websites, projectmanagent, skins, modules, training en gespecialiseerde hosting op basis van het CMS DotNetNuke.
www.dotnetnuke-websites.nl

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