//Set the height of the block
$('#menu .block').height($('#menu li').height());
//go to the default selected item
topval = $('#menu .selected').position()['top'];
$('#menu .block').stop().animate({top: topval}, {easing: '', duration:500});
$('#menu li').hover(
function() {
//get the top position
topval = $(this).position()['top'];
//animate the block
//you can add easing to it
$('#menu .block').stop().animate({top: topval}, {easing: '', duration:500});
//add the hover effect to menu item
$(this).addClass('hover');
},
function() {
//remove the hover effect
$(this).removeClass('hover');
}
);
});
</script>
-------------------------------------------------------------Tasarım Üstü Bitiş---------------------------------------------------------------------------
#menu ul {
/* remove list style */
list-style:none;
padding:0;
margin:0;
/* set the layer position */
position:relative;
z-index:5;
}
#menu li {
/* set the styles */
background:#ccc url(http://img.webme.com/pic/c/catlak-site55/vbg.gif) no-repeat 0 0;
padding:5px;
margin:2px;
cursor:pointer;
border:1px solid #ccc;
}
#menu li.hover {
/* on hover, change it to this image */
background-image:url(http://img.webme.com/pic/c/catlak-site55/bg_hover.gif) !important;
}
#menu li a {
text-decoration:none;
color:#888;
}
#menu .block {
/* allow javascript to move the block */
position:absolute;
top:0;
/* set the left position */
left:150px;
/* display above the #menu */
z-index:10;
/* the image and the size */
background:transparent url(http://img.webme.com/pic/c/catlak-site55/darrow.png) no-repeat top right;
width:39px;
padding:4px;
cursor:pointer;
}
----------------------------------------------------------------Css Kodu Bitiş-----------------------------------------------------------
Eger Css Tasarım Kullanmıyorsanız Css Kodunu <style type="text/css"> Buraya Css Kodu </style> Tagı Arasına Koyup Tasarıma Ekleyin.....
Neyi nereye ekliycem birşey anlamadım yardım edenlere teşekkürler ______________ -Doktor bu ne?
-Webmaster-Photoshop-HTML-CSS Üzerine Kurulu BS Yardım Platformu
kod kendi içinde 3 bölüme ayrılmış ve belirtilmiş.
Tasarım ayarlarına girip.
1.Bölüm: Tasarımın üstündeki yazı bölümüne
2.Bölüm:Sitende menü bölümü yazan yere
3.Bölüm Css kodu bölümüne kaydedeceksin. ______________
#menu ul {
/* remove list style */
list-style:none;
padding:0;
margin:0;
/* set the layer position */
position:relative;
z-index:5;
}
#menu li {
/* set the styles */
background:#ccc url(http://img.webme.com/pic/c/catlak-site55/vbg.gif) no-repeat 0 0;
padding:5px;
margin:2px;
cursor:pointer;
border:1px solid #ccc;
}
#menu li.hover {
/* on hover, change it to this image */
background-image:url(http://img.webme.com/pic/c/catlak-site55/bg_hover.gif) !important;
}
#menu li a {
text-decoration:none;
color:#888;
}
#menu .block {
/* allow javascript to move the block */
position:absolute;
top:0;
/* set the left position */
left:150px;
/* display above the #menu */
z-index:10;
/* the image and the size */
background:transparent url(http://img.webme.com/pic/c/catlak-site55/darrow.png) no-repeat top right;
width:39px;
padding:4px;
cursor:pointer;
}
Çerezler küçük bilgi verici metinlerdir, bizim veya iş ortaklarımızın tarayıcınız aracılığıyla size ulaşmamızı sağlar.
Tarayıcınızdaki ayarları değiştirerek istediğiniz zaman çerez kullanımını engelleyebilirsiniz.
Genel Veri Koruma Yönetmeliği ile uyumlu aşağıdaki çerezleri kullanıyoruz:
- Temel çerezler: Web sitesinin tam olarak işlevsel olması için kesinlikle gereklidir.
- Opsiyonel Çerezler: İsteğe bağlı çerezlerdir ve web sitesini geliştirmemize yardımcı olur, ör. sizi kişisel olarak tanımlamadan web sitesindeki kullanım davranışınızın analiz edilmesi gibi.
Gizlilik politikamızdan daha fazla bilgiye ulaşabilirsiniz.