Welcome to WebmasterWorld Guest from

Forum Moderators: phranque

Message Too Old, No Replies

Forcing link to revert back to original window?

9:27 am on Jun 18, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Dec 16, 2004
votes: 0

On my main content page I have a link that opens a new window up that displays a large photo of he product.

Under that is an add to basket button.

I would like the add to basket button to add the product but do so in the original window.

Any help guys much appreciated.

1:36 pm on June 18, 2008 (gmt 0)

Full Member

10+ Year Member

joined:Aug 3, 2005
votes: 0

you could use some javascript in order to redirect the the main window to an "add to basket" script. something like:


Also you could submit a form and target the main window.