Hello
I have some ASP code which tells the user how many times he has visited the Web page as in: "You have visited this page 5 times".
I would like this message to appear in yellow (must be: FFFF00) bold verdana, but I am not sure where to include it in VBScript.
Suggestions would be appreciated.
This is the code:
<%
response.cookies("NumVisits".Expires = date + 365
num=request.cookies("NumVisits"
If num = "" Then
response.cookies("NumVisits" = 1
Else
response.cookies("NumVisits" = num + 1
End If
%>
<html>
<body>
<%
if num="" then
%>
<b><font size=1 color=FFFF00 face=tahoma>Welcome to CMC Investigations! This is the first time you have visited our Web site</font></b>
<%
else
%>
You have visited this Web page <%response.write(num)
if num=1 then
response.write " time before!"
else
response.write " times before!"
end if
end if
%>
</body>
</html>
Many thanks!
I have some ASP code which tells the user how many times he has visited the Web page as in: "You have visited this page 5 times".
I would like this message to appear in yellow (must be: FFFF00) bold verdana, but I am not sure where to include it in VBScript.
Suggestions would be appreciated.
This is the code:
<%
response.cookies("NumVisits".Expires = date + 365
num=request.cookies("NumVisits"
If num = "" Then
response.cookies("NumVisits" = 1
Else
response.cookies("NumVisits" = num + 1
End If
%>
<html>
<body>
<%
if num="" then
%>
<b><font size=1 color=FFFF00 face=tahoma>Welcome to CMC Investigations! This is the first time you have visited our Web site</font></b>
<%
else
%>
You have visited this Web page <%response.write(num)
if num=1 then
response.write " time before!"
else
response.write " times before!"
end if
end if
%>
</body>
</html>
Many thanks!