Products

Solutions

Resources

Partners

Community

About

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 ForumsIFrameIFramewhere can i find this method java script IFrameAutoResizewhere can i find this method java script IFrameAutoResize
Previous
 
Next
New Post
3/30/2009 11:53 AM
 

htmIFrame--- does any one kno where i can i find this

IFrameAutoResize------this is a java script function.

 

 

 
New Post
3/30/2009 12:19 PM
 

htmlIFrame is an ID of an HTML Iframe control that is added on IFrame.aspx file

javascript function gets created on line 36 in IFrame.aspx.vb file inside the DesktopModules/IFrame folder


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post
3/30/2009 1:58 PM
 

Hi Vitaly,

Thanks!

 i wanted to do a window.scroll(0,0) in this function. It looks like this is called everytime the page is PreRenderder.

But here is my problem when i call the  scroll from my page inside the iFrame it is giving me an error: premission deined to get window.property. 

Thanks

Al 

 
New Post
3/30/2009 2:58 PM
 

Permission denied, I believe, is the same as Access Denied - which is thrown whenever you try to access a page (whether a parent or an IFrame'd one) accross domains. That is an UN-overwritable security lock enforced by browsers.


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post
3/30/2009 3:04 PM
 

hhmmmm........

now is there any way i can resize the parent window to scroll to the top everytime iFrame reloads?

I thought that function would do the trick

 

thanks

al

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsIFrameIFramewhere can i find this method java script IFrameAutoResizewhere can i find this method java script IFrameAutoResize


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