44 lines
1.3 KiB
HTML
44 lines
1.3 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 SketchLeftSch1_PostMessage(str){
|
|
parent.window.postMessage(
|
|
str,
|
|
"*" //or "www.parentpage.com"
|
|
);
|
|
}
|
|
function Button_ExportPathOK(){
|
|
var str="Sch1_ExportPath:OK#";
|
|
SketchLeftSch1_PostMessage(str);
|
|
}
|
|
function Button_ExportPathCancel(){
|
|
var str="Sch1_ExportPath:Cancel#";
|
|
SketchLeftSch1_PostMessage(str);
|
|
}
|
|
</script>
|
|
<title>Title</title>
|
|
</head>
|
|
<body>
|
|
<tr>
|
|
<p>
|
|
<input type=button class="btn" id="Button_ExportPathOK" value="ExportPathOK" onclick=Button_ExportPathOK() style="background:lightblue"></input>
|
|
</p>
|
|
</tr>
|
|
<tr>
|
|
<p>
|
|
<input type=button class="btn" id="Button_ExportPathCancel" value="ExportPathCancel" onclick=Button_ExportPathCancel() style="background:lightcoral"></input>
|
|
</p>
|
|
</tr>
|
|
</body>
|
|
<script src="../js/drag.js"></script>
|
|
</html>
|
|
<style>
|
|
input[type=button]{
|
|
margin: 10px;
|
|
}
|
|
</style> |