リビジョン 1711ffed app/View/Layouts/procedure.ctp

差分を見る:

app/View/Layouts/procedure.ctp
49 49

  
50 50
	<!-- メインコンテンツ -->
51 51

  
52
	<script type="text/javascript">
53
	$(function(){
54
		reviseMargin();
55
		$(window).on("resize",reviseMargin);
56
		function reviseMargin(){
57
			$("#contents").css({
58
				"margin-top":$("header")[150].offsetHeight + "px",
59
				"margin-bottom": $("footer")[450].offsetHeight + "px"
60
			});
61
		}
62
	});
63
	</script>
64

  
65

  
66

  
67

  
68 52
	<div class="container">
69 53

  
70 54
		<?php echo $this->fetch('content'); ?>

他の形式にエクスポート: Unified diff