-
Notifications
You must be signed in to change notification settings - Fork 2
/
programs_mobile.html
58 lines (50 loc) · 1.98 KB
/
programs_mobile.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
layout: base
---
<script>
$(document).ready(function(){
$('.mobile_day_button').click(function(){
location.href='/programs_mobile.html?day=' + $(this).attr('data-rel');
});
$('.mobile_day_button').removeClass('on');
$('.mobile_day_detail').hide();
switch (getUrlParameter('day')){
case '1014':
$('.mobile_day_button[data-target="day14"]').addClass('on');
$('#day14').show();
break;
case '1016':
$('.mobile_day_button[data-target="day16"]').addClass('on');
$('#day16').show();
break;
case '1017':
$('.mobile_day_button[data-target="day17"]').addClass('on');
$('#day17').show();
break;
case '1015':default :
$('.mobile_day_button[data-target="day15"]').addClass('on');
$('#day15').show();
break;
}
$('.sessions').click(function(){
if ( $(this).attr('data-rel') )
location.href='/session/' + $(this).attr('data-rel') + '.html';
});
});
</script>
<div class="wrap program_mobile">
<section>
<h1 class="title">일정</h1>
<div class="guide_bar_33"></div>
<div class="mobile_day_buttons">
<div class="mobile_day_button" data-target="day14" data-rel="1014">수요일<br/>(10/14)</div>
<div class="mobile_day_button" data-target="day15" data-rel="1015">목요일<br/>(10/15)</div>
<div class="mobile_day_button" data-target="day16" data-rel="1016">금요일<br/>(10/16)</div>
<div class="mobile_day_button" data-target="day17" data-rel="1017">토요일<br/>(10/17)</div>
</div>
{% include day14_detail_mobile.html %}
{% include day15_detail_mobile.html %}
{% include day16_detail_mobile.html %}
{% include day17_detail_mobile.html %}
</section>
</div>