Link to Page in new window

T

tshad

I am trying to set up a link to open a new page in a separate window.
Normally I could use:

Target="_blank"

But I want to put it in a smaller window.

I tried to do:

<asp:HyperLink ID="ContactUS"
NavigateUrl="javascript:window.open('/employer/secure/contact_info.aspx',null,
'height=200, width=400, status=yes, toolbar=no, menubar=no, location=no'); "
Text="Contact Us" runat="server"/>

It creates the new window fine, but it wipes out the original window and the
only think in the window is:

[Object]

Why is this happening and how can I make it work?

Thanks,

Tom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top