Development of Windows Sidebar gadgets (gadget Development) using jquery-phone book query tool implemented by Windows Gadgets

Source: Internet
Author: User
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:

  • Main directory

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)

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.