I'm developing a Yahoo Widget. Using Javascript I'm attempting to append an image to the current viewing window. The image is not displaying. Interestingly enough i added a few alert statements to show my variables and check my work and realized that the image is actually popping up, and then dissapeearing. Does anyone know what I'm ...
I have a Yahoo! Widgets Web object ( http://tinyurl.com/YW-webObj ) and I'd like to access elements inside of it when it's done loading. I'm already handling everything wonderfully via the WebEvents Y!W provides, but there's one small problem.
Web objects don't appear to have any DOM of their loaded page.
I can access webObj.html, wh...
Hello.
I'm creating a Yahoo! Widget and have done this before without any problems (creating a widget).
I'm getting a xml document via a weblink and want to get all the nodes intro a tree. I'm doing this:
var request = new XMLHttpRequest();
request.open( "GET", url, false );
request.send();
if ( request.status == 200 )
...
Haaylp!
The Yahoo! Widgets spec says I can parse JSON objects using JSON.parse(). When I actually try this, and here is what I tried...
var parsed = JSON.parse('{"key": "value"}');
print (parsed);
for (p in parsed)
{
print ("prop: "+p);
}
I get:
ReferenceError: JSON is not defined
What's going on? Is further magic required?
...
I have some XML and an XPath query. I'm using Yahoo! widgets, so I'm using XPath 1.0.
Here's the gist of my XML...
<root>
<cat num="SOURCE">
<movie>
<swf>speak.swf</swf>
<width>250</width>
<height>150</height>
<colour>cccccc</colour>
</movie>
<movie>
...
I'm getting an xml file and want to get data from it.
The source of the xml doesn't really matter but what I;ve got to get a certain field is:
tracks = xmlDoc.getElementsByTagName("track");
variable = tracks.item(i).childNodes.item(4).childNodes.item(0).nodeValue;
Now this works like a charm, EXCEPT when there is no value in the node....
In an xpath expression, I understand that I can have variable references of the form
$myVar
I'm using Yahoo! widgets. What are these for? How would I set the value of myVar in the first place? Are these variables from the JavaScript?
...
Does anyone know if it's possible subscribe to an event (possible a mouseOver) while using Yahoo!'s resizing library? I need to disable some other listeners when a user hovers over the handles of my object, however, I don't see anything in the documentation to do so.
Thanks.
...
Hello,
Anyone here know if you can run Yahoo! Widgets under Adobe AIR? If so, how does one go about doing this?
Thanks for your suggestions
...
I'm playing about creating an RSS reader widget using Konfabulator/Yahoo. At the moment I'm
pulling in the RSS using
var xmlDoc = COM.createObject("Microsoft.XMLDOM");
xmlDoc.loadXML("http:foo.com/feed.rss");
I've simplified it here by removing the error handling, but what else could I use to do the same task using konfabulator? And ...
I can see that itemNodes is a DOM nodelist containing the same number of entrys as number of titles. I want to access the information inside the title node. I have tried using itemNodes.childNodes[0].nodeValue
I receive the error
An error occurred: TypeError: itemNodes.childNodes has no properties
placing itemNodes.item(i) inside the ...
I am trying to figure out which widget development platform is superior. I want a cross-browser widget and so I a thought either the Google or Yahoo solution will be best. They both seem to be using the same technologies - JavaScript, HTML, XML, etc.
Any thoughts on which is a better platfrom in terms of development, performance and...
I'm trying to log all traffic from a Yahoo widget that uses a secure connection. Right now I'm using Fiddler with both "Capture HTTPS CONNECTs" and "Decrypt HTTPS traffic" enabled. Now, when I do this with a normal web page, I can see the SSL auths as well as all the web traffic.
With this Yahoo widget though, all I see are the CONN...
Hey Guys,
I am using ThickBox 3.1 one one page.
Now, there is one problem,
i am using one form to open thickbox on the button click event.
And i am using yahoo text editor on that form.
And in the yahoo rich text editor there is one link of image insert.. but i don't know why its not opening. on click of it. the image insert dialog ...
Using YAHOO.widget.treeview to generate a table with three levels of data: module, submodule, and detail. If there is an image associated with a detail row the javascript generates a link:
"<td><a href=\"/screenshot/show/" + rowData.id + "\">Screenshot</a></td>"
that is appended to the html for the row.
The url is generated correct...
I am developing a Yahoo! Connected TV Widget (using tools including the simulator provided by Yahoo!) How can I install my widget on a real TV so that I can test it?
...
I'm trying to subscribe to onTimeIndexChanged mediaplayer event. It works fine, as long as view that I'm subscribing in stays focused. When I press back button, or widgets button, my view gets blurred and it no longer receives events.
Is it possible for this subscription to persist through switching views? Are there widget-wide subscrip...