如何在鼠标中看到我的圆圈

如何在鼠标中看到我的圆圈

本文介绍了如何在鼠标中看到我的圆圈的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi



mY代码低于

hi

mY code are below

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="GuiNote.aspx.cs" Inherits="GuiNote" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>GUI Note Using MouseHover</title>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="Styl/demo.css"/>
    <link rel="stylesheet" type="text/css" href="Styl/style1.css"/>
    <link href="Styl/css.css" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" src="Scri/jquery.min.js"></script>
    <script src="Scri/[www.gj37765.blogspot.com]makingdifferent-popup.js" type="text/javascript"></script>
     <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="Styl/styles.css" />
    <link rel="stylesheet" type="text/css" href="Styl/jquery.tzineClock.css"/>
    <script type="text/javascript" src="Scri/jquery.tzineClock.js"></script>
    <script type="text/javascript" src="Scri/script.js"></script>
    http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js
    <script src="http://code.jquery.com/jquery-1.8.2.js" type="text/javascript"></script>
    <script src="MMS/jquery.tooltip.min.js" type="text/javascript"></script>
    <link href="Styleaa/style.css" rel="stylesheet" type="text/css"/>
    <link rel="stylesheet" type="text/css" href="Styleaa/style9.css"/>
    <link rel="stylesheet" type="text/css" href="Styleaa/demo.css"/>
    <link href='http://fonts.googleapis.com/css?family=Terminal+Dosis' rel='stylesheet' type='text/css'/>


<style type="text/css">
th
{
    text-align:center;
}
.headerRow
{
    background-color: #424242;
    color:White;
    font-weight:bold;
}
.highlightRow
{
    background-color: #535353;
    cursor: pointer;
    border:solid 1px black;
}
.selectedRow
{
    background-color: #FFFFCC;
    cursor: pointer;
    border:solid 1px black;

}
</style>
   <style type="text/css">
        .loader {
        text-align: center;
        padding: 15px 20px;
        display: inline-block;
    }
    </style>
     <style type="text/css">
     .circle
     {
         background-image: url('images/CircleTransparent.jpg');
         width:  160px;
         height:  160px;
         position: absolute;
         top: 82%;
         left: 9px;
         margin-left:5em;
         margin-top: -5em;
        -webkit-animation: fadein 5s; /* Safari and Chrome */
        -moz-animation: fadein 5s; /* Firefox */
        -ms-animation: fadein 5s; /* Internet Explorer */
        -o-animation: fadein 5s; /* Opera */
         animation: fadein 5s;

      }
      @keyframes fadein {
          from { opacity: 0; }
         to   { opacity: 1; }
        }

       /* Firefox */
       @-moz-keyframes fadein {
           from { opacity: 0; }
           to   { opacity: 1; }
            }

            /* Safari and Chrome */
            @-webkit-keyframes fadein {
                from { opacity: 0; }
                to   { opacity: 1; }
            }

            /* Internet Explorer */
            @-ms-keyframes fadein {
                from { opacity: 0; }
                to   { opacity: 1; }
            }​

            /* Opera */
            @-o-keyframes fadein {
            from { opacity: 0; }
            to   { opacity: 1; }

     }
     .little_circle
       {
         background-image: url('images/Note.jpg');
         width: 48px;
         height: 48px;
         z-index:10000;
         overflow:visible;
         position:relative;
         -webkit-border-radius: 100px;
         -moz-border-radius: 100px;
         -webkit-backface-visibility: hidden;
         -moz-backface-visibility:    hidden;
         -ms-backface-visibility:     hidden;
         visibility:visible;
         -webkit-perspective: 1000;
         -webkit-transform:  translate3d(0px, 100px, 0) rotateX(-30deg) scale(1.25, 1.25);
         -moz-transform: translate3d(0px, 100px, 0) rotateX(-30deg) scale(1.25, 1.25);
         -webkit-transition: opacity .8s ease-in-out;
         -moz-transition: opacity .8s ease-in-out;
         -ms-transition: opacity .8s ease-in-out;
         -o-transition: opacity .8s ease-in-out;
          display:inline;

       }
       .circle:hover #GUI
        {
          bottom: 16px;
          right:  32px;
          z-index:1000;
          position:relative;
          -webkit-transform: scale(1);
          -moz-transform: scale(1);
          -o-transform: scale(1);
          -moz-animation: fadein 1s ease-in; /* Firefox */
          -webkit-animation: fadein 1s ease-in; /* Safari and Chrome */
          -o-animation: fadein 1s ease-in; /* Opera */
          visibility:visible;
          -webkit-backface-visibility: visible;
          -moz-backface-visibility:    visible;
          -ms-backface-visibility:     visible;
          -webkit-transition: -webkit-transform 0s linear;
          -webkit-transition: opacity .8s ease-in-out;
          -moz-transition: opacity .8s ease-in-out;
          -ms-transition: opacity .8s ease-in-out;
          -o-transition: opacity .8s ease-in-out;
           display: block;
       }
       .circle:hover #little_two
        {
           background-image: url('images/Event.jpg');
           bottom: 104px;
           left: 56px;
           z-index:1000;
           position:relative;
          -webkit-transform: scale(1);
          -moz-transform: scale(1);
          -o-transform: scale(1);
          -webkit-backface-visibility: visible;
          -moz-backface-visibility:    visible;
          -ms-backface-visibility:     visible;
          -moz-animation: fadein 1s ease-in; /* Firefox */
          -webkit-animation: fadein 1s ease-in; /* Safari and Chrome */
          -o-animation: fadein 1s ease-in; /* Opera */
           visibility:visible;
           -webkit-transition: opacity .8s ease-in-out;
          -moz-transition: opacity .8s ease-in-out;
          -ms-transition: opacity .8s ease-in-out;
          -o-transition: opacity .8s ease-in-out;
          display:block;

       }
       .circle:hover #little_three
         {
          background-image: url('images/GUI.jpg');
          bottom: 112px;
          left: 144px;
          z-index:1000;
          position:relative;
          -webkit-transform: scale(1);
         -moz-transform: scale(1);
         -o-transform: scale(1);
         -webkit-backface-visibility: visible;
         -moz-backface-visibility:    visible;
         -ms-backface-visibility:     visible;
         -moz-animation: fadein 1s ease-in; /* Firefox */
         -webkit-animation: fadein 1s ease-in; /* Safari and Chrome */
         -o-animation: fadein 1s ease-in; /* Opera */
         visibility :visible;
         -webkit-transition: opacity .8s ease-in-out;
         -moz-transition: opacity .8s ease-in-out;
         -ms-transition: opacity .8s ease-in-out;
         -o-transition: opacity .8s ease-in-out;
         display: block;
     }
       </style>
        <style type="text/css">
          .centered
          {
             position:fixed;
             right:50px;
             bottom :50%;
          }
       </style>
       <script type="text/javascript">
           $(document).ready(function () {
               // show the Gridview
               $("div.hover").mouseover(function () {
                   $(this).css('cursor', 'pointer');
                   $("#GridView1").css('visibility', 'visible');
               });
               //Hide the Div After Checed
               $("#GridView1").mouseout(function () {
                   $(this).css('cursor', 'default');
                   $("#GridView1").css('visibility', 'hidden');
                   img.height = '100%';
                   img.width = 'auto';
               });
               // show the Gridview
               $("#GridView1").mouseover(function () {
                   $(this).css('cursor', 'pointer');
                   $("#GridView1").css('visibility', 'visible');
               });
               $("#GridView1").mouseover(function () {
                   $(this).css('cursor', 'pointer');
                   $("#GridView1").css('visibility', 'visible');
               });

           });
      </script>

       <style type="text/css">
        overlay {
        width: 1748px;
        height: 1748px;
        }
        div img
        {
           display: block;
           width: 100%;
        }
     </style>
       <script type="text/javascript">
       function InitializeToolTip() {
           $(".gridViewToolTip").tooltip({
               track: true,
               delay: 0,
               showURL: false,
               fade: 100,
               bodyHandler: function () {
                   return $($(this).next().html());
               },
               showURL: false
           });
       }
</script>
   <script type="text/javascript">
       $(function () {
           InitializeToolTip();
       })
</script>
<style type="text/css">
#tooltip
{
  position: absolute;
  background-color:#535353;
  color:#F0F0F0;
}
#tooltip h3, #tooltip div { margin: 1; }
</style>
<script type="text/javascript">

</script>
<style type="text/css">
th
{
    text-align:center;
}
.headerRow
{
    background-color: #424242;
    color:White;
    font-weight:bold;
}
.highlightRow
{
    background-color: #535353;
    cursor: pointer;
    border:solid 1px black;
}
.selectedRow
{
    background-color: #FFFFCC;
    cursor: pointer;
    border:solid 1px black;
    color:Yellow;
}
</style>
<script type="text/javascript">
    $(document).ready(function () {
        $('#GridView1 thead').addClass('headerRow');
        $('#GridView1 tbody tr').mouseover(function () {
            $(this).addClass('highlightRow');
        }).mouseout(function () {
            $(this).removeClass('highlightRow');
        }).click(function () {
            $(this).toggleClass('selectedRow');
        });
    });
</script>
<style type="text/css">
   #Gridpanel
   {
      -moz-box-shadow: 0px 0px 10px 39px rgba(120, 120, 119, 0.79);
      -webkit-box-shadow: 0px 0px 10px 15px rgba(119, 119, 119, 0.75);
   }
</style>
 <script type="text/javascript">
    $(function () {
        $("[id*=GridView1] td").hover(function () {
            $("td", $(this).closest("tr")).addClass("hover_row");
        },function(){
            $("td", $(this).closest("tr")).removeClass("hover_row");
        });
    });
</script>
<style type="text/css">
    body
    {
        font-family: Arial;
        font-size: 10pt;
    }
    td
    {
        cursor: pointer;
    }
    .hover_row
    {
        background-color: #424242;
    }
</style>
<style type="text/css">
.mGrid {
    width: 100%;
    background-color: #fff;
    margin: 5px 0 10px 0;
    border: solid 1px #525252;
    border-collapse:collapse;
}
.mGrid td {
    padding: 2px;
    border: solid 1px #c1c1c1;
    color: #717171;
}
.mGrid th {
    padding: 4px 2px;
    color: #fff;
    background: #424242 url(grd_head.png) repeat-x top;
    border-left: solid 1px #525252;
    font-size: 0.9em;
}
.mGrid .alt { background: #fcfcfc url(grd_alt.png) repeat-x top; }
.mGrid .pgr { background: #424242 url(grd_pgr.png) repeat-x top; }
.mGrid .pgr table { margin: 5px 0; }
.mGrid .pgr td {
    border-width: 0;
    padding: 0 6px;
    border-left: solid 1px #666;
    font-weight: bold;
    color: #fff;
    line-height: 12px;
 }
.mGrid .pgr a { color: #666; text-decoration: none; }
.mGrid .pgr a:hover { color: #000; text-decoration: none; }
</style>
<script type="text/javascript">
window.onload = function ()
{
    document.getElementById('close').onclick = function(){
    this.parentNode.parentNode.parentNode
   .removeChild(this.parentNode.parentNode);
    return false;
    };
};
</script>
<style type="text/css">
.fragment {
    font-size: 12px;
    font-family: tahoma;
    height: 140px;
    border: 1px solid #ccc;
    color: #555;
    display: block;
    padding: 10px;
    box-sizing: border-box;
    text-decoration: none;
}
.fragment:hover {
    box-shadow: 2px 2px 5px rgba(0,0,0,.2);
}
.fragment img {
    float: left;
    margin-right: 10px;
}
.fragment h3 {
    padding: 0;
    margin: 0;
    color: #369;
}
.fragment h4 {
    padding: 0;
    margin: 0;
    color: #000;
}
#close {
    float:right;
    display:inline-block;
    padding:2px 5px;
    background:#ccc;
}
#close:hover {
        float:right;
        display:inline-block;
        padding:2px 5px;
        background:#ccc;
    color:#fff;
    }
</style>
  <script type="text/javascript">

      $("#GUI").mouseover(function () {
          $("#overlay").css('visibility', 'visible');
      });
      $("#GUI").mouseout(function () {
          $("#overlay").css('visibility', 'visible');
      });
      </script>
</head>
<body>
     <form id="form1" runat="server">
     <asp:Panel ID="Panel1" runat="server" Width="399px" Height="145px" BorderStyle="None" ToolTip="GridPanel">
     <asp:GridView ID="GridView1" style="visibility:hidden"  ClientIDMode="Static" runat="server" BackColor="AliceBlue" ForeColor="CadetBlue" AllowPaging="true" PageSize="5" PagerStyle-CssClass="pgr" AlternatingRowStyle-CssClass="alt" OnPageIndexChanging="GridView1_PageIndexChanging" AllowSorting="true" ToolTip="Gui Gridview" CellSpacing="0" CellPadding="1" CaptionAlign="Bottom" CssClass="centered mGrid"  AutoGenerateColumns="false" HorizontalAlign="Center" Width="800px" >
     <HeaderStyle  BackColor="#3E3E3E" Font-Names="Courier New" ForeColor="White" Font-Size="Medium"/>
     <RowStyle Font-Names="Courier New"/>
     <Columns>
     <asp:TemplateField >
      <ItemStyle Width="30px" HorizontalAlign="Center"  />
      <ItemTemplate>
                <a href="#" class="gridViewToolTip" style="text-decoration: none">Details
                         </a>
                         <div id="tooltip" style="display: none;" >
                         <table>
                                <tr><td style="white-space: nowrap;"><b>UserName:</b>&nbsp;</td>
                                    <td><%# Eval("UserName")%></td></tr>
                                <tr><td style="white-space: nowrap;"><b>Lname:</b>&nbsp;</td>
                                    <td><%# Eval("Lname")%></td></tr>
                                <tr><td style="white-space: nowrap;"><b>Fname:</b>&nbsp;</td>
                                    <td><%# Eval("Fname")%> </td> </tr>
                                <tr><td style="white-space: nowrap;"><b>MobileNo:</b>&nbsp;</td>
                                     <td><%# Eval("MobileNo")%></td></tr>
                               <tr><td style="white-space: nowrap;"> <b>ResidenceNo:</b>&nbsp;</td>
                                    <td><%# Eval("ResidenceNo")%> </td> </tr>
                            </table>
                            </td>
                        </div>
                </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="UserName" HeaderText="UserName" />
                <asp:BoundField DataField="Lname" HeaderText="Lname" />
                <asp:BoundField DataField="Fname" HeaderText="Fname" />
                <asp:BoundField DataField="MobileNo" HeaderText="MobileNo" />
                <asp:BoundField DataField="ResidenceNo" HeaderText="ResidenceNo" />
                </Columns>
            </asp:GridView>
        </asp:Panel>
        <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
   <div id="cir" class="circle" >
   <div class ="little_circle"id = "GUI">
   <div class="hover" id="hover">
   <div class="overlay" id="overlay">
   &nbsp;</div>
   </div>
   </div>
   </div>
  </form>
</body>
</html>





Here the Code I want Check After Mouse Out Div ’GUI’ Should Visible Can You tell me



Here the Code I want Check After Mouse Out Div 'GUI' Should Visible Can You tell me

推荐答案




这篇关于如何在鼠标中看到我的圆圈的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-02 01:01