We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13632
    • 22 Posts
    It’s ok my friend,

    I added ’target="_blank" ’ to the link url and everything seems to be working correctly now. smiley

    Thank you very much for all your help
      • 13632
      • 22 Posts
      Hi

      I was just wondering if there was any way of doing the same as this but using Mootools.js instead of fleegix. (it seems daft to load another js library when mootools.js is already there)

      Also, I don’t need the ’alert msg’ appear once the link has been clicked.

      I’ve been looking into it but can’t get my head around how to do it. The mootools docs only seem to have a brief example and my understanding of js is rather poor at the moment.

      I though about trying some thing with this

      $(’myElement’).addEvent(’click’, function(){alert(’clicked!’)});

      but then

      new Ajax(url, {method: ’get’}).request();

      seems closer to what i’m already using.

      Any advice is much appreciated