static
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<script src="../jquery-2.1.0.min.js"></script>
|
||||
<script src="../jquery.cookie.js"></script>
|
||||
<script type="text/javascript" type="text/javascript">
|
||||
var Last_BoschTotalInit_Sch=-1;
|
||||
function Timer(){
|
||||
var BoschTotalInit_Sch=parseInt($.cookie('BoschTotalInit_Sch'));
|
||||
console.log('BoschTotalInit_Sch'+BoschTotalInit_Sch);
|
||||
if(BoschTotalInit_Sch!=Last_BoschTotalInit_Sch){
|
||||
Last_BoschTotalInit_Sch=BoschTotalInit_Sch;
|
||||
switch(BoschTotalInit_Sch){
|
||||
case 0:
|
||||
window.open('HMI_Mapping_Right_BoschTotalInit_Sch0.html', 'RightBoschTotalInitIframe');
|
||||
break;
|
||||
case 1:
|
||||
window.open('HMI_Mapping_Right_BoschTotalInit_Sch1.html', 'RightBoschTotalInitIframe');
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
window.setInterval("Timer()",100);
|
||||
</script>
|
||||
<title>Title</title>
|
||||
</head>
|
||||
<body>
|
||||
HMI_Mapping_Right_BoschTotalInit_Main
|
||||
<div id='BoschTotalInit_Sch'> </div>
|
||||
<div>
|
||||
<iframe id="RightBoschTotalInitIframe" name="RightBoschTotalInitIframe" width=1200 height=620 src="HMI_Mapping_Right_BoschTotalInit_Sch0.html" frameborder="2" scrolling="auto"></iframe>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user