I am on a team developing application on secure server(Https). i have a java script calendar popup for date field. As my appliation is https ,if the user clicks caledar popup, the browser pop-ups a messages saying "you are about to leave secure connection" , i understand that this is because of the browser setting to warn if swicthng for secure to nonsecure settings. I dont want this pop-up to come up when the user clicks on java script caleder pop-up.
i greatly appreciate if someone can give me an idea to get rid of the browser pop-up notification.
and my showCal function does the things what you exactly guessed calWin=window.open("","cal","toolbar=0,width="+calWidth+",height="+calHeight+",screenx="+(winX+calOffsetX)+",screeny="+(winY+calOffsetY)); calWin.document.open(); calWin.document.write(calendar); calWin.document.close();
and now what i am trying to do as u said is calWin.document.open("blankpage.html");
i hope it will work ,i cannot test it now as i have to move the code to the https server.
i will post it how it works when i deploy to htttps server.
with that, now it is not giving any more warning about changing from non secure to securemode. I get a different problem this time some times the calendar popups with error 404 page not found and sometimes the calendar is perfect.
yes i kept in the relative path. 10 out of 10 times on my system works perfect. But on some other systems its is not. i do observe in my system that it is first opening the "blankpage.html" and then gets overwritten with scrip stuff(caledar stuff). In that mean time, on some systems it shows page not found error and on some systems it works perfect.