slider otomatik geciş |
7 Mesajlar | 12.794 Okunma |
SetInterval
<script>
setInterval(function(){
alert("World!")
}, 5000);
</script>
SetInterval
<script>
setInterval(function(){
alert("World!")
}, 5000);
</script>
$.Slider = function(){
// örnek slider kodları
if(liDr < tLi - 1){
liDr++;
yW = liW * liD;
$(".slider ul").css({"-webkit-transform": "translate3d(" + "-" + yeniWidth + "px, 0px, 0px)"});
$(".slider ul").css({"transform": "translate3d(" + "-" + yeniWidth + "px, 0px, 0px)"});
}
var d = setInterval("$.Slider()", 2000);
$("#slider").hover(function(){
clearInterval(don)
}, function(){
d = setInterval("$.Slider()", 2000);
})
<script></script>
<script>
$(document).ready(function() {
$('#liquid1').liquidcarousel({height:129, duration:100, hidearrows:false});
});
</script>
var don = setInterval("$.Slider()", 2500);
$("#liquid1").hover(function(){
clearInterval(don)
}, function(){
don = setInterval("$.Slider()", 2500);
});
var don = setInterval("$.Slider()", 2500);
$("#liquid1").hover(function(){
clearInterval(don)
}, function(){
don = setInterval("$.Slider()", 2500);
});