Customising the Hyperlink popup window

Last post 05-19-2006, 1:21 AM by Adam. 1 replies.
Sort Posts: Previous Next
  •  05-18-2006, 11:35 PM 19313

    Customising the Hyperlink popup window

    Hi,

    I'm using the editor as part of a CMS I have built, and it works exceptionally well so far, however I have a requirement that I'm not sure if it is possible, or how I would do it.  Basically within the Hyperlink popup window, there is obviously a free text box for the URL.  I would like to adapt this to also have a dropdownlist below it, databound to all the site pages within my CMS, and maybe a radio button to choose between the DDL and the free text box.

    Is this level of customisation possible?  If so is there anything I should watch for?

    Many thanks

    Alan

  •  05-19-2006, 1:21 AM 19322 in reply to 19313

    Re: Customising the Hyperlink popup window

    Alan,
     
    Please following the steps below:
     
    1. Open tag_a.aspx, gecko_tag_a.aspx and safari_tag_a.aspx.
     
    2. Find the following code:
     
    <input type="text" id="inp_src" style="width:260px">
     
    Change it to
     
    <input type="hiddent" id="inp_src" style="width:260px">
     
    3. In your dropdown list, add an onchange event to update this hidden field based the selection.

    For example:
     
    <select onchange="sel_change()">
     </select>
     
    <script>
       function sel_change() {  }
    </script>
     
     

    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