pop up window in asp
hei guys,
I've got some code to read a list of movies from a database & display them on a label
(as a link). However could someone please show me how i would add a target attribute
to this ( as i want a new window to pop up whenever one of these links is clicked).
lblSearchResults.Text = "<ol"
While SQLReader.Read
lblSearchResults.Text &= "<li><a href=""MovieDetail.aspx?ID=" & _
SQLReader.Item("MovieInfoID").ToString & "&IMDB=" & _
SQLReader.Item("IMDBTitleNumber").ToString & """>" & _
SQLReader.Item("MovieTitle") & "</a> </li>"
End While
I belive the sytax is :
<a href="http://www.w3schools.com/"
target="_blank">Visit W3Schools!</a>
cheers,
mark
|