[thelist] window.opener.open opening new tab or pop-up

Norman Bunn norman.bunn at craftedsolutions.com
Fri Aug 14 17:59:59 CDT 2009


Never mind.  I got the answer.  I need to refer "location.href" and not
"open".

onclick="javascript:window.opener.location.href='index.php?option=com_conten
t&view=section&layout=blog&id=11&Itemid=59';"

Thanks,

Norman


-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Norman Bunn
Sent: Friday, August 14, 2009 5:47 PM
To: thelist at lists.evolt.org
Subject: [thelist] window.opener.open opening new tab or pop-up



http://174.132.88.71/~glennass/index.php

When you open this link, there is a image in the upper right entitled
"Navigation Wheel".  This launches a pop-up, that you should be able to
click and cause the original window to change.  Instead it is creating a new
tab or a new pop-up, so the more you click, the more windows you get.

Any ideas on how do I get it to update the original window?

Sample code:

href="#"
onclick="javascript:window.opener.open('index.php?option=com_content&view=se
ction&layout=blog&id=11&Itemid=59');

Thanks,

Norman




More information about the thelist mailing list