Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > Adobe Web Programming > Dreamweaver (all versions)
Password Reminder
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #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

Reply With Quote
  #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.
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 01:48 AM.

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