Expand my Community achievements bar.

SOLVED

URL to Open in new Window

Avatar

Level 3

Is there any way to add a checkbox for opening a link in the new window ?

1 Accepted Solution

Avatar

Correct answer by
Administrator

Hi

Please have a look at the following article to help you:

Link:- http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_link_target

// "target="_blank" will open the link in another window.

So when you create a link you need to append target='blank in the link section, this will open the link in new window.

 

Link:- http://aempodcast.com/2015/rich-text-editor/open-link-new-window-using-aem-rich-text-editor/#.VvEO6r...

//Open A Link In A New Window Using The AEM Rich-Text Editor

 

Link:- https://helpx.adobe.com/experience-manager/kb/target-attribut-issue-tag1.html

// Hyperlink doesn't open in new window

 

I hope this will help you.

Thanks and Regards

Kautuk Sahni



Kautuk Sahni

View solution in original post

3 Replies

Avatar

Correct answer by
Administrator

Hi

Please have a look at the following article to help you:

Link:- http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_link_target

// "target="_blank" will open the link in another window.

So when you create a link you need to append target='blank in the link section, this will open the link in new window.

 

Link:- http://aempodcast.com/2015/rich-text-editor/open-link-new-window-using-aem-rich-text-editor/#.VvEO6r...

//Open A Link In A New Window Using The AEM Rich-Text Editor

 

Link:- https://helpx.adobe.com/experience-manager/kb/target-attribut-issue-tag1.html

// Hyperlink doesn't open in new window

 

I hope this will help you.

Thanks and Regards

Kautuk Sahni



Kautuk Sahni

Avatar

Level 1

AlenFa_0-1726087656256.png

Is there a way of making AEM open a new tab when clicking on the "Contact us" and "Register for webinar" button?

Avatar

Level 10

when you create a link you need to add target='blank' in your view which would take care of opening a link in the new window.

However, if you want to give it as an option, take it as an input from your dialog and include this attribute accordingly