467,104 Members | 1,089 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,104 developers. It's quick & easy.

pop up window using javascript

hi how can I open this link in new pop up window using javascript?
<asp:HyperLink id="HLink_Amex" runat="server" NavigateUrl="images/cvv_amex.gif">Amex?</asp:HyperLink>

--
mahsa
Nov 18 '05 #1
  • viewed: 1377
Share:
2 Replies
mahsa,

Try set Target=_blank

Thomas Andersson

"mahsa" wrote:
hi how can I open this link in new pop up window using javascript?
<asp:HyperLink id="HLink_Amex" runat="server" NavigateUrl="images/cvv_amex.gif">Amex?</asp:HyperLink>

--
mahsa

Nov 18 '05 #2
And if you're not generating the URL or the HyperLink control dynamically in
code, you might be better off using a standard HTML Anchor as in

<A href="images/cvv_amex.gif" target="_blank">Amex?</A>

Why have a runat="server" when the server isn't adding anything to the
picture? It's a waste of server resources.

Dale Preston
MCAD, MCSE, MCDBA
"crexes" <cr****@discussions.microsoft.com> wrote in message
news:90**********************************@microsof t.com...
mahsa,

Try set Target=_blank

Thomas Andersson

"mahsa" wrote:
hi how can I open this link in new pop up window using javascript?
<asp:HyperLink id="HLink_Amex" runat="server" NavigateUrl="images/cvv_amex.gif">Amex?</asp:HyperLink>
--
mahsa

Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

12 posts views Thread by HarveyB | last post: by
10 posts views Thread by Marshall Dudley | last post: by
2 posts views Thread by Shelly | last post: by
2 posts views Thread by kurt sune | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.