asp.net - Open New Window from aspx page from *any* URL -
Is there a way to configure IIS or Web App to open a new window automatically when HyperLink is clicked? My issue is not as trivial as it seems, let me explain ... I understand that you can use javascript or target = "_ blank" in anchor tag, but I do not always know when an anchor tag is listed on The page may be ...
The reason for this is to think about a user forum, stack overflow;) where a user can enter the URL (permission) and it is not necessary, or This is the first recorded Or went there and there is no way to tell it
I'm pretty sure that the answer is no, and for the analysis of the URL, only the post / entry will be saved and it will be changed to change it. Any suggestions are appreciated!
& lt; Html & gt; & Lt; Top & gt; & Lt; Base target = '_ blank' & gt; & Lt ;! - Interesting bit here - & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; P & gt; & Lt; A href = 'http: //google.com'> new window! & Lt; / A & gt; & Lt; / P & gt; & Lt; / Body & gt; & Lt; / Html & gt; Of course, the all link - if you want the link as an exception, and to open it in the current window, then do this:
& lt; P & gt; & Lt; A href = 'http: //google.com' target = '_self' & gt; No new windows! & Lt; / A & gt; & Lt; / P & gt;
Comments
Post a Comment