Hi guys, im using this code which works fine except for the link
<p>[+phx:if=`[*video*]`:ne=``:then=`<a onclick="window.open('[*video*]','Youtube Video','menubar=yes,width=580,height=500,left='+(screen.availWidth/2-290)+',top='+(screen.availHeight/2-250)+'');return false;"
rel="index" rev="index" href="[*video*]" target="_blank">Play this Video<img longdesc="Play this video" src="assets/images/play.jpg"
alt="" width="19" height="11" /></a>`+] [+phx:if=`[*pdf*]`:ne=``:then=`<a onclick="window.open('','','');return false;" href="[*pdf*]" target="_blank">
Product Sheet<img src="assets/images/pdf.png" alt="" width="19" height="20" /></a>`+]</p>
What happends is that it opens a popup, but the content will be
http://mysite.com/[*video*] which gives you an error.. what to do?
Thanks