please sir help me ,
web portal does not work with chrome, safari, and Microsoft edge browsers.
popup windows do not function. how to solve itKnow the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
veeru singhPosted Aug 17, 2016, 7:09 AM
Midhun TpPosted Aug 6, 2016, 3:14 AM
veeru singhPosted Aug 6, 2016, 3:05 AM
Midhun TpPosted Aug 6, 2016, 2:55 AM
veeru singhPosted Aug 6, 2016, 2:44 AM
veeru singhPosted Aug 6, 2016, 2:43 AM
veeru singhPosted Aug 6, 2016, 2:40 AM
}
// Pramod Baghel
function getCourse(chked) {
//var chkarr=document.getElementById('chkarr')
//rdCourseTitle rdCourseNo LstCourseNo LstCourseTitle
if (chked == 2) {
document.getElementById('LstCourseNo').disabled = true;
document.getElementById('TxtTitle').disabled = false;
document.getElementById('LstCourseTitle').disabled = false;
}
if (chked == 1) {
document.getElementById('LstCourseTitle').disabled = true;
document.getElementById('TxtTitle').disabled = true;
document.getElementById('LstCourseNo').disabled = false;
}
}
function MM_preloadImages() {//v3.0
var d = document; if (d.images) {
if (!d.MM_p) d.MM_p = new Array();
var i, j = d.MM_p.length, a = MM_preloadImages.arguments; for (i = 0; i < a.length; i++)
if (a[i].indexOf("#") != 0) { d.MM_p[j] = new Image; d.MM_p[j++].src = a[i]; }
}
}
function key_enter_click(e) {
if (e.keyCode == 13) {
document.getElementById('BtnSave').click()
}
}
function openadvise(ID) {
showpresentationall('advisinglogdetails.aspx?advisinglogid=' + ID, 'Search', '', '291', '751');
}
//read cookie
function retrieveCookie(cookieName) {
var cookieJar = document.cookie.split("; ");
for (var x = 0; x < cookieJar.length; x++) {
var oneCookie = cookieJar[x].split("=");
if (oneCookie[0] == escape(cookieName)) {
return unescape(oneCookie[1]);
}
}
return null;
}
function AllowNumeric(obj) {
var compareString = '0123456789.';
var mainString = String.fromCharCode(obj);
if (compareString.indexOf(mainString) != -1)
return;
else
window.event.returnValue = false;
}
var mode;
function blinkscroll() {
if (mode == 0)
document.body.style.scrollbarFaceColor = "#D6DFFF"
else
document.body.style.scrollbarFaceColor = "white"
mode = (mode == 0) ? 1 : 0
}
var reValidString = /^\d*$/;
function isValid(strValue) {
return reValidString.test(strValue) || strValue.length == 0;
}
function maskPaste(objEvent, iflag) {
var strPasteData = window.clipboardData.getData("Text");
var objInput = objEvent.srcElement;
if (!isValid(strPasteData)) {
document.getElementById('TxtCrHour').value = "";
if (iflag == 1) {
alert('Only numeric values allow')
}
}
}
function show(flag) {
var width, height, top, left
if (bSizeScreen) {
width = 630
height = 480
if (flag == 1) {
width = 981
height = 451
} else {
width = 700
height = 500
}
top = (screen.availHeight - height) / 2
left = (screen.availWidth - width) / 2
bSizeScreen = false
window.moveTo(left, top)
window.resizeTo(width, height)
if (flag == 1) {
document.getElementById('dvcourse').style.height = height
document.getElementById('dvcourse').style.width = width
}
}
else {
top = 0
left = 0
width = screen.availWidth
height = screen.availHeight
bSizeScreen = true
window.moveTo(left, top)
window.resizeTo(width, height)
if (flag == 1) {
document.getElementById('dvcourse').style.height = screen.availHeight
document.getElementById('dvcourse').style.width = screen.availWidth
}
}
}
function uncheck(CourseID, ChkID) {
//alert(ChkID)
//var chk=document.getElementById(ChkID)
//if(chk.checked==false)
//{
//alert(CourseID)
//document.getElementById('hd_Chkcourseid').value=document.getElementById('hd_Chkcourseid').value.replace(CourseID,{})
// document.getElementById('hd_Chkcourseid').value=document.getElementById('hd_Chkcourseid').value.replace({},'')
//alert(document.getElementById('hd_Chkcourseid').value)
//}
}
function txtValidate(obj) {
var compareString = '0123456789';
var mainString = String.fromCharCode(obj);
if (compareString.indexOf(mainString) != -1)
return;
else
window.event.returnValue = false;
}
//--------- added by Pawan for Issue #10799--------
function makeDisable() {
//alert(Form1.cmbCountry.value);
if (Form1.cmbCountry.value != 'CNTRY228') {
Form1.cmbState.value = 'N/A';
Form1.cmbState.disabled = true
}
else {
Form1.cmbState.value = 'OH';
Form1.cmbState.disabled = false
}
}
function ColorChange(imgid, flag) {
//set all default buttons coloor
if (flag == 1) {
//document.getElementById(imgid).style.color='#CC0033';
//document.getElementById(imgid).style.color = '#CC0033';
//document.getElementById(imgid).style.backgroundColor = '#ffffff'
//document.getElementById(imgid).style.font.bold='True'
}
else {
//document.getElementById(imgid).style.color='#191970';
//document.getElementById(imgid).style.color='#191970'
//imgid.src='images/' + imgname
}
//set selected button image
}
//for Advisor login
function chngimagesAD(imgid, imgname, flag) {
//set all default buttons
if (flag == 1) {
if (document.getElementById(imgid) != null)
document.getElementById(imgid).src = 'images/' + imgname
}
else {
imgid.src = 'images/' + imgname
}
//set selected button image
}
//for Faculty login
function chngimagesFAC(imgid, imgname, flag) {
//set all default buttons
if (flag == 1) {
if (document.getElementById(imgid) != null)
document.getElementById(imgid).src = 'images/' + imgname
}
else {
imgid.src = 'images/' + imgname
}
//set selected button image
}
function Popmsg() {
gridcount = document.getElementById('hd_grdcount').value;
}
Mywindow = null;
function ShowHaltMessage(url, name, params, height, width) {
//openCenteredWindow(url, name, "toolbar:no;location:no;directories:no;statusbar:no;menubar:no;scrollbars:no;copyhistory:no;resizable:no;movable=no;", height, width);
//window.showModalDialog(url, "", "dialogHeight:200px; dialogWidth:300px; center:yes; scroll:no; status:no; resizable:no; dialogTop:500px; dialogLeft:250px; help:no; titlebar=no;");
Mywindow = window.open(url, name, "toolbar=0, location=0, status=0, scrollbars=0, menubar=0, directories=0, resizable=no, height=150, width=735,modal");
Mywindow.moveTo(244, 520);
Mywindow.focus();
check();
}
function check() {
if (Mywindow && !Mywindow.closed)
Mywindow.focus();
}
veeru singhPosted Aug 6, 2016, 2:39 AM
}
// Pramod Baghel
function getCourse(chked) {
//var chkarr=document.getElementById('chkarr')
//rdCourseTitle rdCourseNo LstCourseNo LstCourseTitle
if (chked == 2) {
document.getElementById('LstCourseNo').disabled = true;
document.getElementById('TxtTitle').disabled = false;
document.getElementById('LstCourseTitle').disabled = false;
}
if (chked == 1) {
document.getElementById('LstCourseTitle').disabled = true;
document.getElementById('TxtTitle').disabled = true;
document.getElementById('LstCourseNo').disabled = false;
}
}
function MM_preloadImages() {//v3.0
var d = document; if (d.images) {
if (!d.MM_p) d.MM_p = new Array();
var i, j = d.MM_p.length, a = MM_preloadImages.arguments; for (i = 0; i < a.length; i++)
if (a[i].indexOf("#") != 0) { d.MM_p[j] = new Image; d.MM_p[j++].src = a[i]; }
}
}
function key_enter_click(e) {
if (e.keyCode == 13) {
document.getElementById('BtnSave').click()
}
}
function openadvise(ID) {
showpresentationall('advisinglogdetails.aspx?advisinglogid=' + ID, 'Search', '', '291', '751');
}
//read cookie
function retrieveCookie(cookieName) {
var cookieJar = document.cookie.split("; ");
for (var x = 0; x < cookieJar.length; x++) {
var oneCookie = cookieJar[x].split("=");
if (oneCookie[0] == escape(cookieName)) {
return unescape(oneCookie[1]);
}
}
return null;
}
function AllowNumeric(obj) {
var compareString = '0123456789.';
var mainString = String.fromCharCode(obj);
if (compareString.indexOf(mainString) != -1)
return;
else
window.event.returnValue = false;
}
var mode;
function blinkscroll() {
if (mode == 0)
document.body.style.scrollbarFaceColor = "#D6DFFF"
else
document.body.style.scrollbarFaceColor = "white"
mode = (mode == 0) ? 1 : 0
}
var reValidString = /^\d*$/;
function isValid(strValue) {
return reValidString.test(strValue) || strValue.length == 0;
}
function maskPaste(objEvent, iflag) {
var strPasteData = window.clipboardData.getData("Text");
var objInput = objEvent.srcElement;
if (!isValid(strPasteData)) {
document.getElementById('TxtCrHour').value = "";
if (iflag == 1) {
alert('Only numeric values allow')
}
}
}
function show(flag) {
var width, height, top, left
if (bSizeScreen) {
width = 630
height = 480
if (flag == 1) {
width = 981
height = 451
} else {
width = 700
height = 500
}
top = (screen.availHeight - height) / 2
left = (screen.availWidth - width) / 2
bSizeScreen = false
window.moveTo(left, top)
window.resizeTo(width, height)
if (flag == 1) {
document.getElementById('dvcourse').style.height = height
document.getElementById('dvcourse').style.width = width
}
}
else {
top = 0
left = 0
width = screen.availWidth
height = screen.availHeight
bSizeScreen = true
window.moveTo(left, top)
window.resizeTo(width, height)
if (flag == 1) {
document.getElementById('dvcourse').style.height = screen.availHeight
document.getElementById('dvcourse').style.width = screen.availWidth
}
}
}
function uncheck(CourseID, ChkID) {
//alert(ChkID)
//var chk=document.getElementById(ChkID)
//if(chk.checked==false)
//{
//alert(CourseID)
//document.getElementById('hd_Chkcourseid').value=document.getElementById('hd_Chkcourseid').value.replace(CourseID,{})
// document.getElementById('hd_Chkcourseid').value=document.getElementById('hd_Chkcourseid').value.replace({},'')
//alert(document.getElementById('hd_Chkcourseid').value)
//}
}
function txtValidate(obj) {
var compareString = '0123456789';
var mainString = String.fromCharCode(obj);
if (compareString.indexOf(mainString) != -1)
return;
else
window.event.returnValue = false;
}
//--------- added by Pawan for Issue #10799--------
function makeDisable() {
//alert(Form1.cmbCountry.value);
if (Form1.cmbCountry.value != 'CNTRY228') {
Form1.cmbState.value = 'N/A';
Form1.cmbState.disabled = true
}
else {
Form1.cmbState.value = 'OH';
Form1.cmbState.disabled = false
}
}
function ColorChange(imgid, flag) {
//set all default buttons coloor
if (flag == 1) {
//document.getElementById(imgid).style.color='#CC0033';
//document.getElementById(imgid).style.color = '#CC0033';
//document.getElementById(imgid).style.backgroundColor = '#ffffff'
//document.getElementById(imgid).style.font.bold='True'
}
else {
//document.getElementById(imgid).style.color='#191970';
//document.getElementById(imgid).style.color='#191970'
//imgid.src='images/' + imgname
}
//set selected button image
}
//for Advisor login
function chngimagesAD(imgid, imgname, flag) {
//set all default buttons
if (flag == 1) {
if (document.getElementById(imgid) != null)
document.getElementById(imgid).src = 'images/' + imgname
}
else {
imgid.src = 'images/' + imgname
}
//set selected button image
}
//for Faculty login
function chngimagesFAC(imgid, imgname, flag) {
//set all default buttons
if (flag == 1) {
if (document.getElementById(imgid) != null)
document.getElementById(imgid).src = 'images/' + imgname
}
else {
imgid.src = 'images/' + imgname
}
//set selected button image
}
function Popmsg() {
gridcount = document.getElementById('hd_grdcount').value;
}
Mywindow = null;
function ShowHaltMessage(url, name, params, height, width) {
//openCenteredWindow(url, name, "toolbar:no;location:no;directories:no;statusbar:no;menubar:no;scrollbars:no;copyhistory:no;resizable:no;movable=no;", height, width);
//window.showModalDialog(url, "", "dialogHeight:200px; dialogWidth:300px; center:yes; scroll:no; status:no; resizable:no; dialogTop:500px; dialogLeft:250px; help:no; titlebar=no;");
Mywindow = window.open(url, name, "toolbar=0, location=0, status=0, scrollbars=0, menubar=0, directories=0, resizable=no, height=150, width=735,modal");
Mywindow.moveTo(244, 520);
Mywindow.focus();
check();
}
function check() {
if (Mywindow && !Mywindow.closed)
Mywindow.focus();
}
veeru singhPosted Aug 6, 2016, 2:39 AM
}
// Pramod Baghel
function getCourse(chked) {
//var chkarr=document.getElementById('chkarr')
//rdCourseTitle rdCourseNo LstCourseNo LstCourseTitle
if (chked == 2) {
document.getElementById('LstCourseNo').disabled = true;
document.getElementById('TxtTitle').disabled = false;
document.getElementById('LstCourseTitle').disabled = false;
}
if (chked == 1) {
document.getElementById('LstCourseTitle').disabled = true;
document.getElementById('TxtTitle').disabled = true;
document.getElementById('LstCourseNo').disabled = false;
}
}
function MM_preloadImages() {//v3.0
var d = document; if (d.images) {
if (!d.MM_p) d.MM_p = new Array();
var i, j = d.MM_p.length, a = MM_preloadImages.arguments; for (i = 0; i < a.length; i++)
if (a[i].indexOf("#") != 0) { d.MM_p[j] = new Image; d.MM_p[j++].src = a[i]; }
}
}
function key_enter_click(e) {
if (e.keyCode == 13) {
document.getElementById('BtnSave').click()
}
}
function openadvise(ID) {
showpresentationall('advisinglogdetails.aspx?advisinglogid=' + ID, 'Search', '', '291', '751');
}
//read cookie
function retrieveCookie(cookieName) {
var cookieJar = document.cookie.split("; ");
for (var x = 0; x < cookieJar.length; x++) {
var oneCookie = cookieJar[x].split("=");
if (oneCookie[0] == escape(cookieName)) {
return unescape(oneCookie[1]);
}
}
return null;
}
function AllowNumeric(obj) {
var compareString = '0123456789.';
var mainString = String.fromCharCode(obj);
if (compareString.indexOf(mainString) != -1)
return;
else
window.event.returnValue = false;
}
var mode;
function blinkscroll() {
if (mode == 0)
document.body.style.scrollbarFaceColor = "#D6DFFF"
else
document.body.style.scrollbarFaceColor = "white"
mode = (mode == 0) ? 1 : 0
}
var reValidString = /^\d*$/;
function isValid(strValue) {
return reValidString.test(strValue) || strValue.length == 0;
}
function maskPaste(objEvent, iflag) {
var strPasteData = window.clipboardData.getData("Text");
var objInput = objEvent.srcElement;
if (!isValid(strPasteData)) {
document.getElementById('TxtCrHour').value = "";
if (iflag == 1) {
alert('Only numeric values allow')
}
}
}
function show(flag) {
var width, height, top, left
if (bSizeScreen) {
width = 630
height = 480
if (flag == 1) {
width = 981
height = 451
} else {
width = 700
height = 500
}
top = (screen.availHeight - height) / 2
left = (screen.availWidth - width) / 2
bSizeScreen = false
window.moveTo(left, top)
window.resizeTo(width, height)
if (flag == 1) {
document.getElementById('dvcourse').style.height = height
document.getElementById('dvcourse').style.width = width
}
}
else {
top = 0
left = 0
width = screen.availWidth
height = screen.availHeight
bSizeScreen = true
window.moveTo(left, top)
window.resizeTo(width, height)
if (flag == 1) {
document.getElementById('dvcourse').style.height = screen.availHeight
document.getElementById('dvcourse').style.width = screen.availWidth
}
}
}
function uncheck(CourseID, ChkID) {
//alert(ChkID)
//var chk=document.getElementById(ChkID)
//if(chk.checked==false)
//{
//alert(CourseID)
//document.getElementById('hd_Chkcourseid').value=document.getElementById('hd_Chkcourseid').value.replace(CourseID,{})
// document.getElementById('hd_Chkcourseid').value=document.getElementById('hd_Chkcourseid').value.replace({},'')
//alert(document.getElementById('hd_Chkcourseid').value)
//}
}
function txtValidate(obj) {
var compareString = '0123456789';
var mainString = String.fromCharCode(obj);
if (compareString.indexOf(mainString) != -1)
return;
else
window.event.returnValue = false;
}
//--------- added by Pawan for Issue #10799--------
function makeDisable() {
//alert(Form1.cmbCountry.value);
if (Form1.cmbCountry.value != 'CNTRY228') {
Form1.cmbState.value = 'N/A';
Form1.cmbState.disabled = true
}
else {
Form1.cmbState.value = 'OH';
Form1.cmbState.disabled = false
}
}
function ColorChange(imgid, flag) {
//set all default buttons coloor
if (flag == 1) {
//document.getElementById(imgid).style.color='#CC0033';
//document.getElementById(imgid).style.color = '#CC0033';
//document.getElementById(imgid).style.backgroundColor = '#ffffff'
//document.getElementById(imgid).style.font.bold='True'
}
else {
//document.getElementById(imgid).style.color='#191970';
//document.getElementById(imgid).style.color='#191970'
//imgid.src='images/' + imgname
}
//set selected button image
}
//for Advisor login
function chngimagesAD(imgid, imgname, flag) {
//set all default buttons
if (flag == 1) {
if (document.getElementById(imgid) != null)
document.getElementById(imgid).src = 'images/' + imgname
}
else {
imgid.src = 'images/' + imgname
}
//set selected button image
}
//for Faculty login
function chngimagesFAC(imgid, imgname, flag) {
//set all default buttons
if (flag == 1) {
if (document.getElementById(imgid) != null)
document.getElementById(imgid).src = 'images/' + imgname
}
else {
imgid.src = 'images/' + imgname
}
//set selected button image
}
function Popmsg() {
gridcount = document.getElementById('hd_grdcount').value;
}
Mywindow = null;
function ShowHaltMessage(url, name, params, height, width) {
//openCenteredWindow(url, name, "toolbar:no;location:no;directories:no;statusbar:no;menubar:no;scrollbars:no;copyhistory:no;resizable:no;movable=no;", height, width);
//window.showModalDialog(url, "", "dialogHeight:200px; dialogWidth:300px; center:yes; scroll:no; status:no; resizable:no; dialogTop:500px; dialogLeft:250px; help:no; titlebar=no;");
Mywindow = window.open(url, name, "toolbar=0, location=0, status=0, scrollbars=0, menubar=0, directories=0, resizable=no, height=150, width=735,modal");
Mywindow.moveTo(244, 520);
Mywindow.focus();
check();
}
function check() {
if (Mywindow && !Mywindow.closed)
Mywindow.focus();
}
Midhun TpPosted Aug 6, 2016, 2:26 AM
veeru singhPosted Aug 6, 2016, 2:08 AM
if (width == null || width == undefined) { width = 701; }
if (height == null || height == undefined) { height = 501; }
var left = Math.floor((screen.width - width) / 2);
var top = Math.floor((screen.height - height) / 2);
var winParams = "top=" + top + ",left=" + left + ",height=" + height + ",width=" + width;
var win
if (params) {
winParams += "," + params;
}
try {
win = window.open(url, "name", winParams);
}
catch (ex) {
alert(ex)
}
if (parseInt(navigator.appVersion) >= 4) {
try {
win.window.focus();
}
catch (ex) {
}
}
return win;
}
Midhun TpPosted Aug 4, 2016, 6:57 AM
Midhun TpPosted Aug 4, 2016, 6:42 AM
veeru singhPosted Aug 4, 2016, 6:38 AM
veeru singhPosted Aug 4, 2016, 6:32 AM
Midhun TpPosted Aug 4, 2016, 6:21 AM
veeru singhPosted Aug 4, 2016, 6:08 AM
but there are several places where a popup window should appear (add course, drop course, select section, etc
on chrome, safari, and edge the popup forms don't appear.
the page just sits there.
Midhun TpPosted Aug 4, 2016, 5:45 AM