Now Windows 8 RP has been released for a month, and ie10 has undergone major updates and changes. As a developer, especially a website-related developer. What you must know is that a web page can have some extraordinary experience in Windows 8. My personal summary should include the following.
- Multi-touch support: In ie10, you can use JavaScript to process users' multi-touch input, such as the pull and rotation of two fingers.
- Recognize input devices: You can use simple JavaScript event listening to know the devices that the current user inputs, such as finger clicks, mouse clicks, and pen clicks.
- Efficient sharing: integrates the sharing feature of Windows 8 to customize the sharing content.
- Dynamic tile: A simple website is fixed, which can maintain a message push function, so that "Shortcuts" are no longer static. When you click it again, you can also customize the navigation of the jump task.
- Flexible Stickers: it is also integrated with the use of Windows 8, making the website more user-friendly and extraordinary user experience.
I said so, I want to share more information.CodeExamples.
The device code for identifying input in ie10 is:
<SCRIPT type = 'text/JavaScript '>
VaR T = Document. getelementbyid ("Div ");
T. addeventlistener ("Mspointerdown", _ Back, false );
Function _ back (E)
{
Alert (E. pointertype. tostring ());
}
</SCRIPT>
For more information, download the ie10 compatibility White Paper hd pdf version.
Note: At present, each major website has an ie10 compatible White Paper, which is the first initial version. The following is the latest version after modification.
/Files/risk/ie10compatible white leather books _20120606.pdf
Hope to help more people