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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Midhun TpRank #388 · 6.5K reputationPosted Aug 4, 2016, 1:45 AM EDT
veeru singh122 reputationPosted Aug 4, 2016, 2:08 AM EDT
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 TpRank #388 · 6.5K reputationPosted Aug 4, 2016, 2:21 AM EDT
veeru singh122 reputationPosted Aug 4, 2016, 2:32 AM EDT
veeru singh122 reputationPosted Aug 4, 2016, 2:38 AM EDT
Midhun TpRank #388 · 6.5K reputationPosted Aug 4, 2016, 2:42 AM EDT
Midhun TpRank #388 · 6.5K reputationPosted Aug 4, 2016, 2:57 AM EDT
veeru singh122 reputationPosted Aug 5, 2016, 10:08 PM EDT
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 TpRank #388 · 6.5K reputationPosted Aug 5, 2016, 10:26 PM EDT
veeru singh122 reputationPosted Aug 5, 2016, 10:39 PM EDT
}
// 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 singh122 reputationPosted Aug 5, 2016, 10:39 PM EDT
}
// 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 singh122 reputationPosted Aug 5, 2016, 10:40 PM EDT
}
// 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 singh122 reputationPosted Aug 5, 2016, 10:43 PM EDT
veeru singh122 reputationPosted Aug 5, 2016, 10:44 PM EDT
Midhun TpRank #388 · 6.5K reputationPosted Aug 5, 2016, 10:55 PM EDT
veeru singh122 reputationPosted Aug 5, 2016, 11:05 PM EDT
Midhun TpRank #388 · 6.5K reputationPosted Aug 5, 2016, 11:14 PM EDT
veeru singh122 reputationPosted Aug 17, 2016, 3:09 AM EDT