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

window open

Explorer ,
Jan 23, 2021 Jan 23, 2021


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!

951
Translate
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

Translate
Explorer ,
Jan 23, 2021 Jan 23, 2021

Sorry..

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

Translate
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
Translate
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

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.

Translate
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

Hi.

 

Use '_self' instead of '_blank'.

var _this = this;

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

 

Regards,

JC

Translate
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
LATEST

Thank you for your help.
Thank you.

Translate
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