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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
|
<?php include_once("./_common2.php"); ?> <meta http-equiv="X-UA-Compatible" content="IE=8,IE=9,IE=10,chrome=1"> <? include("./Page/common/header.php"); ?> <style> .function_title{height:250px;background:url('./images/millennium/function/function_title.png');} .function_wrap{display:block;margin:0 auto;width:1200px} .sub_content{float:right;width:950px;z-index:-999;} .asideMenu{ float:left; width:220px; margin-right:20px; } .section{position:relative;display:block;width:950px;margin:0 auto;} .asideMenu{border:none;} .function_title .function_wrap h2{position:relative;float:left;color:#fff;font-size:24pt;font-weight:bold;z-index:999;margin:180px 20px 0;} </style> <div class="function_title"> <div class="function_wrap"> <h2>01. ÀåºÎ½Ä ÀüÇ¥µî·Ï(ÃÖÃÊ)</h2> <!--<h2>02.»óǰ¸ÅÀÔ°ü¸®</h2> <h2>03.¹Ì¼ö°ü¸®</h2>--> </div> </div> <div class="function_wrap"> <div class="contents"> <!-- //leftNavi --> <div class="asideMenu"> <? include("./Page/function/leftNavi.html"); ?> </div> <div class="sub_content"> <!-- //¿µ»ó³»¿ë --> <div class="section"> <? include("./Page/function/producthwlist.php"); ?> </div>
</div><!-- //subContents --> </div><!-- //contents --> </div><!-- //function_wrap --> <script> $(function () { var idx_type = '<?php echo $idx?>'; console.log(idx_type); if(idx_type == ""){ //ÄÁÅÙÃ÷ ¿©ºÎ ±âº»°ª $(".tab_content").hide(); $(".tab_content").eq(0).show(); //ÁÂÃø ³×ºñ¸Þ´º ¹®±¸ °Á¶ ±âº»°ª $("ul.tabs li").eq(0).find('a').addClass('em');
var $v = $("ul.tabs li").eq(0).find('a').html(); var $vv = $v.split("<img"); $(".function_wrap h2").html($vv[0]); console.log($v);
} else { //ÄÁÅÙÃ÷ ¿©ºÎ ±âº»°ª $(".tab_content").hide(); $(".tab_content").eq(idx_type).show(); //ÁÂÃø ³×ºñ¸Þ´º ¹®±¸ °Á¶ ±âº»°ª $("ul.tabs li").eq(idx_type).find('a').addClass('em');
var $v = $("ul.tabs li").eq(idx_type).find('a').html(); var $vv = $v.split("<img"); $(".function_wrap h2").html($vv[0]); console.log($v); }
//ÁÂÃø ³×ºñ¸Þ´º Ŭ¸¯½Ã $("ul.tabs li").click(function () {
//ÁÂÃø ³×ºñ¸Þ´º ¹®±¸ °Á¶¿©ºÎ var i = $(this).index(); /* $("ul.tabs li a").removeClass("em"); $(this).children("a").addClass("em");
$(".tab_content").hide(); $(".cs_manual_content_class .tab_content").eq($(this).index()).fadeIn();
$v = $(this).find("a").html(); $vv = $v.split("<img"); $(".function_wrap h2").html($vv[0]); */
location.href = 'millennium_function.php?idx=' + i; });
/* if('<?php echo $idx?>'!=''){ $(".tab_content").hide();
$(".cs_manual_content_class .tab_content").eq('<?php echo $idx;?>').fadeIn();
$this = $("ul.tabs li").eq('<?php echo $idx;?>');
$v = $this.find("a").html(); $vv = $v.split("<img"); $(".function_wrap h2").html($vv[0]);
} */ }); </script>
<? include("./Page/common/footer.php"); ?>
|