Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
Най-важното е да имаш това, което съм го оцветил в червено...<style type="text/css">
.hover_menu {
display:block;
width:157px; /* duljinata na pica - padding left - padding right (187 - 30 - 0 = 157) */
height:28px; /* viso4inata na picа - padding top - padding bottom (33 - 5 - 0 = 28 ) */
padding:5px 0 0 30px;
font-size:16px;
background:url("http://web-tourist.net/userfiles/1/1859.gif") no-repeat;
}
.hover_menu:hover {
background-position:0px -34px;
}
</style>
<a href="#" class="hover_menu">Link 1</a>
<a href="#" class="hover_menu">Link 2</a>
<a href="#" class="hover_menu">Link 3</a>
<html>
<head>
<title>Try ? </title>
<meta http-equiv="content-type" content="text/html; charset=windows-1251">
<script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.js"></script>
</head>
<body>
<style>
</style>
<script type="text/javascript">
$(function()
{
$("#menu").hover(function(){
$(this).animate({
marginTop: "36px"
}, "slow" );
});
});
</script>
<div id="menu" style="width:187px;"><img src="1859.gif" alt="" align="center"></div>
</body>
</html>