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
|
<style> /*상단 바로가기*/ .head-direct-container {position:fixed; left:50%; top:56px; width:300px; height:230px; margin-left:90px; border:1px solid #353535; background:#f7f7f7; z-index:10006;display:none;} .head-direct-container h1 {height:50px; line-height:50px; border-bottom:1px solid #353535; background:#353535} .head-direct-container h1 span {position:absolute; left:20px; color:#FFF; font-size:18px; font-weight:600} .head-direct-container h1 a.login-close-btn {position:absolute; top:7px; right:12px; width:70px; heigth:34px; color:#FFF; line-height:34px; text-align:center; font-size:14px; font-weight:600; border:1px solid #FFF;} .head-direct-container .head-direct {margin:15px; padding:10px 15px 5px; width:240px; border:1px solid #BBB; background:#FFF;} .head-direct label {display:inline-block; margin-right:5px; width:230px; text-align:justify;line-height:25px;background:#f9f9f9;border:1px solid #f0f0f0; margin-bottom:5px;text-align:center;cursor:pointer;} .head-direct input[type=text], .head-direct input[type=password] {margin-bottom:3px; padding:0 3px; width:145px; height:24px; line-height:24px; border:1px solid #E1E1E1;} .head-direct-btn {margin:0 auto; width:230px} .head-direct a {margin:6px; display:inline-block; width:150px; height:32px; line-height:32px; text-align:center; color:#FFF; font-weight:600; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; } </style> <div class="head-direct-container"> <h1> <span>바로가기 추가</span> <a class="login-close-btn">닫기</a> </h1> <!-- 검색 --> <div class="head-direct"> <form id='pop_login_form'> <input type='hidden' name='rtn_url' value='<?php echo $_SERVER['PHP_SELF']?>'> <fieldset> <legend class="screen_out">로그인</legend> <label for="id1" onclick="direct_setup();">e천년경영 바로가기 설치하기</label><br /> <label for="id2" onclick="add_favorite();">e천년경영 즐겨찾기 추가하기</label> </fieldset> <div class="head-direct-btn"> ※ 바로가기 설치하기를 파일을 받아서 실행하시면 바탕화면에 e천년경영 바로가기 아이콘이 생성됩니다. </div> </form> </div><!--//head-login--> <!-- //검색 -->
</div><!--//head-login-->
<script type="text/javascript"> $(function(){ $(".head-direct-container").hide(); // 일단숨김
$(".head-direct-container .login-close-btn").click(function () { $(".head-direct-container").fadeOut(); });
});
function add_favorite(){ var url = "<?php echo "http://{$_SERVER['HTTP_HOST']}{$_SERVER['SCRIPT_NAME']}";?>"; var title = "e천년경영";
if(window.chrome){ // Google Chrome
alert("Ctrl+D키를 누르시면 즐겨찾기에 추가하실 수 있습니다.");
} else if (window.sidebar) { // firefox
window.sidebar.addPanel(title, url, "");
} else if(window.opera && window.print) { // opera
var elem = document.createElement('a'); elem.setAttribute('href',url); elem.setAttribute('title',title); elem.setAttribute('rel','sidebar'); elem.click();
} else { // Internet Explorer
window.external.AddFavorite(url, title);
} }
function direct_setup(){ document.location.href='http://mjsoft.co/emillennium/images/MJShortCut_E.exe'; } </script>
|