Yuav Ua Li Cas Ua Ib Qho Gadget Ntawm Koj Lub Desktop

Cov txheej txheem:

Yuav Ua Li Cas Ua Ib Qho Gadget Ntawm Koj Lub Desktop
Yuav Ua Li Cas Ua Ib Qho Gadget Ntawm Koj Lub Desktop

Video: Yuav Ua Li Cas Ua Ib Qho Gadget Ntawm Koj Lub Desktop

Video: Yuav Ua Li Cas Ua Ib Qho Gadget Ntawm Koj Lub Desktop
Video: Tsis Muaj Peev Xwm Yuav Ua Li Cas 2024, Hlis ntuj nqeg
Anonim

Gadget Windows 7 qhia qee yam xov xwm rau tus neeg siv ntawm lub desktop. Lawv yog cov ntawv sau scripted lossis cov HTML code tau yooj yim uas qhia cov ntaub ntawv xav tau. Txhua tus neeg siv uas paub txog qhov pib ntawm HTML tuaj yeem tsim lawv cov khoom siv.

Yuav ua li cas ua ib qho gadget ntawm koj lub desktop
Yuav ua li cas ua ib qho gadget ntawm koj lub desktop

Cov Lus Qhia

Kauj ruam 1

Tsim cov ntawv sau cia uas koj lub gadget yuav nyob. Lub npe ntawm cov nplaub tshev tsis muaj teeb meem, koj tuaj yeem tsim cov ntawv qhia txhua qhov chaw ntawm koj lub computer hard drive. Txawm li cas los xij, nws yooj yim tshaj plaws los mus ntsuam xyuas thiab kho qhov program ncaj qha hauv qhov system nplaub tshev (piv txwv, hauv C: / Program Files / Windows sidebar / Gadgets).

Kauj ruam 2

Hauv phau ntawv teev npe ntawm koj txoj kev xaiv, tsim ob daim ntawv nrog kev tso cai.html thiab.xml. Txoj cai-nias nyob rau hauv Explorer lub qhov rais thiab xaiv Tshiab - Cov Ntaub Ntawv Cov Ntaub Ntawv, tom qab ntawd hloov lub npe thiab hom rau gadget.html thiab gadget.xml.

Kauj ruam 3

Qhib cov ntawv XML tsim tawm uas siv cov tshuab luam ntawv nyeem. Nws yog qhov yuav tsum tau sau npe nyob rau hauv nws tag nrho cov ntaub ntawv uas tau sau npe hauv lub gadget xaiv lub thawv (icon, cov ntaub ntawv hais txog tus tsim tawm, thiab lwm yam). Nyob rau sab saum toj ntawm cov ntaub ntawv, sau cov code:.

Kauj ruam 4

Cov ntsiab lus ntawm cov ntawv yuav tsum zoo li no: Lub npe ntawm cov gadget Qhia meej cov version ntawm qhov program tsim cov ntaub ntawv Cov cai Cov cai los ntawm tus tsim tawm Cov lus piav qhia

Kauj ruam 5

Txuag koj hloov pauv thiab qhib cov ntaub ntawv thib ob gadget.html. Ua txhua qhov chaw raws li koj lub siab nyiam, sau cov HTML code. Cov ntaub ntawv teeb tsa ua raws cov qauv ntawm cov ntawv ib txwm ua rau muab lus markup. Koj tuaj yeem qhia meej txoj hauv kev rau JavaScript lossis Visual Basic tsab ntawv, sau daim ntawv cascading style, thiab kho cov kab ntawv raws li koj cov tastes thiab cov peev xwm tsim. Thaum tsim lub gadget, koj tuaj yeem siv tag nrho cov yam ntxwv ntawm hom lus HTML.

Kauj Ruam 6

Txuag tag nrho cov hloov pauv mus rau cov ntawv thiab sim cov ntawv tsim ua siv siv Windows Gadget Manager. Txhawm rau ua li no, txoj nyem rau ntawm lub desktop thiab xaiv cov "Gadgets" ntawv qhia zaub mov. Yog tias qee yam tsis ua haujlwm sai, koj tuaj yeem hloov kho cov HTML thiab XML files. Caij tsim kom tiav.

Pom zoo: