SoFunction
Updated on 2025-02-28

Commonly used pop-up ads and rear projection ad implementation methods in JavaScript

<html>
<head>
<title>Commonly used pop-up ads and rear projection ad codes in JavaScript</title>
</head>
<body>
<!--Repost-projection-->
<SCRIPT language=JavaScript1.2>
function openWindowBack() {
 var popUpWin2 = open("https://", "popUpWin2", "width=1,height=1,top=4000,left=3000");
}
try{
 ("openWindowBack()");
}catch(e){
 openWindowBack();
}
</SCRIPT>
<!--Rearcast end->

<!--Front pop-up window-->
<SCRIPT language=JavaScript1.2>
function openWindowFront() {
 var popUpWin = open("/", "popUpWin", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbar=no,resizable=no,copyhistory=yes,width=300,height=250");
}
try{
 ("openWindowFront()");
}catch(e){
 openWindowFront();
}
</SCRIPT>
<br />
</body>
</html>