鼠标移上链接的英文有的会自己弹出类似ALT的翻译,有的不弹?
我做的网页,鼠标移上链接的英文有的会自己弹出类似ALT的翻译,有的不弹>?我最近在用DIV加CSS布局.用IE7浏览器, 这个网页上的BANANER上的那些链接是英文的,鼠标移上去会自己弹出类似ALT的中文翻译,但是导航也是英文的链接.为什么鼠标移上去不会,而那上面的HOME,EN.MAP会呢
一种很酷的文字提示效果演示。tableBorder7{background-color:#000000;}TD{font-family:宋体;font- :15px;}th{background-color:#f7f7f7;color:#000000;font- } 1{background-color:#333333;}td。
TableBody7{background-color:#B1EA45;}//morejavascriptfrom');functionpltsinits(){document。onmouseover=plts;document。onmousemove=moveToMouseLoc;}functionplts(){varo= cElement;if( t!=null&& t!=""){o。
dypop= t; t=""};if(o。title!=null&&o。title!=""){o。dypop=o。title;o。title=""};pltsPop=o。dypop;if(pltsPop!=null&&pltsPop!=""&&typeof(pltsPop)!="undefined"){ yle。
left=-1000; yle。display='';varMsg= place(/\n/g,"
");Msg= place(/\0x13/g,"
");varre=/\{(。[^\{]*)\}/ig;if(!re。
test(Msg))pltsTitle="简介";else{re=/\{(。[^\{]*)\}(。*)/ig;pltsTitle= place(re,"$1")+"";re=/\{(。[^\{]*)\}/ig;Msg= place(re,"");Msg= place("
","");}//varattr=( String()。
toLowerCase()。indexOf(" p")>0?"nowrap":"");varcontent=''+'↖'+pltsTitle+''+pltsTitle+'↗'+''+Msg+''+'↙'+pltsTitle+''+pltsTitle+'↘'+''; nerHTML=content; yle。
width=Math。min( ientWidth, ientWidth/2。2);moveToMouseLoc();returntrue;}else{ nerHTML=''; yle。display='none';returntrue;}}functionmoveToMouseLoc(){if( nerHTML=='')returntrue;varMouseX=event。
x;varMouseY=event。y;// atus=event。y;varpopHeight= ientHeight;varpopWidth= ientWidth;if(MouseY+pltsoffsetY+popHeight> ientHeight){popTopAdjust=-popHeight-pltsoffsetY*1。
5; yle。display="none"; yle。display="";}else{popTopAdjust=0; yle。display=""; yle。display="none";}if(MouseX+pltsoffsetX+popWidth> ientWidth){popLeftAdjust=-popWidth-pltsoffsetX*2; yle。
display="none"; yle。display="none"; yle。display=""; yle。display="";}else{popLeftAdjust=0; yle。display=""; yle。display=""; yle。
display="none";botri yle。display="none";} yle。
left=MouseX+pltsoffsetX+ rollLeft+popLeftAdjust; p=MouseY+pltsoffsetY+ rollTop+popTopAdjust;returntrue;}pltsinits();//-->Thebutterflyisinlovewithaflower。
首先你能确定他在导航的链接处也做了与Banner上链接相同的处理吗? 如果他只对Banner的链接做了处理,那出现这个情况不稀奇
会有一些控件和表单不支持ALT.例如:下拉列表的内容 这种情况只能使用div来解决。 显示者可以是任意可使用onmouseover和onmouseout的对象 被显示者多数是div 同时这种方式要比ALT感应敏锐,显示的样式也可根据需求调整。
问:鼠标悬停到一个超链接上 浏览器左下角会显示此链接,如何不让它显示?
答:那个地方是状态栏,你上网搜一下“html 状态栏”看一下,应该有好多方法可以改变那个地方的显示的。详情>>