Having <a> links use target="_new"

Last post 02-28-2006, 11:19 PM by Adam. 1 replies.
Sort Posts: Previous Next
  •  02-28-2006, 8:22 PM 16529

    Having <a> links use target="_new"

    hi,
    by popular request from my users I'd like to be able to have CuteEditor use target="_new" when links are created
     
    How can I edit the code to do this? Or even better - is there some setting I can change for this?
  •  02-28-2006, 11:19 PM 16538 in reply to 16529

    Re: Having <a> links use target="_new"

    Dabbi,
     
    The Target Attribute only support the following values:
     
    _blank Load the linked document into a new blank window. This window is not named. 
    _media Load the linked document into the HTML content area of the Media Bar. Available in Microsoft Internet Explorer 6 or later.
    _parent Load the linked document into the immediate parent of the document the link is in. 
    _search Load the linked document into the browser search pane. Available in Internet Explorer 5 or later. 
    _self Default. Load the linked document into the window in which the link was clicked (the active window). 
    _top Load the linked document into the topmost window. 
     
    You need to use _bank for your situation.
     
    Please following the steps below to achieve this:
     
    1. Locate/open tag_a.ascx. You can find it under CuteEditorWeb\CuteSoft_Client\CuteEditor\Dialogs\Tag folder.
     
    2. Change the following code:
     
        <SELECT id="inp_target" NAME="inp_target">
         <OPTION value="">[[NotSet]]</OPTION>
         <OPTION value="_blank">[[Newwindow]]</OPTION>
         <OPTION value="_self">[[Samewindow]]</OPTION>
         <OPTION value="_top">[[Topmostwindow]]</OPTION>
         <OPTION value="_parent">[[Parentwindow]]</OPTION>
        </SELECT>
    to
     
        <SELECT id="inp_target" disabled NAME="inp_target">
         <OPTION value="_blank">[[Newwindow]]</OPTION>
         <OPTION value="_blank">[[Newwindow]]</OPTION>
         <OPTION value="_self">[[Samewindow]]</OPTION>
         <OPTION value="_top">[[Topmostwindow]]</OPTION>
         <OPTION value="_parent">[[Parentwindow]]</OPTION>
        </SELECT>


     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML