44 lines
1.4 KiB
HTML
44 lines
1.4 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/sketchBtn.css"/>
|
||
|
|
<script type="text/javascript" type="text/javascript">
|
||
|
|
function SketchLeftSch0PostMessage(str){
|
||
|
|
parent.window.postMessage(
|
||
|
|
str,
|
||
|
|
"*" //or "www.parentpage.com"
|
||
|
|
);
|
||
|
|
}
|
||
|
|
|
||
|
|
function Button_ExportPath(){
|
||
|
|
SketchLeftSch0PostMessage("Sch0_ExportPath");
|
||
|
|
}
|
||
|
|
|
||
|
|
function Button_Undo(){
|
||
|
|
SketchLeftSch0PostMessage("Sch0_Undo");
|
||
|
|
}
|
||
|
|
|
||
|
|
function Button_Redo(){
|
||
|
|
SketchLeftSch0PostMessage("Sch0_Redo");
|
||
|
|
}
|
||
|
|
</script>
|
||
|
|
<title>Title</title>
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
<p>
|
||
|
|
<input type=button class="btn" id="Button_ExportPath" value="Button_ExportPath" onclick=Button_ExportPath() style="background:lightblue;margin: 10px;"></input>
|
||
|
|
<input type=button class="btn" id="Button_Undo" value="Button_Undo" onclick=Button_Undo() style="background:lightblue;margin: 10px;"></input>
|
||
|
|
<input type=button class="btn" id="Button_Redo" value="Button_Redo" onclick=Button_Redo() style="background:lightblue;margin: 10px;"></input>
|
||
|
|
|
||
|
|
</p>
|
||
|
|
</body>
|
||
|
|
<script src="../js/drag.js"></script>
|
||
|
|
</html>
|
||
|
|
<style>
|
||
|
|
input[type=button]{
|
||
|
|
margin: 10px;
|
||
|
|
}
|
||
|
|
</style>
|