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
|
<?php Global $cinfo;
$cur_img_url = $j3_img_url."/".$sk['sk_img_path'];
if($skin_css!=''){ echo $skin_css; } else { ?>
<?php }?>
<div class="class_skin_idx_<?php echo $sk_idx;?>"> <h1 class="p15_0 align_c"><?php echo $cinfo['co_subject'];?></h1>
<?php if(file_exists("{$j3_data_path}/ico/content_header_m")){ ?> <div class="mb10 m0_10"> <img src='<?php echo "{$j3_data_url}/ico/content_header_m";?>' class='width_full'> </div> <?php }?>
<article class="mb10 m0_10 gray_line content_class"> <header class="screen_out">회사소개</header> <div class="p5 content_inner_div"> <?php echo $cinfo['co_content_m'];?> </div> </article>
<?php if(file_exists("{$j3_data_path}/ico/content_footer_m")){ ?> <div class="mb10 m0_10"> <img src='<?php echo "{$j3_data_url}/ico/content_footer_m";?>' class='width_full'> </div> <?php }?> </div> <?php echo $cinfo['co_css']; // 내용 개별 CSS/스크립트 처리용 ?> <script> $(function(){ $div_width = $(".content_inner_div").width(); // 내용의 이미지를 PC버젼에서 모바일크기 맞춰서 변경처리 setTimeout(function(){ $(".content_class img").each(function(){ $img_width = $(this).width(); if($div_width<$img_width){ $(this).css("width","100%").css("max-width","800px").css("height","").attr("width","").attr("height",""); } }); },700); }); </script>
|