codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  script to close the outher page of an iframe  Archive Import (luki) at 06:48 on Monday, August 11, 2003
 

i have made a silly javascript which is on a page that shows in a iframe. the user has to confirm something to stay on the page. now i want the outher page to close (or redirecting to a new page) when not confirming. how could i do that?

  Re: How to redirect the parent window  Troy Wolf at 09:55 on Monday, August 11, 2003
 

In the javascript in your IFRAME, simply use a line like this:

parent.location = "http://www.google.com"

Replace the Google URL with whatever page you want to redirect to.
Troy Wolf: site expert
SnippetEdit Website Editor


  Re: script to close the outher page of an iframe  Elain at 06:54 on Thursday, January 27, 2011
 

I'm sorry i can't understand your meaning, when i met some difficulty things, i always search it in Google, and i find it is very useful tool, you can find much more answer about your question! Good Luck!
________________________________________
logo maker|javascript menu|flash banner








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Re: Codefest`11
•  Re: refresh parent after closing pop up window
•  Re: The Dim appExcel As Excel.Application doesn`t work ????
•  Re: Plz its urgent:validation code
•  Re: c# .net Exception of type System.StackOverflowException was thrown.
•  Re: need help with main()
•  Re: onclick thumbnail images in gridview or datalist
•  Re: adding a querystring parameter in a button click event
•  Re: Cookies - i have a hard time with them


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2011