Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old June 18th, 2003, 03:19 AM
Friend of Wrox
Join Date: Jun 2003
Location: , , .
Posts: 347
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Adam H-W
Default closing frameset with javascript

Hi there

This might not be the best place to post this question, but here goes!

I've got a frameset in a pop up that I want to close via the window.close command - However, it is not working, any ideas on how to close a frameset with this command or any other?

many thanks

  #2 (permalink)  
Old June 18th, 2003, 05:15 PM
Friend of Wrox
Join Date: Jun 2003
Location: High Wycombe, UK, United Kingdom.
Posts: 344
Thanks: 0
Thanked 1 Time in 1 Post

You need to use calls to the relevant Parent object in the frameset, to replace, check out Javascript. For example, if you had a frameset with two frames (left and right) you could try from left :

parent.location = "http://www.greggriffiths.org";
If you are calling it from the opening page then I think something like :
newwindow.location= "http://www.greggriffiths.org";
should work.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Use TABLE or FRAMESET??? OchirM HTML Code Clinic 1 January 2nd, 2008 11:46 AM
Scrollbar for the frameset Jakob HTML Code Clinic 1 February 16th, 2007 10:44 PM
frameset zaman1111 JSP Basics 0 August 9th, 2005 04:27 PM
closing modal window using javascript jaideepharyani JSP Basics 0 April 13th, 2005 01:45 AM
How Can I reload/redirect a whole frameset Jaco Jordaan ASP.NET 1.x and 2.0 Application Design 1 November 14th, 2003 06:24 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.