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
|
<?php $cur_img_url = $j3_img_url."/".$sk['sk_img_path']; $bn_pos = $sk['sk_bn_pos']; // 배너 위치 $main_slider = "Y";
if($skin_css!=''){ echo $skin_css; } else { ?> <style> /* 메인 : 배너 */ .sbn_banner {width: 930px;height: 600px;float: left;} #main_banner{width:1200px;height:600px;margin:0 auto;margin-top: 15px;position:relative;} .banner_slide_img li a img{width:1200px;height:600px;} .main_right_banner ul { float:left; } .main_right_banner ul li { width: 260px;height: 190px;margin-left: 10px;background: red;margin-bottom:15px } </style> <?php }?>
<!--메인 : 배너--> <section id="main_banner" class="class_skin_idx_<?php echo $sk_idx;?>"> <div id="wrapper"> <!--메인배너--> <div class="sbn_banner"> <!--메인배너 이미지--> <?php echo banner_display($bn_pos,"",$sk_idx); ?> </div><!--/sbn_banner--> <!--메인우측 서브배너--> <div class='main_right_banner'> <?php echo banner_display("기타1","",""); ?> </div> </div><!--/wrapper--> </section><!--/main_banner--> <script> $(function(){ var str = navigator.userAgent.toLowerCase(); //접속한 브라우저의 코드네임 소문자로 저장 if ( -1 != str.indexOf('msie') ) { // msie 라는 문자열이 있으면 setTimeout(function(){ // ie에서만 골뱅이 도는 경우가 있어서 딜레이 처리해줌 $('.banner_ul_<?php echo $sk_idx;?>').bxSlider({ responsive: true, adaptiveHeight:true, pager: false, auto: true }); },200); } else { $('.banner_ul_<?php echo $sk_idx;?>').bxSlider({ responsive: true, adaptiveHeight:true, pager: false, auto: true }); } }); </script> <?php $main_slider = ""; ?>
|