Files
apt-nl-map/static/Magic4/Sketch/HMI_Sketch_Left_RemovePath_Sch0.html
2024-12-04 10:21:04 +08:00

46 lines
2.0 KiB
HTML

<!DOCTYPE html>
<html lang="en" id="container" onmousedown="startDrag(event)" onmouseup="stopDrag(event)" onmousemove="dragging(event)" style="overflow-x: hidden;
overflow-y: hidden; ">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="../css/bootstrap.min.css"/>
<link rel="stylesheet" href="../css/btn.css"/>
<link rel="stylesheet" href="../css/sketchBtn.css"/>
<script type="text/javascript" type="text/javascript">
function SketchLeftRemovePathSch0PostMessage(str){
parent.window.postMessage(
str,
"*" //or "www.parentpage.com"
);
}
function Button_RemoveSinglePath(){
SketchLeftRemovePathSch0PostMessage("RemoveSinglePath");
}
function Button_RemoveDualPath(){
SketchLeftRemovePathSch0PostMessage("RemoveDualPath");
}
function Button_RemoveAllPath(){
SketchLeftRemovePathSch0PostMessage("RemoveAllPath");
}
</script>
<title>Title</title>
</head>
<body>
<p>
<!-- <input type=button class="btn" id="Button_RemoveSinglePath" value="删除单条路径" onclick=Button_RemoveSinglePath() style=" background:lightblue"></input> -->
<input type=button class="btn" id="Button_RemoveSinglePath" value="RemoveSinglePath" onclick=Button_RemoveSinglePath() style=" background:lightblue"></input>
</p>
<p>
<!-- <input type=button class="btn" id="Button_RemoveDualPath" value="删除双重路径" onclick=Button_RemoveDualPath() style=" background:lightblue"></input> -->
<input type=button class="btn" id="Button_RemoveDualPath" value="RemoveDualPath" onclick=Button_RemoveDualPath() style=" background:lightblue"></input>
</p>
<p>
<!-- <input type=button class="btn" id="Button_RemoveAllPath" value="删除全部路径" onclick=Button_RemoveAllPath() style=" background:lightblue"></input> -->
<input type=button class="btn" id="Button_RemoveAllPath" value="RemoveAllPath" onclick=Button_RemoveAllPath() style=" background:lightblue"></input>
</p>
</body>
<script src="../js/drag.js"></script>
</html>