Форум по Javascript
Anonymous
Ошибка на моем веб -сайте Кодирование не откроет ссылки в разделе календаря
Сообщение
Anonymous » 11 июн 2025, 01:39
Я не могу выяснить, что не так с моим разделом календаря сайта. Я смог исправить большинство ошибок и проблем самостоятельно. Когда вы попали в календарь на сайте, он открывается нормально, но вы пытаетесь нажать и событие, вы получите следующее сообщение об ошибке: < /p>
Ошибка произошла на сервере при обработке URL. Пожалуйста, свяжитесь с системом администратором.
function FilterMyOrder(ThisValue)
{
document.location.href='.asp?Activity_Date=&MyOrder='+ThisValue;
}
function NewActivity(ThisDate)
{
document.getElementById('PopWin01').style.display = '';
parent.frames['PopFrame01'].location.href = 'Data.asp?Data_Page_Type=INSERT&Activity_Date=' + ThisDate;
document.getElementById('PopTitle').value = 'New Scheduling';
}
function DtlActivity(PastDate,ThisID,Activity)
{
if ('' == 'Admin' && PastDate == '1')
{
parent.frames['PopFrame01'].location.href = 'Data.asp?Data_Page_Type=UPDATE&Primary_ID=' + ThisID;
document.getElementById('PopHeaderImg').src = 'TB_Secure.gif';
}
else
{
parent.frames['PopFrame01'].location.href = 'View.asp?Data_Page_Type=SELECT&Primary_ID=' + ThisID;
document.getElementById('PopHeaderImg').src = 'TB_App.png';
}
document.getElementById('PopTitle').value = Activity;
document.getElementById('PopWin01').style.display = '';
}
function ClosePop()
{
parent.frames['PopFrame01'].location.href = 'Nada.asp';
document.getElementById('PopWin01').style.display='none';
document.getElementById('PopWin01').style.width = 'px';
document.getElementById('PopWin01').style.height = 'px';
document.getElementById('PopFrame01').style.width = 'px';
document.getElementById('PopFrame01').style.height = 'px';
}
function PreviousMonth()
{
document.location.href='.asp?MyOrder=&Activity_Date=';
}
function NextMonth()
{
document.location.href='.asp?MyOrder=&Activity_Date=';
}
function AdminLogin()
{
var ThisWidth = '260px';
var ThisHeight = '200';
var FrameHeight = ((ThisHeight*1)-22) + 'px';
ThisHeight = ThisHeight + 'px';
document.getElementById('PopWin01').style.width = ThisWidth;
document.getElementById('PopWin01').style.height = ThisHeight;
document.getElementById('PopFrame01').style.width = ThisWidth;
document.getElementById('PopFrame01').style.height = FrameHeight;
document.getElementById('PopWin01').style.top = '20px';
document.getElementById('PopWin01').style.left = '5px';
document.getElementById('PopWin01').style.display = '';
parent.frames['PopFrame01'].location.href = 'Login.asp';
}
function PrintThis()
{
alert('Print in [Landscape] mode');
NewWin('Calendar/Print.asp?Activity_Date=&MyOrder=','PrintWin',500,600,'');
}
[url=JavaScript:document.location.href=]Log Out[/url][url=JavaScript:AdminLogin()]Admin Login[/url]
[url=JavaScript:PrintThis()]Print[/url]
<< Prev
Next >>
,
Sunday Monday Tuesday Wednesday Thursday Friday Saturday = Date() AND Login_Type = "Admin" THEN
Past_Date = "1"
Calendar_Day = "" & Day(rs("Activity_Date")) & " "
ELSE
Past_Date = "0"
Calendar_Day = "" & Day(rs("Activity_Date")) & " "
END IF
IF Date_db(rs("Activity_Date")) = Date_db(Date()) THEN bgColor = ";background:#FFFFBB" ELSE bgColor = "" END IF
%>
Filter to your Court
All []
px; height:px; display:none; position:absolute; top:60px; left:60px; z-index:1002;" onMouseDown="dragStart(event,'PopWin01');this.style.cursor='move'">
X
Nada.asp
Подробнее здесь:
https://stackoverflow.com/questions/796 ... ar-section
1749595185
Anonymous
Я не могу выяснить, что не так с моим разделом календаря сайта. Я смог исправить большинство ошибок и проблем самостоятельно. Когда вы попали в календарь на сайте, он открывается нормально, но вы пытаетесь нажать и событие, вы получите следующее сообщение об ошибке: < /p> [b] Ошибка произошла на сервере при обработке URL. Пожалуйста, свяжитесь с системом администратором. function FilterMyOrder(ThisValue) { document.location.href='.asp?Activity_Date=&MyOrder='+ThisValue; } function NewActivity(ThisDate) { document.getElementById('PopWin01').style.display = ''; parent.frames['PopFrame01'].location.href = 'Data.asp?Data_Page_Type=INSERT&Activity_Date=' + ThisDate; document.getElementById('PopTitle').value = 'New Scheduling'; } function DtlActivity(PastDate,ThisID,Activity) { if ('' == 'Admin' && PastDate == '1') { parent.frames['PopFrame01'].location.href = 'Data.asp?Data_Page_Type=UPDATE&Primary_ID=' + ThisID; document.getElementById('PopHeaderImg').src = 'TB_Secure.gif'; } else { parent.frames['PopFrame01'].location.href = 'View.asp?Data_Page_Type=SELECT&Primary_ID=' + ThisID; document.getElementById('PopHeaderImg').src = 'TB_App.png'; } document.getElementById('PopTitle').value = Activity; document.getElementById('PopWin01').style.display = ''; } function ClosePop() { parent.frames['PopFrame01'].location.href = 'Nada.asp'; document.getElementById('PopWin01').style.display='none'; document.getElementById('PopWin01').style.width = 'px'; document.getElementById('PopWin01').style.height = 'px'; document.getElementById('PopFrame01').style.width = 'px'; document.getElementById('PopFrame01').style.height = 'px'; } function PreviousMonth() { document.location.href='.asp?MyOrder=&Activity_Date='; } function NextMonth() { document.location.href='.asp?MyOrder=&Activity_Date='; } function AdminLogin() { var ThisWidth = '260px'; var ThisHeight = '200'; var FrameHeight = ((ThisHeight*1)-22) + 'px'; ThisHeight = ThisHeight + 'px'; document.getElementById('PopWin01').style.width = ThisWidth; document.getElementById('PopWin01').style.height = ThisHeight; document.getElementById('PopFrame01').style.width = ThisWidth; document.getElementById('PopFrame01').style.height = FrameHeight; document.getElementById('PopWin01').style.top = '20px'; document.getElementById('PopWin01').style.left = '5px'; document.getElementById('PopWin01').style.display = ''; parent.frames['PopFrame01'].location.href = 'Login.asp'; } function PrintThis() { alert('Print in [Landscape] mode'); NewWin('Calendar/Print.asp?Activity_Date=&MyOrder=','PrintWin',500,600,''); } [url=JavaScript:document.location.href=]Log Out[/url][url=JavaScript:AdminLogin()]Admin Login[/url] [url=JavaScript:PrintThis()]Print[/url] << Prev Next >> , [/b][b] Sunday[/b][b] Monday[/b][b] Tuesday[/b][b] Wednesday[/b][b] Thursday[/b][b] Friday[/b][b] Saturday[/b][b] = Date() AND Login_Type = "Admin" THEN Past_Date = "1" Calendar_Day = "[url= &Quote& ]" & Day(rs("Activity_Date")) & "[/url]" ELSE Past_Date = "0" Calendar_Day = "" & Day(rs("Activity_Date")) & "[/b]"[b] END IF IF Date_db(rs("Activity_Date")) = Date_db(Date()) THEN bgColor = ";background:#FFFFBB" ELSE bgColor = "" END IF %> Filter to your Court[/b] All [] px; height:px; display:none; position:absolute; top:60px; left:60px; z-index:1002;" onMouseDown="dragStart(event,'PopWin01');this.style.cursor='move'"> [img]TB_Secure.gif[/img] X Nada.asp Подробнее здесь: [url]https://stackoverflow.com/questions/79661188/error-in-my-website-coding-won-t-open-links-in-the-calendar-section[/url]