I use a pop up window on a small web based app we distribute to customers on CD and have fallen foul to SP2 popup blocker.
I think i have found a solution, which is to detect IE and then use createPopup(), else use window.open. My problem is I dont know how to use createPopup() - any help please. This is what I have so far...
I think i have found a solution, which is to detect IE and then use createPopup(), else use window.open. My problem is I dont know how to use createPopup() - any help please. This is what I have so far...
Code:
<SCRIPT LANGUAGE="JavaScript">
function popUp(URL) {
if(navigator.appName == "Microsoft Internet Explorer")
{
window.createPopup(URL)
}
else
{
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=600,left = 660,top = 300');");
}
}
</script>