Answer Questions
programmer01 Bug #25: Flyout will only show if Sidebar has focus.
Bug #25: Flyout will only show if Sidebar has focus. If you show the Flyout via "System.Gadget.Flyout.show = true" and Sidebar doesn't have focus, the "System.Gadget.Flyout.onHide" event immediately fires. Added to the known bugs list with a Repro. I expect it's by design, but there's no mention of it in the MSDN documentation so I'm classing it as a bug. Firing the onHide event immediately could cause code issues, as any code relying on the Flyout body would fail. To catch onHide event misfires, check if the Flyout body is null: function onHideEvent() { //did the Flyout actually open if (System.Gadget.Flyout.document.parentWindow.body == null) return; //the Flyout was open. } ...Show All
babucherayath Opacity in Sidebar Gadget
I'm facing a problem, when setting opacity in Sidebar Gadget. Gadget gets the opacity, but it has purple background instead of it's parent (body) background. Web Gadget is working correctly by setting the alpha filter, but Sidebar Gadget is not displayed correctly - no matter whether I'm using oObj.style.filter = "alpha(opacity=[int value])"; or System.Gadget.opacity = [int value] . I still can not make semi-transparent works if there is no obscure pixel below it. Can anyone give me a small sample which use this 2 black/white transparent png trick What is "totally black transparent" and "totally white transparent picutre" I never makes semi-transparent png works...unless it is inserted into g:backgro ...Show All
Pilot_cir Hot to contact a user
I'm developing a gadget for a Web site. This gadget has to let user serarch a string using the site searh and opening the web browser for display the results. I've do all, but the sarch must not to be done if the string is less than 3 character. Is there a way to warn a user if he enters a string that type javascript alert doesn't work, and i was thinking if it is possible to use a balloon tip!!! Thanks all Luca Thank you!!! This work great You have a few choices, here's three possibilities: 1. A floating DIV over your Gadget 2. VBScript MsgBox 3. Shell Popup var oShell = new ActiveXObject("WScript.Shell"); oShell.Popup(&q ...Show All
brent.xml Logging or warning or output for debug goals
For debug goals I need to output some information. Usually in java script I use the function 'alert'. Do I have a possibility to write an information to status bar or to message box or to some other visible place The debugger option in Diagnostics should send the logging to an attached Script debugger, so long as you start iHDSim with the "-debug" option. (Replace "file" with "debugger" in Peter's example). iHD supports a "Diagnostics" object that lets you output trace messages. In theory you can go to a file, a network machine, or a debugger, but I *think* that iHDSim only supports file logging. Something like this will work: Diagnostics.listen ...Show All
rhinoishere This is not a valid gadget package!! grr!
hey, So i finished creating my gadget, i use winzip to zip it up to mygadget.gadget and then double click to install... However it just says: This is not a valid gadget package The gadget works if i move the folder to the windows gadget directory! Does anyone know how to fix this problem Regards There ISNT though!! Every *file in every* directory is atleast 1kb or more!! :S nope, tried that and still get the same error!! :o i am using winZIP at the moment, any other ideas on other programs to use to make it I tried with 'store' as the compression level in winzip and it still didn't work! I dont think you can turn compression off in winzip! Regards Hi there, thanks ...Show All
cosmmm Which browser will render a gagdet
Hi I was wondering which browser is rendering the gadget. Is it always IE , is it the Browser which is set as default Thanks for advice :) Thank you, that's what I wanted to hear :) IE always renders the gadget. If you open up an external browser window, it should come up in your default browser. ...Show All
Analyst Chad Gadget Remove issue
Hi, I am trying to create a gadget which has a media player in it using the OBJECT tag. Is there any event which is raised when a user removes the Gadget from his Live page i need to write some code when the user removes the gadget by clicking on the close (x) button. but i am not able to find anything about this event.. There is an event named " onModuleRemovedEvent " but i am not sure how to use it.. Thanx for the help in advance.. Regards Bharat T. Motwani Hi Chris, I need to stop the media player if its already running when the user removes the gadget. For doing this i think i will need to use the remove or the unload event as u suggested. I tried the unload even as fol ...Show All
Jeanvo How to loop the button animation
How to loop the button animation as long as it is focused My xml works only for when the menu gets focused, but not continuous animating. </defs> <animate id="set_focus" style:backgroundFrame="1;2;3;4;5"/> </defs> <cue begin="id('AddiContent')[state:focused()=true()]" end="id('AddiContent')[state:focused()=false()]" dur="1s" use="set_focus" fill="hold" /> <button id="WinterTour" state:focused="true" style:position="absolute" style:x="1124px" style:y="436px" style:width="556px" style:height="42px" style:backgroundImage ="url('B1_Normal_N001.png') url('B1_Select_ ...Show All
RuiSousa Can't get xml back from Amazon Web Service?
I can put the feed url in the browser and all is well, but I can't seem to get a response using the code below function GetFeed() { var r = Web.Network.createRequest( Web.Network.Type.XML, m_feedUrl, {proxy:"generic", numItems:m_numItems}, OnFeedReceived); r.execute(); } Is the m_feedUrl just too long maybe http://webservices.amazon.com/onca/xml Service=AWSECommerceService&Version=2006-06-07&AWSAccessKeyId=1CE7SK4ZPTNDQZCWBP82&Operation=ListLookup&ListType=WishList&ListId=241KH7V8OZ7EQ&Sort=DateAdded&ResponseGroup=ListItems Any help would be greatly appreciated! Thank you for the suggestions Todd0s! I tried looping through the items with innerHT ...Show All
wolfr New HD DVD players
Toshiba recently announced new HD DVD players, the cheapest one is $499. But unfortunately True HD tv's are still very expensive. BTW anyone knows if they support persistent storage, or do all hd dvd players have this as default and how much http://www.hardwarezone.com/news/view.php id=5455&cid=5 To my mind, all HD DVD, now, have not a real special feature of HDi. I saw 2-3 years ago at Ceatec or CES of real "Advanced Content": - 3D games - Web link to webshop. - Menu refresh by the web (filmography of actor) I have 50 HD DVD and I don't see this on HD DVD. (I think this special feature will come). Our first HD DVDs will have the basic feature : teasers and basic filmography. And ...Show All
jdr_42 i have problem with video files
ok so lets start. When I load .avi video file, the player doesnt play it correctly. Colors are very dark and u cant see anything. I have installed K-Lite Codec Pack. Can someone help me with this problem You should go ask in K-Lite codec community, Direct Show related stuff, or other generic Windows multimedia environment. This forum is about "Media Foundation" which appears in Windows Vista, not XP. ...Show All
HaroldW VMR9 Renderless with YUV Mixer mode black screen issue
Hi all, I render video (TV or DVD) on Vista with VMR9 Renderless (Basic or D3D Scene) and with YUV Mixer mode, video display black; On XP, it works well. If I disable YUV Mixer mode, it will display normal, does Vista not support YUV Mixer mode Who can tell me the reason Thanks in advance! Regards, Zhiquan We suspect that this is a driver issue. Someone here will be investigating this soon. Would you mind telling us what kind of video card you have Does this happen with all content or just with specific videos (If it's just specific videos, please tell us where we can find something that will reproduce your issue...) Zhiquan, Could you please provide a dxdiag report, the a ...Show All
Cos_SQL display="none" not applying to child buttons
I've tried Peter's scrolling menu example from his blog. I cannot get it to work because the buttons are displaying even though the parent div is set to display="none". I then created a test page with different buttons with their parent divs set to display none. That isn't working - the display style applied to the div is not being applied to the buttons. That has got to be a bug in the new sim right Can anyone else produce this Hmm. That test works. And I created another test that works. Not sure why my previous attempts are not working, including the slideshow code from you blog. I'll try the validator and see if some typo turns up. just to make sure... is style:diplay="inherit" set in all the ...Show All
alzikan How to set default button and global variables?
Two questions: 1. Total 3 menus with several buttons in each of them. how can I return to the correct menu with correct button focused after playing through each clip 2. If I have several .js file, where should I set the global variables that could be shared among all .js during disc playback Many thx! Could be a Sonic bug (does it work on HDiSim ) Also remember that you MUST set the XPath variable in your markupLoadedHandler, otherwise the markup engine will crash on all players due to an undeclared variable. Easiest thing to do is to remember who has the focus when you leave one menu, and store it in a variable. Then when you load a page, use a simple animation to set the focus corre ...Show All
sham_s1 disk I/O meter gadget???
I've been looking for a Vista sidebar gadget that displays disk throughput. Considering there are already memory and CPU usgae gadgets i'm shocked i can't find anything other than a disk capacity gadget which doesn't justify space on my desktop! ;) Am i just not looking in the right places Seems to me this type of gadget would be a big hit considering the heavy disk activity of Vista. No Well that's not good news. I wonder why MS didn't include that in the API. They already have a system tool that displays a great graph of disk I/O. Seems it would not have been tough to build a reference into the API, hopefully we'll see it in a future update. For now the closest i will get use using pe ...Show All
