beta vista sidebar
 
Gadget Name Here YourCompanyNameHere 1.0.0.0 © 2007 your gadget description full
function pageLoad() { window.detachEvent(“onload”, pageLoad); window.attachEvent(“onunload”, pageUnload); //page initalization here } function pageUnload() { window.detachEvent(“onload”, pageUnload); //gadget is closing, clean up } window.attachEvent(“onload”, pageLoad); // called when the docked state changes function dockStateChanged() { if (System.Gadget.docked) { System.Gadget.background = “images/background.png”; document.body.style.width = “130px”; } else { System.Gadget.background = “images/background-undocked.png”; document.body.style.width = “230px”; } } System.Gadget.settingsUI = “settings.html”; System.Gadget.onSettingsClosed = settingsClosed; function settingsClosed(p_event) { //OK clicked? if (p_event.closeAction == p_event.Action.commit) { //yes, read settings here } } var L_Hello = “Hello”; var L_Degrees = 0; var L_Hello = “Hola”; var L_Degrees = 1; element.innerHTML = L_Hello; if (L_Degrees === 0) { //load the Fahrenheit feed } else { //load the Celsius feed } ‘simulate JavaScript alert() function sub alert(prompt) MsgBox prompt, 48 , “Sidebar Gadget” end sub ‘simulate JavaScript confirm() function function confirm(prompt) dim res res = MsgBox (prompt, 33, “Sidebar Gadget”) if res=1 then confirm = true else confirm = false end if end function@echo off rem ** remove/create a test gadget folder rd “%LOCALAPPDATA%MicrosoftWindows Sidebar GadgetsMSDNSample.gadget” /s /q md “%LOCALAPPDATA%MicrosoftWindows SidebarGadgetsMSDNSample.gadget” rem ** copy all of the files into test area xcopy . “%LOCALAPPDATA%MicrosoftWindows Sidebar GadgetsMSDNSample.gadget” /y /s /q /EXCLUDE:exclude.txt cd “%LOCALAPPDATA%MicrosoftWindows SidebarGadgetsMSDNSample” cabarc -r -p n “%HOMEPATH%DocumentsMSDNSample.gadget” *
 
 
  Bugün 14 ziyaretçi (17 klik) kişi burdaydı! null null google.www.tr-arsivim.tr.gg - tr-arşivim FlashButtonsDizin,toplistküresel ısınmaWebUzmanı  
 

Hobiler