现在想解决的是,当鼠标到了一个ITEM上面的时候,有TIP提示。据说JAVASCRIPT实现,但是不知道如何实现?请高手指点
解决方案 »
- FCKeditor上粘贴不上WPS文档的内容
- ascx控件中查找另一ascx控件中的控件至
- 服务器空间里面不能把服务器脚本放入aspx.cs文件中,为什么呢?
- asp.net如何自动触发button的OnClientClick事件
- 新手的几个简单问题
- 设置框架的页面总是提示JIT调试出错,显示乱码,如何解决,解决即结贴。100分不够再给
- datagrid的itemdatabound
- asp.net怎么实现检测用户名
- 时间转换问题!
- 这是什么错误?未将对象引用设置到对象的实例?
- 如何实现A、B、C、D、E、F......Z;AA......AZ等这样的顺序的自动编号规则。
- Ajax postback问题
tPopWait=50; //停留tWait毫秒后显示提示。
tPopShow=6000; //显示tShow毫秒后关闭提示
showPopStep=20;
popOpacity=95;
fontcolor="#000000";
bgcolor="#EDEDED";
bordercolor="#007db5";//***************内部变量定义*****************
sPop=null;curShow=null;tFadeOut=null;tFadeIn=null;tFadeWaiting=null;document.write("<style type='text/css' id='defaultPopStyle'>");
document.write(".cPopText {background-color: " + bgcolor + "; color: " + fontcolor + "; border: 1px " + bordercolor + " solid;font-color: font-size: 12px; padding-right: 4px; padding-left: 4px; height: 20px; padding-top: 2px; padding-bottom: 2px; filter: Alpha(Opacity=0)}");
document.write("</style>");
document.write("<div id='dypopLayer' style='position:absolute;z-index:1000;' class='cPopText'></div>");function showPopupText()
{
var o=event.srcElement;
MouseX=event.x;
MouseY=event.y;
if (o.alt!=null && o.alt!="")
{
o.dypop=o.alt;
o.alt="";
}
if (o.title!=null && o.title!="")
{
o.dypop=o.title;
o.title="";
}
if (o.dypop!=sPop)
{
sPop=o.dypop;
clearTimeout(curShow);
clearTimeout(tFadeOut);
clearTimeout(tFadeIn);
clearTimeout(tFadeWaiting);
if (sPop==null || sPop=="")
{
dypopLayer.innerHTML="";
dypopLayer.style.filter="Alpha()";
dypopLayer.filters.Alpha.opacity=0;
}
else
{
if(o.dyclass!=null) popStyle=o.dyclass
else popStyle="cPopText";
curShow=setTimeout("showIt()", tPopWait);
}
}
}
现在<OPTION>上面加不到~~~请高手解决~~