如何實(shí)現(xiàn)這種鼠標(biāo)提示效果?(2)_動(dòng)易Cms教程

      編輯Tag賺U幣
      教程Tag:暫無(wú)Tag,歡迎添加,賺取U幣!

      ’〈tr id=pltsPopbot style="display:none"〉〈th valign=bottom class=header〉〈p id=botleft align=left〉↙’ pltsTitle ’〈/p〉〈p id=botright align=right style="display:none"〉’ pltsTitle ’↘〈/font〉〈/th〉〈/tr〉’
      ’〈/table〉〈/td〉〈/tr〉〈/table〉’;
      pltsTipLayer.innerHTML=content;
      toolTipTalbe.style.
      moveToMouseLoc();
      return true;
      }
      else
      {
      pltsTipLayer.innerHTML=’’;
      pltsTipLayer.style.display=’none’;
      return true;
      }
      }
      function moveToMouseLoc()
      {
      if(pltsTipLayer.innerHTML==’’)return true;
      var MouseX=event.x;
      var MouseY=event.y;
      //window.status=event.y;
      var popHeight=pltsTipLayer.clientHeight;
      var popWidth=pltsTipLayer.clientWidth;
      if(MouseY pltsoffsetY popHeight〉document.body.clientHeight)
      {
      popTopAdjust=-popHeight-pltsoffsetY*1.5;
      pltsPoptop.style.display="none";
      pltsPopbot.style.display="";
      }
      else
      {
      popTopAdjust=0;
      pltsPoptop.style.display="";
      pltsPopbot.style.display="none";
      }
      if(MouseX pltsoffsetX popWidth〉document.body.clientWidth)
      {
      popLeftAdjust=-popWidth-pltsoffsetX*2;
      topleft.style.display="none";
      botleft.style.display="none";
      topright.style.display="";
      botright.style.display="";
      }
      else
      {
      popLeftAdjust=0;
      topleft.style.display="";
      botleft.style.display="";
      topright.style.display="none";
      botright.style.display="none";
      }
      pltsTipLayer.style.left=MouseX pltsoffsetX document.body.scrollLeft popLeftAdjust;
      pltsTipLayer.style.top=MouseY pltsoffsetY document.body.scrollTop popTopAdjust;
      return true;
      }
      pltsinits();

      查看更多 動(dòng)易Cms教程  動(dòng)易Cms模板

      共2頁(yè)上一頁(yè)12下一頁(yè)
      來(lái)源:模板無(wú)憂//所屬分類:動(dòng)易Cms教程/更新時(shí)間:2006-06-19
      相關(guān)動(dòng)易Cms教程