Main Page | Report this Page
.NET DotNet Forum Index  »  JScript .NET Forum  »  Removing Frames?...
Page 1 of 1    

Removing Frames?...

Author Message
Sean...
Posted: Tue Jul 21, 2009 4:03 am
Guest
I have a page where I need to display the contents in two frames ('topFrame'
and 'bottomFrame'). The contents of 'bottomFrame' are provided by a client
and are on a different domain from the domain that contains the frameset
page.



I need the option of having the user break out of the frames at any point in
order to show the content of 'bottomFrame' out of the frameset. I have a
link on 'topFrame' to do this in Javascript i.e:



<a href="javascript:top.location.href=top.frames(1).location.href;">Remove
frame</a>



This works fine when 'bottomFrame' is displaying a page within the domain
containing the frameset but fails to work when 'bottomFrame' contains the
contents of the clients page (i.e. client page on a different domain) or
any page from a different domain. A permission denied error occurs.



I know frames are the work of the devil but I really need to use them in
this instance.



Any ideas how I can get around this please?
 
 
Page 1 of 1    
All times are GMT - 5 Hours
The time now is Tue Dec 01, 2009 6:12 am