Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>CRMPicco</title>
<SCRIPT LANGUAGE="VBScript">
<!--
sub Ibrox_Or_Parkhead
dim response
response = MsgBox ("Do you want to perform a stadium Search?", VBYesNo, "Glasgow Rangers")
If response = vbYes then
window.location = "rfc_book.asp"
ElseIf response = vbNo then
window.location = "multicups/multicups.asp"
end If
end sub
-->
</SCRIPT>
</head>
<body onLoad="Ibrox_Or_Parkhead">
</body>
</html>
This is my working function above.
I was wondering if there is a way still to change the 'title' or 'heading' to my MsgBox?
Currently it appears as "VBScript
: Glasgow Rangers" in the title of the MsgBox, is there a way to change it to read just "Glasgow Rangers"?
Omitting the VBScript
:
Also, are the <!-- lines valid in VBScript as they are in JavaScript?
www.crmpicco.co.uk