We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14404
    • 84 Posts
    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
      • 14404
      • 84 Posts
      Seems like PHx messes it up completely, exactly the same thing works on a page without it.. can anyone help me?

      Thanks
        • 14404
        • 84 Posts
        nevermind.. seems like i needed to put http:// in front:s sorry