I m using the wrt plugin for visual studio....
Choosed project rss reader project.....
when i do this....
my app start up and load the xml.. n shuts down....
y a??
Hope sum1 can help me...Code:if (item.url != null) { buf += "<div class=\"FeedItemLink\">"; buf += "<img src =\""+item.description+"\" />"; buf += "<a href=\"JavaScript:void(0)\" onclick=\"openURL('" + item.url + "'); return false;\">"; buf += "Listen...."; buf += "</a>"; buf += "</div>"; } return buf; } // Opens a URL. function openURL(url) { if (window.widget) { // in WRT embed = document.createElement("embed"); embed.setAttribute("src", url); embed.setAttribute("hidden", true); embed.setAttribute("autostart", true); document.body.appendChild(embed); } else { // outside WRT embed = document.createElement("embed"); embed.setAttribute("src", url); embed.setAttribute("hidden", true); embed.setAttribute("autostart", true); document.body.appendChild(embed); }
Thanks...

Reply With Quote


