mindhuter
10-31-2012, 09:49 PM
Hey guys,
If you go to this site: http://www.retailmenot.com/view/jcpenney.com
and if you click on one of those coupons it opens new window tab(merchants web site) and a pop up window with the coupon code.
I am trying to make something similar. I am not a programmer so i'v searched for possible solutions and found this code:
<a href="http://www.yahoo.com" onclick="javascript:void window.open('http://www.yahoo.com','1351633016625','width=250,height=5 00,toolbar=0,menubar=0,location=0,status=1,scrollb ars=1,resizable=1,right=0,top=0');return false;">Pop-up Window</a>
I don't know what to add to be able to open one new window tab and a pop up window with one click.(i want to open google.com on new window tab and yahoo.com on a pop up window)
Is there any way to add something or change in this code to achieve this result?
If you go to this site: http://www.retailmenot.com/view/jcpenney.com
and if you click on one of those coupons it opens new window tab(merchants web site) and a pop up window with the coupon code.
I am trying to make something similar. I am not a programmer so i'v searched for possible solutions and found this code:
<a href="http://www.yahoo.com" onclick="javascript:void window.open('http://www.yahoo.com','1351633016625','width=250,height=5 00,toolbar=0,menubar=0,location=0,status=1,scrollb ars=1,resizable=1,right=0,top=0');return false;">Pop-up Window</a>
I don't know what to add to be able to open one new window tab and a pop up window with one click.(i want to open google.com on new window tab and yahoo.com on a pop up window)
Is there any way to add something or change in this code to achieve this result?