sitecoresitecore-mvccontent-editorcustom-field-type

How to add target window as Pop Up for General Link Type in Sitecore?


Actually i was trying to add custom target window as pop-up for general link data type of External Link's property. Image of External Link Property After this, if on the page there is any external link with target window as "Pop Up" then on the page rendering it should open pop up window.

Is it possible, if yes then please guide me?

Thanks in Advance, Pradeep Gupta


Solution

  • If you mean under popup browser window popup(leaving current window and opening link in new browser popup window) then you can use "New browser" option.

    If you mean under popup something on your page. For example like it is on popup.js, then you should

    P.S.: example was given for popup.js and code link will differ for other JS library.