PDA

View Full Version : popUp Pickle


tka
06-08-2005, 07:42 AM
Dear seasoned sages

I have what I know is a jolly simple conundrem, but will take hours of tinkering to fine tune my solution without some good advice. Please help.

I have a pop up window spawned from a parent page, which when closed by means of a link opens a contact page in the pre-existing parent page (to purchase the featured item). However my client has pointed out that this pop up page can be reached indepentantly via search engines and in this way has no parent window to return to. So I need both a link to open the contact page in an existing window, and one to return to the index page (or contact page) of the main site, which is otherwise unreachable when the pop up is independant.

The code I'm using for each purpose conflict and open the desired page, but also a blank window as well. Can you paste me some code for the link and for the site logo which will link back to the main site (or code that will suffice for both purposes using the same link)?

Thanks ever so much if you can help.

ps here is the code:

to order or for more information<a href="javascript:;" class="heading _link" onclick=opener.location=contact.html';self close()"click here</a>

and for the link

<a href="http://www.graves-johnston.com"onClick="popUp();return false"images/popup_watermark.gif"></a>

they may well not be the most appropriate bits of code...