• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

window open

Explorer ,
Jan 23, 2021 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

665

Translate

Translate

Report

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

correct answers 1 Correct answer

Community Expert , Jan 26, 2021 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

Votes

Translate

Translate
Explorer ,
Jan 23, 2021 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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 24, 2021 Jan 24, 2021

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 25, 2021 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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 26, 2021 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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 26, 2021 Jan 26, 2021

Copy link to clipboard

Copied

LATEST

Thank you for your help.
Thank you.

Votes

Translate

Translate

Report

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