VML drawing board ① main control--vmlgraph.htm

Source: Internet
Author: User
Main control


***************


* vmlgraph.htm


***************


<html>


<xmlns:v= "urn:schemas-microsoft-com:vml"/>


<head>


<meta http-equiv= "Content-type" content= "text/html"; charset=gb2312 ">


<TITLE>VML drawing board </title>


<style>


v\:* {behavior:url (#default #vml);}


td {Font-size:9pt;}


</style>


</head>


<script src= "Vmlgraph.js" ></script>


<script src= "Xmltool.js" ></script>


<script language= "JavaScript" >


//Hook function, which is called when the tool is selected


function Hooke () {


}


</script>


<body onload= "init ()" >


<table>


<tr>


<td width=61 valign=top>


<span id= "toolbox" ></span><br>


<span id= "Linebox" ></span><br>


<span id= "opacity1" ></span><br>


</td>


<TD valign=top>


<span id= "View" Align=left valign=top>


your browser may not support vml! Please use ie5+. Need xml3.0 support. <br>


best results appear in IE6.


</span>


</td>


<TD valign=top>


<input type=button value= "Refresh style=" HEIGHT:16; border:1px solid #C0C0C0; "onclick=" View.innerhtml=tree (canvas.documentelement,0) ">


<input Type=button value= "Save style=" HEIGHT:16; border:1px solid #C0C0C0; "onclick=" SaveXML () ><br><br>


<span id= "Gradientbox" ></span><br>


<input id= "type1" Type=button value= "progressive" style= "width:36"; height:16; border:1px solid red; "onclick=" Settype (this) >


<input id= "type2" Type=button value= "Focus style=" width:36; height:16; border:1px solid black; "onclick=" Settype (this) >


<input id= "type3" Type=button value= "color order style=" WIDTH:36; height:16; border:1px solid red; "onclick=" Settype (this) ><br>


<span id= "textbox" style= "Visibility:hidden;" >


text <input type=text name=txt id=txt size=15 style= "width:96; height:16; border:1px solid #C0C0C0; " ><br>


font <select style= "width:60; height:16; border:1px solid #C0C0C0; " >


</select><br>


Font size <select style= "WIDTH:60; height:16; border:1px solid #C0C0C0; " >


</select>


</span>


<span id= "Minview" ></span>


</td>


</tr>


<tr>


<td><span id= "oxy" ></td>


<td id= "Color" valign= "Top" >


</td>


<td></td>


</tr>


</table>





<xml id= "Tools" src= "Vmlgraph.xml" async= "false" ></xml>


<xml id= "Canvas" >


<root xmlns:v= "URN:SCHEMAS-MICROSOFT-COM:VML" >


<v:group id= "group" style= "WIDTH:500; height:300 "coordsize=" 500,300 "onmousemove=" cursor (1) "onmouseout=" cursor (0) "onmousedown=" Mouse_down () "OnMouseUp" = "mouse_up ()" >


<v:rect style= "width:500; height:300 "fillcolor=" #ffffff "strokecolor=" #000000 "strokeweight=" 1 "/>


</v:group>


</root>


</xml>


</body>


</html>








Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.