Topic: OPEN LINK IN A NEW TAB

Hi there,

Would someone advise how do I open the $link (gl/inquiry/tax_inquiry.php?) in a new tab of the browser?

        $this->add_lapp_function(1, _("Tax Inquiry"),
            "gl/inquiry/tax_inquiry.php?", 'SA_TAXREP', MENU_INQUIRY);

I have made attempt to add  target = '_blank' in the link, but it just messed up the link.

Appreciate someone could share some tips...

Thanks.

/Mark

Re: OPEN LINK IN A NEW TAB

The links are generated later after all lapp and rapp functions populate the menu array. If you need to open the link in a new tab/window you will either need to use the right click menu in your browser or create and use a new method in the application menu class.