We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 31338
    • 30 Posts
    I have a menu with 4 items, 3 are pages 1 is a link to an external site, im using wayfinder, and all works fine, on the 4th one when i click it i need it to open in a new window at a specific size with no scrolling or url bar.

    this is how the link looks when its normally in a web page html:

    <a href="javascript:popup(850,800,’http://website.com/link/anotherlink.soa?userLoginId=0000000&langId=en&Id=000000000’)">Store</a>


    I have it so when i click the link it opens a new window but it opens in a full window.

    i tried adding a chunk and putting the full link in there, and then put [[$weblink]] in the weblink url field, but that doesn't work.

    any ideas gratefully appreciated.
      Use our Free Developers API and build SMS in to your customers website or store or application. http://www.VibeActiveMedia.com
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      I would add that fourth item as the last part of Wayfinder's outerTpl. The outerTpl is the one that has the enclosing ul tags, so I'd have it like this:
      <ul
      [[+wf.wrapper]]
      <li><a href="javascript:popup(850,800,'http://website.com/link/anotherlink.soa?userLoginId=0000000&langId=en&Id=000000000')">Store</a></li>
      </ul>
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 31338
        • 30 Posts
        You are a star, worked perfectly, thank you..
          Use our Free Developers API and build SMS in to your customers website or store or application. http://www.VibeActiveMedia.com