0

Chrome でのみ発生する面白いエラーがあります... このページを見ると: http://forbrugsforeningen.build.dis-play.dk/Om-Forbrugsforeningen

次に、スライダーを使用する場合、トップ メニューを見て、スライド アニメーション中にジャンプを 1px ソートしますか? これは前に見たことがなく、さらに奇妙なことに、ページ上の 2 つの別々の要素が別々のコンテナに配置されています。

スライダーのコードは次のとおりです。

if ($jq('.rotator').length) {
    $jq('.flexslider').flexslider({
        animation: "slide",              //String: Select your animation type, "fade" or "slide"
        slideDirection: "horizontal",   //String: Select the sliding direction, "horizontal" or "vertical"
        slideshow: true,                //Boolean: Animate slider automatically
        slideshowSpeed: 7000,           //Integer: Set the speed of the slideshow cycling, in milliseconds
        animationDuration: 400,         //Integer: Set the speed of animations, in milliseconds
        directionNav: true,             //Boolean: Create navigation for previous/next navigation? (true/false)
        controlNav: true,               //Boolean: Create navigation for paging control of each clide? Note: Leave true for manualControls usage
        keyboardNav: false,              //Boolean: Allow slider navigating via keyboard left/right keys
        mousewheel: false,              //Boolean: Allow slider navigating via mousewheel
        prevText: "Tilbage",           //String: Set the text for the "previous" directionNav item
        nextText: "Frem",               //String: Set the text for the "next" directionNav item
        pausePlay: false,               //Boolean: Create pause/play dynamic element
        pauseText: 'Pause',             //String: Set the text for the "pause" pausePlay item
        playText: 'Afspil slider',               //String: Set the text for the "play" pausePlay item
        randomize: false,               //Boolean: Randomize slide order
        slideToStart: 0,                //Integer: The slide that the slider should start on. Array notation (0 = first slide)
        animationLoop: true,            //Boolean: Should the animation loop? If false, directionNav will received "disable" classes at either end
        pauseOnAction: true,            //Boolean: Pause the slideshow when interacting with control elements, highly recommended.
        pauseOnHover: false            //Boolean: Pause the slideshow when hovering over slider, then resume when no longer hovering
    });
}
4

1 に答える 1

1

スライダー内の画像要素の位置は相対位置に設定する必要があります。

#slider li img {
position: relative;
}
于 2012-09-28T19:17:56.150 に答える