Hier einmal paar Fakten:
1. Es hat nichtsmals 1 % mit Flyff zu tun! Sondern mit Gestaltung einer Homepage (oder Scripten ), wie es auch dein Titel sagt:
[Homepage] Images Slider
2. Das ist eine sehr knappe und kurze "
Tutorial"
__________________________________________________ __________________
Erkläre doch ein bisschen! Und gestalte doch besser, es ist nicht so übersichtlich, du kannst ja die Texte die man einfügen muss in einen Zitat oder PHP Code wiedergeben zum Beispiel so:
Als erstes fügt ihr folgendes in der jr Datei ein:
PHP Code:
$(".image_reel").css({'width' : imageReelWidth});
rotate = function(){
var triggerID = $active.attr("rel") - 1;
var image_reelPosition = triggerID * imageWidth;
$(".paging a").removeClass('active');
$active.addClass('active');
$(".image_reel").animate({
left: -image_reelPosition
}, 500 );
};
rotateSwitch = function(){
play = setInterval(function(){
$active = $('.paging a.active').next();
if ( $active.length === 0) {
$active = $('.paging a:first');
}
rotate();
}, 4000);
};
rotateSwitch();
$(".image_reel a").hover(function() {
clearInterval(play); //REMOVE IF YOU DON'T WANT IT TO STOP ON HOVERING THE SWITCHER.
}, function() {
rotateSwitch();
});
$(".paging a").click(function() {
$active = $(this);
clearInterval(play);
rotate();
rotateSwitch();
return false;
});
});
Und bin für
#moverequest Grund: Falsche Sektion!