Post by jacgo » Wed Feb 27, 2013 5:00 pm

Hi there,

I would like to add a link on product.tpl for open a popup window page.
I am not a PHP programer. For sure. It's failed.

Here is my code:
<table width="280" border="0" align="center">
<tr>
<td align="right">
<a href="#" onclick="window.open ('../../../../../../../SizeReport.html', 'SizeReport', 'height=500, width=400,toolbar=yes, menubar=yes, resizable=yes,location=yes, status=yes');">SizeReport</a>
</tr>
</table>

Is there any one who know how to solve the issue?
Hope there are someone who can help!
Thanks!!

Jacgo

New member

Posts

Joined
Thu Jun 09, 2011 12:41 am

Post by anung » Wed Feb 27, 2013 8:50 pm

Try like this.

Code: Select all

<table width="280" border="0" align="center">
<tr>
<td align="right">
<a href="http://forum.opencart.com/" onclick="window.open(this.href, '', 'resizable=yes,status=yes,location=yes,toolbar=yes,menubar=yes,fullscreen=yes,scrollbars=yes,dependent=yes,width=500,left=50%,height=500,top=50%'); return false;">OpenCart Forum</a>
</tr>
</table>

User avatar
Active Member

Posts

Joined
Fri Mar 30, 2012 10:32 am
Location - Indonesia
Who is online

Users browsing this forum: No registered users and 3 guests