Johan
22-07-2003, 12:02/12:02PM
Whats the best book to read if you already know VB and code in such a way the ASP builds the HTML page rather than inserting ASP into a HTML page like so many exsamples in books and they confuse my little brain.
eg:
Response.Write "<html>" & vbCrLf & _
"<head>" & vbCrLf & _
"<title>" & strPageTitle & "</title>" & vbCrLf & _
"<link rel=""STYLESHEET"" href=""/moviesite/standard.css"">" & _
displayTop() & _
out & _
displayFooter() & _
"</body>" & _
etc.....
or like:
<%
Function DisplayTop()
Dim out
out = "<table width=""100%"" border=""0"" cellspacing=""0"" cellpadding=""0"">"
out = out & " <tr>"
out = out & " <td><img src=""/images/moviesite2_01.gif"" width=""440"" height=""60""></td>"
out = out & " <td BACKGROUND=""/images/moviesite2_02.gif"" width=""100%""><img src=""/images/moviesite2_02.gif"" height=""60""></td>"
out = out & " <td>"
etc.....
:cheers:
eg:
Response.Write "<html>" & vbCrLf & _
"<head>" & vbCrLf & _
"<title>" & strPageTitle & "</title>" & vbCrLf & _
"<link rel=""STYLESHEET"" href=""/moviesite/standard.css"">" & _
displayTop() & _
out & _
displayFooter() & _
"</body>" & _
etc.....
or like:
<%
Function DisplayTop()
Dim out
out = "<table width=""100%"" border=""0"" cellspacing=""0"" cellpadding=""0"">"
out = out & " <tr>"
out = out & " <td><img src=""/images/moviesite2_01.gif"" width=""440"" height=""60""></td>"
out = out & " <td BACKGROUND=""/images/moviesite2_02.gif"" width=""100%""><img src=""/images/moviesite2_02.gif"" height=""60""></td>"
out = out & " <td>"
etc.....
:cheers: