zoukankan      html  css  js  c++  java
  • //显示大护照图片

     //显示大护照图片
       $(function(){
        $("#imgpassport").mouseover(function(){
      var curOffset = $(this).offset();
              var eTop = curOffset.top;
              var eLeft = curOffset.left;

      //alert(eTop+"-"+eLeft);
      var div_show_big_photo_width= $("#show_big_photo").width();
      $("#show_big_photo").css("position","absolute");
              $("#show_big_photo").css("top",eTop); 
      $("#show_big_photo").css("left",eLeft-div_show_big_photo_width-10);
      $("#show_big_photo").show();
    });    
       });

       //隐藏显示大护照图片
       $(function(){
       $("#show_big_photo").mouseout(function(){
         $(this).hide();
       });
       });
  • 相关阅读:
    Swift
    Swift
    Swift
    Swift
    Swift
    Swift
    Swift
    Swift
    Swift
    算法の序列
  • 原文地址:https://www.cnblogs.com/wahaccp/p/3483290.html
Copyright © 2011-2022 走看看