Baidu online tablet code and Baidu online Tablet
<! Doctype html>
<Html>
<Head>
<Meta http-equiv = "Content-Type" content = "text/html; charset = gb2312">
<Title> Baidu online tablet code-php self-learning Network </title>
<Style>
# Sx {color: # 00C; text-decoration: underline; cursor: pointer ;}
</Style>
</Head>
<Body>
<Form name = "f" action = "s">
<Input type = "text" name = "wd" id = "kw" maxlength = "100">
<Input type = "submit" value = "" id = "su">
<Span id = "sx"> handwriting </span>
</Form>
<Script>
Var w = window, d = document, n = navigator, k = d. f. wd
If (w. attachEvent ){
W. attachEvent ("onload", function () {k. focus ();})
} Else {
W. addEventListener ('load', function () {k. focus ()}, true)
};
Var hw = {};
Hw. I = d. getElementById ("sx ");
Var il = false;
If (/msie (\ d + \. \ d)/I. test (n. userAgent )){
Hw. I. setAttribute ("unselectable", "on ")
} Else {
Var sL = k. value. length;
K. selectionStart = sL;
K. selectionEnd = sL
}
Hw. I. onclick = function (B ){
Var B = B | w. event;
B. stopPropagation? B. stopPropagation (): (B. cancelBubble = true );
If (d. selection & d. activeElement. id & d. activeElement. id = "kw "){
Hw. hasF = 1
} Else {
If (! D. selection ){
Hw. hasF = 1
}
}
If (! Il ){
Var A = d. createElement ("script ");
A. setAttribute ("src", "http://www.baidu.com/hw/hwInput.js ");
D. getElementsByTagName ("head") [0]. appendChild ();
Il = true;
}
};
</Script>
</Body>
</Html>
Why Does Baidu not have an Online Handwriting input method?
1. If you have logged on to the Baidu account, log out first.
2. Open the Baidu homepage again and click the "Search Settings" option in the upper-right corner of the homepage,
3. On the page that appears, select "pinyin" or "handwriting" from the input method drop-down box and click "Save settings"
4. Restart the browser and open the Baidu homepage.
Is the webpage code input by hand?
What should I do? You can call it by hand, but you can drag the control directly or copy some code to change it. It is unlikely that all data will be written!