How to get rid of the useless OK button

Hi
I have a button sequence that opens and external site, i.e.

sc_redir(“externalurl.com”,"","_blank");

It works fine other than the host application goes to a grey screen with a small OK button on it, which seems to confuse our users.

Is there any way to avoid the button screen being generated, i.e. the redirect opens in a new window and the host application remains displayed in its browser window?

Thanks

Hi GuiGuy,
try using an AJAX button.

That will avoid the ‘OK’ button:

[ATTACH=CONFIG]n80795[/ATTACH]

Best regards

Gunter Eibl
http://GunterEibl.de (German)
http://asdw.de - some Scriptcase & PHP tipps
http://SECI.solutions (German)

scriptcase_ajax_btn.PNG

Hi,
Thanks for the reply. However, that does not work for me (I had already tried ajax have those settings).

Cheers