Document directory
- Background in desktop gadgets Development
By Terry Li-gbin1.com
Friends who use Vista and win7 may have used Windows Gadgets more or less. These gadgets can be freely added to the desktop and quickly implement certain functions, such as weather forecasts, stock futures, and dates, remote Desktop and other very useful tools, in fact, have similar functions in the old version of Windows desktop, at that time called desktop Web applications, you can add some web pages to your desktop, of course, in the latest win7, these features provide related development interfaces and feature enhancements, and you can freely complete personalized features as needed, this article describes how to use jquery to help you quickly develop and implement desktop gadgets.
Initially, this desktop tool was developed to effectively provide internal extension query functions for company colleagues. Generally, employees use outlook or MS communicator to query their extension numbers, however, this process requires a colleague to open outlook and enter the keyword to query the extension number. Here, we hope that internal users can directly add a desktop gadgets and then directly query them, saving time for opening the relevant software. The following describes the development process:
Background in desktop gadgets Development
Before officially developing gadgets, we need to understand the development process of some basic desktop gadgets. In fact, if you are familiar with CSS and JavaScript, the whole development process will be simple and straightforward, for every small tool, you can think of it as an independent IFRAME, which is added to the desktop. Then, develop specific functions based on the APIS provided by MS:
Generally, you can view the list of gadgets in the following directory:
% USERPROFILE %/appdata/local/Microsoft/Windows Sidebar/gadgets (user's gadgets)
% System_root %/program files/Windows Sidebar/gadgets (Global gadgets)
In the preceding directory, we can create a new directory to develop new gadgets. For example, <Name>. Gadget. If we create a small tool named phonebook, the directory named phonebook. Gadget
- Gadgets configuration file (gadget. XML)
First, after creating a new project folder in a specific directory, you need to create a file named "Gadget. XML is used to define the relevant information of a small tool. We can simply think of it as a project definition file that defines the information of related projects, such as the main file (HTML ), related versions .......
Original article: Development of Windows Sidebar Gadgets by jquery (gadget Development)