Hardkor Js
<html>
<head>
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript">
 
$(function() {
    $("#to-najezdzam").hover(function() {
        $("#to-sie-bedzie-pokazywac").show();
        var span = $(".hakerski-spanik", this);
        var hideLater = function() {
            window.setTimeout(function() {
                if (span.position().left == -10000) {
                    $("#to-sie-bedzie-pokazywac").hide();
                } else {
                    hideLater();
                }
            }, 100);
        }
        hideLater();
    });
});
 
</script>
<style type="text/css">
#to-sie-bedzie-pokazywac {
    display: none;
}
#to-najezdzam .hakerski-spanik {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    width: 0;
    left: -10000;
}
#to-najezdzam:hover .hakerski-spanik {
    left: -20000;
}
</style>
</head>
<body>
 
<span id="to-najezdzam">najedz tu<span class="hakerski-spanik"></span></span>
<div id="to-sie-bedzie-pokazywac">bang!</div>
 
</body>
</html>
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License