<br><br>
<a href="#" onmouseover="mm(this)" onmouseout="c()"> aaaa </a>
<iframe frameborder=0 width=200 height=200 name=MzIframe id="MzIframe"
style="display: none; position: absolute; z-index: 2"></iframe>
<SCRIPT LANGUAGE="JavaScript">
function getAbsPoint(e)
{
var x = e.offsetLeft, y = e.offsetTop;
while(e=e.offsetParent){x += e.offsetLeft; y += e.offsetTop;}
return {"x": x, "y": y};
}
function mm(e)
{
window.frames["MzIframe"].location.href = "http://community.csdn.net/Expert/topic/3820/3820249.xml?temp=.205456";
var iframe = document.getElementById("MzIframe");
var xy = getAbsPoint(e);
iframe.style.top = xy.y + e.offsetHeight;
iframe.style.left= xy.x;
iframe.style.display = "";
}
function c()
{
document.getElementById("MzIframe").style.display = "none";
}
</SCRIPT>
<a href="#" onmouseover="mm(this)" onmouseout="c()"> aaaa </a>
<iframe frameborder=0 width=200 height=200 name=MzIframe id="MzIframe"
style="display: none; position: absolute; z-index: 2"></iframe>
<SCRIPT LANGUAGE="JavaScript">
function getAbsPoint(e)
{
var x = e.offsetLeft, y = e.offsetTop;
while(e=e.offsetParent){x += e.offsetLeft; y += e.offsetTop;}
return {"x": x, "y": y};
}
function mm(e)
{
window.frames["MzIframe"].location.href = "http://community.csdn.net/Expert/topic/3820/3820249.xml?temp=.205456";
var iframe = document.getElementById("MzIframe");
var xy = getAbsPoint(e);
iframe.style.top = xy.y + e.offsetHeight;
iframe.style.left= xy.x;
iframe.style.display = "";
}
function c()
{
document.getElementById("MzIframe").style.display = "none";
}
</SCRIPT>
<!--
function cc()
{
var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
xmlhttp.open("Get","http:\\获取数据.asp?参数",false);
xmlhttp.send();
var t = document.getElementById("tip");
t.style.display = "";
t.innerText = xmlhttp.responseText;}function dd()
{
var t = document.getElementById("tip");
t.style.display = "none";
}
//-->
</SCRIPT>
<div style="display:none;" id=tip></div>
<a href="#" onmouseover="cc()" onmouseout="dd()">aa</a>
很简单的
<map name="Map">
<area shape="poly" onmouseover="mm(this)" coords="190,206,185,....." href="#">
</map>
<% for i=0 to xxx %> <a title="从数据库中拿到的需要显示的" href="">aaaa </a><% next %>