爱问知识人 爱问教育 医院库

鼠标移上链接的英文有的会自己弹出类似ALT的翻译,有的不弹?

首页

鼠标移上链接的英文有的会自己弹出类似ALT的翻译,有的不弹?

我做的网页,鼠标移上链接的英文有的会自己弹出类似ALT的翻译,有的不弹>?我最近在用DIV加CSS布局.用IE7浏览器,
这个网页上的BANANER上的那些链接是英文的,鼠标移上去会自己弹出类似ALT的中文翻译,但是导航也是英文的链接.为什么鼠标移上去不会,而那上面的HOME,EN.MAP会呢

提交回答
好评回答
  • 2018-04-08 06:26:38
      一种很酷的文字提示效果演示。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。

    流***

    2018-04-08 06:26:38

其他答案

    2018-04-08 11:26:38
  • 首先你能确定他在导航的链接处也做了与Banner上链接相同的处理吗?
    如果他只对Banner的链接做了处理,那出现这个情况不稀奇

    空***

    2018-04-08 11:26:38

  • 2018-04-08 09:26:38
  • 会有一些控件和表单不支持ALT.例如:下拉列表的内容
    这种情况只能使用div来解决。
    
    显示者可以是任意可使用onmouseover和onmouseout的对象
    被显示者多数是div
    同时这种方式要比ALT感应敏锐,显示的样式也可根据需求调整。

    奈***

    2018-04-08 09:26:38

类似问题

换一换

相关推荐

正在加载...
最新问答 推荐信息 热门专题 热点推荐
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200

热点检索

  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
返回
顶部
帮助 意见
反馈

确定举报此问题

举报原因(必选):