...

View Full Version : openWindow javascript



theRealAirness
08-08-2005, 01:22 AM
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="javascript:parent.location.openWindow('CheckOut.aspx')">

mark87
08-08-2005, 02:56 AM
Try this -

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

theRealAirness
08-08-2005, 07:32 AM
it works now. thanks.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum