Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsIFrameIFrameiFrame content randomly disappearsiFrame content randomly disappears
Previous
 
Next
New Post
1/10/2008 2:54 PM
 

any more thoughts on the matter?

 
New Post
1/10/2008 4:51 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 5:15 PM
 

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 5:24 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 5:48 PM
 

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
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsIFrameIFrameiFrame content randomly disappearsiFrame content randomly disappears


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out