Link to Page in new window

  • Thread starter Thread starter tshad
  • Start date Start date
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
 
Back
Top