Python matplotlibを使って学ぶ統計処理 正規分布 新しいページはコチラ

提供: yonewiki
移動: 案内, 検索
(アニメーションマーカー)
(アニメーションマーカー)
152行: 152行:
 
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
 
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
 
<script>
 
<script>
$(window).scroll(function (){
+
$(window).scroll(function (){
$(".marker-animation").each(function(){
+
$(".marker-animation").each(function(){
  var position = $(this).offset().top; //ページの一番上から要素までの距離を取得
+
  var position = $(this).offset().top; //ページの一番上から要素までの距離を取得
  var scroll = $(window).scrollTop(); //スクロールの位置を取得
+
  var scroll = $(window).scrollTop(); //スクロールの位置を取得
  var windowHeight = $(window).height(); //ウインドウの高さを取得
+
  var windowHeight = $(window).height(); //ウインドウの高さを取得
 
  if (scroll > position - windowHeight){ //スクロール位置が要素の位置を過ぎたとき
 
  if (scroll > position - windowHeight){ //スクロール位置が要素の位置を過ぎたとき
    $(this).addClass('active'); //クラス「active」を与える
+
    $(this).addClass('active'); //クラス「active」を与える
 
  }
 
  }
 
});
 
});
183行: 183行:
  
 
</style>
 
</style>
 +
 +
 +
  
  

2020年4月16日 (木) 00:00時点における版



個人用ツール
名前空間

変種
操作
案内
ツールボックス