Create Link or Image load popup control

Last post 07-11-2008, 4:45 PM by Adam. 4 replies.
Sort Posts: Previous Next
  •  02-22-2007, 11:12 AM 26913

    Create Link or Image load popup control

     I need to limit users options when they put links. On the popup form they should be able to enter only URL other option should not work for them or got disappeared. And I would like to default it to a target=_blank  rel=nofollow .

     Same Thing with Image upload just brows for user and default setting for image size etc.

     How would I do that ?

     Also how would I get rid of HTML view button and Preview Button do not want to give users ability to view it.

  •  02-22-2007, 11:25 AM 26914 in reply to 26913

    Re: Create Link or Image load popup control

    1. Open the link dialog (Tag_A.ascx) and remove the option you don't need use the following method:


    Change this line:

    Before<td><button id="btnbrowse">[[Browse]]</button></td>


    to:

    After<td><button id="btnbrowse" style="display:none">[[Browse]]</button></td>

    2.  And I would like to default it to a target=_blank
     
    Please check my answer at:
     
     
    3. Also how would I get rid of HTML view button and Preview Button do not want to give users ability to view it.
     
    Please check the following properties:
     
    ShowHtmlMode Specifies whether the Html Mode tab appear.
    ShowPreviewMode Specifies whether the Preview Mode tab appear.

    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

  •  03-02-2007, 1:00 PM 27116 in reply to 26914

    Re: Create Link or Image load popup control

     I’m trying to make default http:// on “link add” form (tag_a.aspx ) so dropdown should be disabled and default protocol should popup in URL textbox (on your add link form) as “http:// “ I tried to set value of  “url” input to “http:// “ somehow did not work. Then I tried

    <select id="sel_protocol" disabled onload="sel_protocol_change()">

                                                                <option value="http://">http://</option>

                                                                <option value="https://">https://</option>

                                                                <option value="ftp://">ftp://</option>

                                                                <option value="news://">news://</option>

                                                                <option value="mailto:">mailto:</option>

                                                                <!-- last one : if move this to front , change the script too -->

                                                                <option value="others">[[Other]]</option>

                                                                <option selected value="http://">http://</option>

     Did not work ever. How would I do that?

  •  03-02-2007, 1:05 PM 27117 in reply to 27116

    Re: Create Link or Image load popup control

     

    Besides in Fierfox select disabling does not work. Any fix for that?

  •  07-11-2008, 4:45 PM 42159 in reply to 27117

    Re: Create Link or Image load popup control

View as RSS news feed in XML