Thursday, January 21, 2016

Very Useful jQuery code examples

zoom element text on Mouse over 

Javascript Code:

<script type="text/javascript">
        $(document).ready(function () {
            var oldSize = parseFloat($("#ZOOM").css('font-size'));
            var newSize = oldSize * 2;
            $("#ZOOM").hover(
              function () {
                  $("#ZOOM").animate({ fontSizenewSize }, 200);
              },
              function () {
                  $("#ZOOM").animate({ fontSizeoldSize }, 200);
              }
           );
        });
    </script>
    <style type="text/css">
        #ZOOM
        {
        font-size:10pt;
        font-family:'Times New Roman';
        }
    </style>


Design.aspx:




Output:



zoom Image




Output:

disable spacebar


output:

to find out which key was pressed


Design:



Output:


Kubernetes

Prerequisites We assume anyone who wants to understand Kubernetes should have an understating of how the Docker works, how the Docker images...