arraybreak
Erfahrenes Mitglied
es funktioniert, leider wieder ein problem, beim letzten Punkt stoppt er und blinkt die ganze zeit als ob er gleich wieder wechseln wollen würde
Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
if (typeof nr == "undefined") {
nr = visible_item + 1;
if(nr > total_items) return;
}
if (typeof nr == "undefined") {
nr = visible_item + 1;
if(nr > total_items -1) return;
}
$(document).ready(function() {
var newHeight = 50;
var newWidth = 50;
$("#bild1").animate({ pause: 500}, 4000).animate({left:"-120px", top:"150px"}, 800).css( { height: newHeight, width: newWidth } );
$("#bild2").animate({ pause: 500}, 4000).animate({left:"-120px", top:"150px"}, 800).css( { height: newHeight, width: newWidth } );
$("#bild3").animate({ pause: 500}, 4000).animate({left:"-120px", top:"450px"}, 800).css( { height: newHeight, width: newWidth } );
$("#bild4").animate({ pause: 500}, 4000).animate({left:"-120px", top:"525px"}, 800).css( { height: newHeight, width: newWidth } );
});
<div class="top-demo" style="display:none">
<div id="mt1"><img src="images/mt-1.png"/></div>
<div id="mt2"><img src="images/mt-2.png"/></div>
<div id="mt3"><img src="images/mt-3.png"/></div>
<div id="mt4"><img src="images/mt-4.png"/></div>
</div>
$(document).ready(function() {
$("#mt1").animate({ pause: 500}, 4000).animate({left:"-120px", top:"150px"}, 800);
$("#mt2").animate({ pause: 500}, 4000).animate({left:"-120px", top:"150px"}, 800);
$("#mt3").animate({ pause: 500}, 4000).animate({left:"-120px", top:"450px"}, 800);
$("#mt4").animate({ pause: 500}, 4000).animate({left:"-120px", top:"525px"}, 800);
});