London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Link dialog

Vote:
 
Is this possible? In the editor, if the user choose to open a link in a new window I want to auto insert a small icon after the selected text. /Tomas
#12279
May 12, 2005 11:39
Vote:
 
If you want to automatically insert an image after a link-text, you can do this by adding an background image in the appropiate CSS class.
#13962
May 13, 2005 7:55
Vote:
 
Yes, but how can the css file now if the link has a target to a new window (_blank) or to the same window? /Tomas
#13963
May 13, 2005 12:48
Vote:
 
This is probably a little over-complex, but you could use the validation 'hook' as described in http://www.episerver.com/templates/CommunitySample____2630.aspx to check the property (looking for "target=_blank" and apply a style manually. We've done something similar to enforce W3C HTML compliance. The main drawback is that you're manually updating the HTML code.
#13964
May 13, 2005 17:26
Vote:
 
I found the solution in the javascript function "CreateURL" located in the file "LinkEditor.js"
#13965
May 17, 2005 13:17
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.