View. php

Source: Internet
Author: User
<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 = "XMLtool. js"> </script>
<Script>
// Hook function, used to clear code display
Function Hoke (){
Code. innerText = "";
}
// Obtain the XML document from the server. The server will return the vml document. You can simply use the readfile function according to parameter v.
Function loadXML (v)
{
Var xmlHTTP = new ActiveXObject ("Microsoft. XMLHTTP ");
XmlHTTP. open ("GET", "server. php? Info = "+ v, false );
XmlHTTP. setRequestHeader ("Contrn-type", "text/xml ");
XmlHTTP. setRequestHeader ("Contrn-charset", "gb2312 ");
XmlHTTP. send (v );
View. innerHTML = xmlHTTP. responseText;
Hoke ();
If (xmlHTTP. responseText. indexOf ("Error :")! =-1 ){
Alert (xmlHTTP. responseText );
    }
}
// The following functions are used to interact with vml documents.
Function cursor (){}
Function mouse_down (){}
Function mouse_up (){}
Function setOverColor (){}
Function setOutColor (){}
Function deleteNode (){}
</Script>
<Body onLoad = "loadXML (1)">
<Table>
<Tr>
<Td> work presentation </td>
</Tr>
<Tr>
<Td id = "view"> </td>
</Tr>
<Tr>
<Td>
<? Php
// The variable num is the total number of saved vml documents, which is simply specified here. Adjust according to the actual organization

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.