wwPageResponse::DocHeader
Creates an HTML document header,
section and tag.Example:
This FoxPro code:
Response.DocHeader("Hello World","css/westwind.css,css/myapp.css")
creates the following HTML document header:
<!DOCTYPE html>
<html>
<head>
<title>Hello World</title>
<link rel="stylesheet" type="text/css" href="css/westwind.css" />
<link rel="stylesheet" type="text/css" href="css/myapp.css" />
</head>
<body>
You can also add additional head section content as a raw string. For example the following adds a couple of JavaScript incudes into the page:
lcScripts = ;
[<script src="scripts/jquery.js" type="text/javascript" ></script>] + CRLF +;
[<script src="scripts/ww.jquery.js" type="text/javascript" ></script>]
Response.DocHeader("Hello World","css/westwind.css,css/myapp.css",lcScripts)
o.DocHeader(lcTitle, lcStyleSheets, lcHeaderItems, llNoOutput)
Parameters
lcTitle
A title for the page (maps to
lcStyleSheets
A comma delimited list of stylesheets to add to the page.
lcHeaderItems
Any additional header items you want to have embedded into the page. Content is take as is and added to the end of the