Sfoglia il codice sorgente

刪除 未用到 hover 程式碼

oransheep 3 anni fa
parent
commit
11cfc45852
1 ha cambiato i file con 0 aggiunte e 24 eliminazioni
  1. 0 24
      home.php

+ 0 - 24
home.php

@@ -219,30 +219,6 @@ if (!isset($_SESSION['loggedin'])) {
 	<script src="assets/javascripts/theme.js"></script>
 
 	<script>
-		// $(function() {
-		// 	var timeoutIn, timeoutOut;
-		// 	$('.panel').each(function() {
-		// 		$(this).hover(
-		// 			function(e) {
-		// 				$this = $(this);
-		// 				e.preventDefault();
-		// 				clearTimeout(timeoutOut);
-		// 				timeoutIn = setTimeout(function(){
-		// 					$this.find('.panel-body-info').slideDown(200);
-		// 				}, 200);
-		// 			},
-		// 			function(e) {
-		// 				$this = $(this);
-		// 				e.preventDefault();
-		// 				clearTimeout(timeoutIn);
-		// 				timeoutOut = setTimeout(function(){
-		// 					$this.find('.panel-body-info').slideUp(200);
-		// 				}, 200);
-		// 			}
-		// 		);
-		// 	});
-		// });
-
 		$('.panel').hoverIntent({
 			sensitivity: 50,   //滑鼠滑動的敏感度,最少要設定為1    
 			interval: 200,   //滑鼠滑過後要延遲的秒數