Hallo zusammen,
ich habe eine Frage zu den CarouFredSel-Controls "Prev" & "Next". Mein Karussell soll so aussehen: Anhang 11157
Funktion soll wie folgt sein:
Funktionalität ist wie folgt gewünscht:
Slider soll währen Mouseover/Klick auf den Prev-/Next-Controller selbst weitersliden. Bei MouseOut soll der Slide stoppen. Wie konfiguriere ich das?
Dirch sei dank konnte ich die "js_caroufredsel" schon so weit anpassen, dass wenn ich z.B. den "Prev"-Button drücke oder mit der Maus drauf fahre, der Slider ein Bild in die richtige Richtung geht. Aber eben nur ein Bild, dann hält er an!
Aktuell habe ich am js_caroufredsel nur 2 Änderungen vorgenommen. Ursprünglich war der Code so:
PHP-Code:
// subobject 'prev' options
if ($this->navigation || $this->prevKey) {
echo ($oComma == true ? ', ' : '') . 'prev: { ';
if ($this->navigation) {
echo 'button: "#caroufredsel_prev_' . $this->id . '"';
$iComma = true;
}
Und hier die Varianten:
PHP-Code:
// subobject 'prev' options
if ($this->navigation || $this->prevKey) {
echo ($oComma == true ? ', ' : '') . 'prev: { ';
if ($this->navigation) {
echo 'button: "#caroufredsel_prev_' . $this->id . '"';
echo ', event: "click mouseenter"';
$iComma = true;
}
PHP-Code:
// subobject 'next' options
if ($this->navigation || $this->nextKey) {
echo ($oComma == true ? ', ' : '') . 'next: { ';
if ($this->navigation) {
echo 'button: "#caroufredsel_next_' . $this->id . '"';
echo ', event: "mouseenter click"';
$iComma = true;
}
Ich hab schon alles mögliche durchgelesen auf der Caroufredsel Seite selbst – hab 1000 Varianten der Einbindung in mein Seitenlayout versucht – ich krieg es aber einfach nicht konfiguriert –*hat da jemand eine Idee, wie ich ans Ziel komme?
Lesezeichen