Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jul 2005
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    openWindow javascript

    I open another window using the following japascript.

    javascript: openWindow('TryItOn.aspx?CatId=10003&Setting=All','productPop','800','630');

    In the new window, there is a link to a page. I want to open the new page to the previous window. Is there a way to do it.

    I tried the following. It does not work.
    <area shape="rect" alt="Checkout your Items" coords="65,0,146,22" href="CheckOut.aspx" target="_parent">

    <area shape="rect" alt="Checkout your Items" coords="65,0,146,22" href="javascriptarent.location.openWindow('CheckOut.aspx')">

  • #2
    Senior Coder
    Join Date
    Dec 2004
    Location
    Essex, UK
    Posts
    2,636
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Try this -

    <area shape="rect" alt="Checkout your Items" coords="65,0,146,22" href="javascript:self.opener.location='CheckOut.aspx'">

  • #3
    New to the CF scene
    Join Date
    Jul 2005
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    it works now. thanks.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •