#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    5
    Rep Power
    0
    Hi,

    I am using this code to open a small po-up window that displays a user details:

    <SCRIPT language="javascript">
    <!--
    function openwindow(url){newwindow =window.open(url,"one","width=400,height=350,toolbar=no,resizable=no,location=no,scrollbars=no");}//-->
    </SCRIPT>

    Once I've opened it there is a link to 'edit profile' that should open the edit form in the parent window - but I just can't get it to work. I've tried every combo of self/opener/parent/href/document I could think of, but my javascript just isn't up to it.

    Can anyone give a hand?

    Incidently I can't just link back to the opening frame as the site doesn't use them (although if theres a way to name pages that I'm missing that might work?).

    Thanks

    Steve
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 1999
    Posts
    84
    Rep Power
    15
    Well just like you mentioned you would use the opener property.

    opener.whatever

    If the parent window is in frames you will need to specify which frame

    opener.framename.whatever

    Spookster

Similar Threads

  1. Replies: 1
    Last Post: September 14th, 2004, 08:23 AM
  2. Replies: 18
    Last Post: May 6th, 2004, 01:23 PM
  3. Pass text box value from parent to child frame???
    By linhardt in forum HTML Programming
    Replies: 1
    Last Post: December 18th, 2003, 12:14 PM
  4. Fork but not wait
    By jimo9 in forum C Programming
    Replies: 11
    Last Post: November 12th, 2003, 12:00 AM
  5. Replies: 0
    Last Post: February 28th, 2002, 03:12 PM

IMN logo majestic logo threadwatch logo seochat tools logo