You need to sign in to do that
Don't have an account?

open a visualforce page on click of a custom button
Hello,
I want to open a Visualforce page in a new window onclick of a Custom button which is on Standard Case Layout details page. But Onclick of this button, Page is opening up always in new tab in all browsers, but I need a new Window. Please help.
Onclick Javascript for Custom Button on Case Layout: window.open('/apex/myAccountCasepage?id={!Case.Id}');
Note: I am not using any service console.
I want to open a Visualforce page in a new window onclick of a Custom button which is on Standard Case Layout details page. But Onclick of this button, Page is opening up always in new tab in all browsers, but I need a new Window. Please help.
Onclick Javascript for Custom Button on Case Layout: window.open('/apex/myAccountCasepage?id={!Case.Id}');
Note: I am not using any service console.
Tried with this, but didn't work. Still the page opens up in a tab.
Regards,
Animesh
window.open('/apex/myAccountCasepage?id={!Case.Id}',"myaccounts","menubar=0, toolbar=1, resizable=1, width=600, height=400
");