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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
<?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 {height:324px;} .sbn_direction{position: absolute;left: 50%;top: 0;width: 1200px;margin-left: -600px;text-align: left;z-index: 5000;} .sbn_direction_arrow{position: relative;top: 140px;} .bx-next {right: 0;} .bx-prev{background-position: 0 -41px;}
#main_banner{width:1200px;height:460px;margin:0 auto;margin-top: 20px;position:relative;} .banner_slide_img li a img{width:1200px;height:460px;}
/* 메인배너 타이틀 */ .sbn_banner_txt {position: absolute;top:25px;right:25px;z-index: 6000;} .sbn_banner_txt_item {position: relative;width: 210px;height: 80px;text-align: center;z-index: 9999;background-color: rgba( 255, 255, 255, 0.8 );border-bottom:1px solid #000;} .sbn_banner_txt_item a {position:relative;height: 80px;text-align: center;display: block;} .sbn_banner_txt ul li{border-right: 1px solid #d9d9d9;} .sbn_banner_txt ul li:last-child{border:none;} .sbn_banner_txt_img{position:absolute;right:10px;bottom:5px} .sbn_banner_txt_tit{position:absolute;left:10px;top:25px;} .sbn_banner_txt_tit p{font-size:16px;font-weight:600;text-align:left;color:#2c2c2c;} .sbn_banner_txt_tit .sbn_sub_tit{font-size:14px;color:#40a811} .sbn_banner_txt_item a span{ line-height: 80px;} .on{background:#2c2c2c;} .on a span{color:#fff;} .on p{color:#fff;} .on .sbn_sub_tit{color:#fff;} .on:before{position: absolute;left: -10px;top:35%;content: " ";height: 0;z-index: -1;border-right: 10px solid;border-top: 8px solid rgba(0, 0, 0, 0);border-bottom: 8px solid rgba(0, 0, 0, 0);color: #2c2c2c;} </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,"banner11.php",$sk_idx); // banner11.php은 이것 전용 스킨 탭이미지(오브젝트가) banner11.php에 들어가 있음?> </div><!--/sbn_banner--> <!--메인배너 타이틀--> </div><!--/wrapper--> <script> $(function(){ var str = navigator.userAgent.toLowerCase(); //접속한 브라우저의 코드네임 소문자로 저장 if ( -1 != str.indexOf('msie') ) { // msie 라는 문자열이 있으면 setTimeout(function(){ // ie에서만 골뱅이 도는 경우가 있어서 딜레이 처리해줌 myslider117 = $('.banner_ul_<?php echo $sk_idx;?>').bxSlider({ responsive: true, adaptiveHeight:false, pager: false, auto: true, controls: false, }); },400); } else { myslider117 = $('.banner_ul_<?php echo $sk_idx;?>').bxSlider({ responsive: true, adaptiveHeight:false, pager: false, auto: true, controls: false, onSlideAfter : function($e, oldidx, newidx){ $(".sbn_banner_txt ul li").removeClass("on"); $(".sbn_banner_txt ul li").eq(newidx).addClass("on"); } }); }
$(".sbn_banner_txt ul").html($(".under_tab_class").html());
$(".sbn_banner_txt ul li").click(function($e){ myslider117.goToSlide($(this).index()); $(".sbn_banner_txt ul li").removeClass("on"); });
}); </script> </section><!--/main_banner--> <?php $main_slider = ""; ?>
|