2012-04-19 9 views
0

グリッド内の1つの画像で、他の画像の上に表示される画像です。理由はわかりませんし、助けが必要です。Zurb Orbig Sliderコンテンツオーバーラップ画像

ページの読み込み中にのみ発生することです。

私はこのようなセクションを保持Zurb財団軌道スライダーと私のページを使用しています:

<section class="container"> 
    <div class="row"> 
     <div class="two columns"> 
     </div> 
     <div class="eight columns"> 
      <div id="featured"> 
       <div class="content"> 
        <ul class="block-grid four-up"> 
         <li><a href="http://wazzup.wedoitforfun.org/" target="_blank" class="sb xlarge flat glossy wazzup"></a></li> 
         <li><a href="#" class="sb xlarge flat glossy light-gray nAppIcon"></a></li> 
         <li><a href="#" class="sb xlarge flat glossy light-gray eAppIcon"></a></li> 
         <li><a href="#" class="sb xlarge flat glossy light-gray wAppIcon"></a></li> 
         <li><a href="#" class="sb xlarge flat glossy light-gray aAppIcon"></a></li> 
         <li><a href="#" class="sb xlarge flat glossy light-gray pAppIcon"></a></li> 
         <li><a href="#" class="sb xlarge flat glossy light-gray pAppIcon"></a></li> 
         <li><a href="#" class="sb xlarge flat glossy light-gray sAppIcon"></a></li> 
        </ul> 
       </div> 
       <div class="content"> 
        <ul class="block-grid four-up"> 
         <li><a href="#" class="sb xlarge flat light-gray glossy about"></a></li> 
         <li><a href="http://www.scoop.it/t/tooltip" target="_blank" class="sb xlarge flat light-gray glossy tooltip"></a></li> 
         <li><a href="http://www.scoop.it/t/innovatus" target="_blank" class="sb xlarge flat light-gray glossy innovatus"></a></li> 
         <li><a href="http://whereismycode.pintolaranja.com" target="_blank" class="sb xlarge flat light-gray glossy whereismycode"></a></li> 
         <li><a href="http://scrumplicity.net" target="_blank" class="sb xlarge flat light-gray glossy scrumplicity"></a></li> 
        </ul> 
       </div> 
      </div> 
     </div> 
     <div class="two columns"> 
     </div>   
    </div> 
</section> 

摺動部の設定を担当JavaScriptを有効にしている:

jQuery(document).ready(function ($) { 

    $("#featured").orbit({ 
     animation: 'horizontal-push',  // fade, horizontal-slide, vertical-slide, horizontal-push 
     animationSpeed: 800,    // how fast animtions are 
     timer: false,      // true or false to have the timer 
     advanceSpeed: 4000,    // if timer is enabled, time between transitions 
     pauseOnHover: false,    // if you hover pauses the slider 
     startClockOnMouseOut: false,  // if clock should start on MouseOut 
     startClockOnMouseOutAfter: 1000, // how long after MouseOut should the timer start again 
     directionalNav: true,    // manual advancing directional navs 
     captions: true,     // do you want captions? 
     captionAnimation: 'fade',   // fade, slideOpen, none 
     captionAnimationSpeed: 800,  // if so how quickly should they animate in 
     bullets: false,     // true or false to activate the bullet navigation 
     bulletThumbs: false,    // thumbnails for the bullets 
     bulletThumbLocation: '',   // location from this file where thumbs will be 
     afterSlideChange: function(){}, // empty function 
     fluid: '640x320'     // or set a aspect ratio for content slides (ex: '4x3') 
    }); 
}); 

すべて私が得るのは、第1のグリッド上の第2の画像が第2のグリッド上の第2の画像に置き換えられることである。 意味、nAppIconが表示されないページを読み込むと、代わりにツールチップアイコンが表示されます。

スライダーの矢印をクリックすると、すべてが消えて、すべてのアイコンが永遠に重なり合わない適切な場所に置かれます。

答えて

0

ここに私が見つけた答えがあります。 あまり好きではありませんが、うまくいきました。デフォルトでは

私は隠されたに下部スライドを設定し、このような何か:

$(".right").click(function(){ 
    if ($("#infoPanel").is(':hidden')){ 
     $("#appsPanel").hide(); 
     $("#infoPanel").show(); 
    } 
    else{ 
     $("#infoPanel").hide(); 
     $("#appsPanel").show();   
    } 
}); 

$(".left").click(function(){ 
    if ($("#infoPanel").is(':hidden')){ 
     $("#appsPanel").hide(); 
     $("#infoPanel").show(); 
    } 
    else{ 
     $("#infoPanel").hide(); 
     $("#appsPanel").show();   
    } 
}); 
関連する問題