Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using a href link to open a pop up window?

Status
Not open for further replies.

autumnEND

Programmer
Nov 1, 2005
61
GB
Is there an easy way that anyone knows to use a href link to open a new pop up window with say a width of 600px and a height of 700px.

The link i am using as the href to open the page is:

<a href='<%# "news_comments.aspx?newsID=" &Cstr( Eval("newsID"))%>view comments</a>

Im using microsoft visual web Developer,and cant seem to get it to work.
Any ideas ? Thanks
 
<a href="#" onclick="window.open('somepage.aspx','','resizable=no,scrollbars=no,width=600,height=700');return false;" >Click Here</a>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top