set default target to New Window in Tag_A.ascx?

Last post 07-11-2005, 3:41 AM by Adam. 1 replies.
Sort Posts: Previous Next
  •  07-07-2005, 2:59 PM 8482

    set default target to New Window in Tag_A.ascx?

    Hi,
     
    I want to swap the 'Target' option values in the Tag_A dropdown list so that the default is 'New Window'. 


    When I swap this:
     
     <SELECT id="inp_target" NAME="inp_target">
     <OPTION value="" selected>[[Samewindow]]</OPTION>
     <OPTION value="newWin">[[Newwindow]]</OPTION>
     </SELECT> 
     
    to this:
     
     <SELECT id="inp_target" NAME="inp_target">
     <OPTION value="newWin" selected>[[Newwindow]]</OPTION>
     <OPTION value="" >[[Samewindow]]</OPTION>
     </SELECT> 
     
    ..it doesn't work; even when I select 'Same Window' from the dropdown list, the newWin value is always passed.

    Is there an easy way round this?
     
    Thanks,
     
    Ed
  •  07-11-2005, 3:41 AM 8557 in reply to 8482

    Re: set default target to New Window in Tag_A.ascx?

    Ed,
     
    Sorry for the late response.
     

    Please try the following code:
     
     
    <table class="normal"> <tr> <td style="width:60px">[[Target]]</td> <td><SELECT id="inp_target" NAME="inp_target"> <OPTION value="">[[NotSet]]</OPTION> <OPTION value="_blank" selected>[[Newwindow]]</OPTION> <OPTION value="_self">[[Samewindow]]</OPTION> <OPTION value="_top">[[Topmostwindow]]</OPTION> <OPTION value="_parent">[[Parentwindow]]</OPTION> </SELECT> </td> </tr> </table>

    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