【www.gdgbn.com--excel】
- ";
content += "
- 关闭";
try
{
var doc = xmlhttp.responseXML.childNodes[1].firstChild;
var ct = doc.firstChild.text; // 频道标题
content += ""+ ct +"";
var items = doc.getElementsByTagName("item");
var itemCount = items.length;
for (var i=0;i
"+ (parseInt(i) + 1) + "." +""+ item.firstChild.text +""; } } catch (e) { content += " - 此频道无信息或获取信息时出现错误!"; } content += ""; //hidepopup(); createpopup(content); } else { createpopup("此类没有信息"); } } } //var url = "http://www.cndou.com.cn/pic/rss.php"; var url = obj.firstChild.href; xmlhttp.open("GET",url,true); xmlhttp.send(null); } // 创建泡泡 var opopup; var createpopup = function(strHtml) { if ($("opopup") == null) { opopup = document.createElement("div"); opopup.id = "opopup"; opopup.style.position = "absolute"; opopup.style.zIndex = 2000; opopup.style.left = x + 10 + "px"; opopup.style.top = y - 100 + "px"; opopup.style.width = "260px"; //opopup.style.height = "300px"; opopup.style.border = "solid 1px #ccc"; opopup.style.backgroundColor = "#fff"; opopup.style.filter = "Alpha(Opacity = 85)"; document.body.appendChild(opopup); } $("opopup").innerHTML = strHtml; } // 隐藏泡泡 hidepopup = function() { if ($("opopup") != null) document.body.removeChild($("opopup")); } // 如果鼠标在 0.5秒 内没有移动,则读取并显示内容 var a = setTimeout("getRSS();",500); obj.onmouseout = function() { clearTimeout(a); if (event.toElement != null && event.toElement != $("opopup")) hidepopup(); } document.onclick = hidepopup; } } </script>
- 网站地图
- 隐藏RSS关闭
资讯
DIV/CSS XML/XHTML Javascript/Ajax Silverlight ASP/.NET 开发工具JS/Ajax
Javascript编程 XML/XHTML/CSS网页制作 Ajax技术 Ajax答疑课堂Silverlight
Silverlight基础 Silverlight编程 Silverlight设计 Silverlight精彩教程休闲区
休闲留言版 招聘求职 免费广告信息
- 此频道无信息或获取信息时出现错误!"; } content += ""; //hidepopup(); createpopup(content); } else { createpopup("此类没有信息"); } } } //var url = "http://www.cndou.com.cn/pic/rss.php"; var url = obj.firstChild.href; xmlhttp.open("GET",url,true); xmlhttp.send(null); } // 创建泡泡 var opopup; var createpopup = function(strHtml) { if ($("opopup") == null) { opopup = document.createElement("div"); opopup.id = "opopup"; opopup.style.position = "absolute"; opopup.style.zIndex = 2000; opopup.style.left = x + 10 + "px"; opopup.style.top = y - 100 + "px"; opopup.style.width = "260px"; //opopup.style.height = "300px"; opopup.style.border = "solid 1px #ccc"; opopup.style.backgroundColor = "#fff"; opopup.style.filter = "Alpha(Opacity = 85)"; document.body.appendChild(opopup); } $("opopup").innerHTML = strHtml; } // 隐藏泡泡 hidepopup = function() { if ($("opopup") != null) document.body.removeChild($("opopup")); } // 如果鼠标在 0.5秒 内没有移动,则读取并显示内容 var a = setTimeout("getRSS();",500); obj.onmouseout = function() { clearTimeout(a); if (event.toElement != null && event.toElement != $("opopup")) hidepopup(); } document.onclick = hidepopup; } } </script>