Toplam 1 adet sonuctan sayfa basi 1 ile 1 arasi kadar sonuc gösteriliyor
-
27.Şubat.2015, 23:23 #1Pro Üye
- Üyelik tarihi
- 06.Kasım.2014
- Mesajlar
- 405
Jquery Stop()metodu True , False Değerleri Hakkında
Merhaba arkadaşlar;
standart olarak false değerine sahiptir
eğer stop (true,true) olarak ayarlanırsa animasyonu bitirir.
stop (true,false ) olarak belirlenirse animasyonu o anda durdurur
Kod:
<style>
#nesne {
position: absolute;
background:#066;
left: 0px;
top: 30px;
width: 60px;
height: 60px;
margin: 5px;
}
#dis{
width:460px;
height:260px;
border:1px dashed #069;}
</style>
<button id="ileri">ileri</button>
<button id="geri">geri</button>
<button id="asagi">asagi</button>
<button id="yukari">yukari</button>
<button id="dur1">DURDUR (true,true)</button>
<button id="dur2">DURDUR (true,false)</button>
<div id="dis">
<div id="nesne"></div>
</div>
<script>
$( "#dur1" ).click(function() {
$( "#nesne" ).stop(true,true);
});
$( "#dur2" ).click(function() {
$( "#nesne" ).stop(true,false);
});
$( "#ileri" ).click(function() {
$( "#nesne" ).animate({ left: "+=200px" }, 2000 );
});
$( "#geri" ).click(function() {
$( "#nesne" ).animate({ left: "-=100px" }, 2000 );
});
$( "#asagi" ).click(function() {
$( "#nesne" ).animate({ top: "+=200px" }, 2000 );
});
$( "#yukari" ).click(function() {
$( "#nesne" ).animate({ top: "-=200px" }, 2000 );
});
</script>
.
Konu Bilgileri
Bu Konuya Gözatan Kullanıcılar
Şu anda 1 kullanıcı bu konuyu görüntülüyor. (0 kayıtlı ve 1 misafir)
Benzer Konular
-
Stop Motion Animasyon Sanatı
Konu Sahibi F.L.WRIGHT Forum Sinema - VizyonCevap: 0Son Mesaj : 02.Eylül.2015, 11:35 -
Jquery Stop()metodu True , False Değerleri
Konu Sahibi donjuanhose81 Forum Web Programlama DilleriCevap: 0Son Mesaj : 17.Mart.2015, 22:54 -
Jquery Animate Metodu ile Animasyonlar Oluşturma Nasıl Yapılır?
Konu Sahibi donjuanhose81 Forum PHPCevap: 0Son Mesaj : 17.Mart.2015, 22:51 -
Jquery Focusout Metodu
Konu Sahibi donjuanhose81 Forum PHPCevap: 0Son Mesaj : 27.Şubat.2015, 23:25 -
Is it true that using submit article or website to directories software work?
Konu Sahibi deniz Forum Directories of WorldCevap: 0Son Mesaj : 18.Aralık.2014, 09:41
Shopsocks5 - Service Socks5 Cheap...
11.Mayıs.2024, 15:00 in Güvenlik