View Single Post
  #3 (permalink)  
Old February 20th, 2006, 08:50 AM
crmpicco crmpicco is offline
Friend of Wrox
 
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default

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
Reply With Quote