Welcome Guest Search | Active Topics | Sign In | Register

Adding target = "_blank" to the built in Javascript function InsertOrEditLink Options
Jay Daka
Posted: Friday, November 19, 2010 11:47:13 AM
Rank: Newbie
Groups: Member

Joined: 10/12/2010
Posts: 3
Is there an easier way to add target = "_blank" to the built in Javascript function InsertOrEditLink than trying to build a new custom function that does the same thing but contains target = "_blank"?

Thanks,

Jay
eo_support
Posted: Friday, November 19, 2010 1:23:36 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

InsertOrEditLink is not a function. You will need to customize the insert link dialog to hide the "Target" textbox and also give it whatever default value you want it to have. Note you need to hide it but not removing it because the rest of the code still takes whatever value in that textbox. So if you put "_blank" there, a link with target="_blank" will be inserted.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.