NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: JohanR on March 23, 2021, 12:51:22 AM
-
Hi,
I am busy with a new static site with some dynamic content.
Using the following tags, just wanted to know what exactly they do.
<!-- NetWebServer -->
<!-- Net:c:Head -->
<!-- Net:c:BodyEnd -->
As far as I can tell,
<!-- NetWebServer --> ! alerts the server to parse the page
<!-- Net:c:Head --> ! inserts the scripts and CSS specified in the webserver
1) Is there a way to not include any of the builtin/default NTWS JS and CSS, or have access to select which of the default JS and CSS is included?
2) Is there anything else that these tags do?
3) <!-- Net:c:BodyEnd --> not sure what this does except perhaps alert the server to parse until here?
Any further info appreciated
Johan
-
<!-- NetWebServer -->
tells the WebHandler to parse the text of the static file looking for tags
<!-- Net:c:Head -->
includes all the <head> stuff
<!-- Net:c:Body -->
(not BodyEnd)
includes all the Body stuff. (as defined in .BodyOnLoad method)
>> 1) Is there a way to not include any of the builtin/default NTWS JS and CSS, or have access to select which of the default JS and CSS is included?
sure - don't put in
<!-- Net:c:Head -->
but construct your own header.
Cheers
Bruce