window open

Explorer ,
Jan 23, 2021

Copy link to clipboard

Copied


var _this = this;
_this.button.on('click', function(){
window.open('http://www.adobe.com', '_blank');
});

 

According to the above script, Adobe web page will be open on a new window.

 

How can I open the Adobe web page on the window itself, but on a new window?

 

Help me please!

Views

112

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

1 Correct Answer

Adobe Community Professional , Jan 26, 2021
JoãoCésar Adobe Community Professional , Jan 26, 2021
Hi.   Use '_self' instead of '_blank'. var _this = this; _this.button.on('click', function() { window.open('http://www.adobe.com', '_self'); });   Regards, JC

Likes

Translate

Translate
Jump to answer Jump to answer
buksori AUTHOR
Explorer ,
Jan 23, 2021

Copy link to clipboard

Copied

Sorry..

How can I open the Adobe web page on the window itself, but NOT on a new window?

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Jan 24, 2021

Copy link to clipboard

Copied

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
buksori AUTHOR
Explorer ,
Jan 25, 2021

Copy link to clipboard

Copied

Thank you for your help.

Although I visited the above site you suggested, I couldn't find my needs.(maybe because my English is not good)

=========

var _this = this;
_this.button.on('click', function(){
window.open('http://www.adobe.com', '_blank');
});

=========

I used the above script on Animate 2021 action window.

I hope you will make the action script example opening the target address on the existing browser, please.

Thank you.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Jan 26, 2021

Copy link to clipboard

Copied

Hi.

 

Use '_self' instead of '_blank'.

var _this = this;

_this.button.on('click', function()
{
    window.open('http://www.adobe.com', '_self');
});

 

Regards,

JC

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
buksori AUTHOR LATEST
Explorer ,
Jan 26, 2021

Copy link to clipboard

Copied

Thank you for your help.
Thank you.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more