apwestgarth
ISP
Hi I wonder if anyone might be able to help me, I have moved a site over from Windows 2000 IIS5 to Windows 2003 IIS6 and since have experienced a Javascript error on a page which worked on IIS5, can anyone shed anylight as to whether I have missed something on the server configuration.
Calendarscript.inc
Basic page
Please can anyone help?
Andrew Westgarth
Web Developer
Calendarscript.inc
Code:
var mCalname = null;
var iswinopen = 0;
function OpenCalendar(mCaller,mCalname,mTitle)
{
if (iswinopen == 0)
{
mCalname = window.open("/e-forms/st_calendar.asp?caller="+mCaller+"&title="+mTitle,mCalname,"titlebar=no,width=255,height=270,left=200,top=100,resizable=no,toolbar=no,status=no,menubar=no,directories=no,scrollbars=no,copyhistory=no,location=no");
iswinopen = 1;
}
}
Code:
<html>
<head>
<script type="text/javascript" src="calendarscript.inc"></script>
</head>
<body>
<form name="page_form">
<input type="text" name="bookingdate" size="13" style="width:100" readonly value="">
<input type="button" name="bookingdatebutton" value="Calendar" onClick="javascript: OpenCalendar('page_form.bookingdate','bookingdatecalendar','Booking Date');">
</form>
</body>
</html>
Please can anyone help?
Andrew Westgarth
Web Developer