묻고답하기
Language Select 위젯이 작동하질 않습니다.
2012.04.08 17:06
해당 URL: http://www.dropnote.co.kr/zbxe/?mid=layout_test
질문 내용:
1. Language Select Widget이 작동하지 않습니다. 스타일시트의 position 과 관련해서 소스가 좀 꼬인 것 같은데 원인을 모르겠습니다 도와주세요 ㅠㅠ;
~layout.html 소스~
<!--%import("css/style.css")-->
<!--%import("images/jquery.droppy.js")-->
<!--%import("images/search.js")-->
<!--상단메뉴-->
<div class="center_wrapper">
<div id="top_menu">
<!--@if($is_logged)-->
<table><tr><td>
<a href="{getUrl('act','dispMemberLogout')}">로그아웃</a> |</td><td> <a href="">사이트소개</a> |</td><td> <a href="">Foreigner</a> |</td><td> <div><img class="zbxe_widget_output" widget="language_select" skin="default" colorset="white" /></div></td>
</tr></table>
<!--@else-->
<table><tr><td>
<a href="{getUrl('act','dispMemberLoginForm')}">로그인</a> |</td><td> <a href="{getUrl('act','dispSocialxeLoginForm')}">Social Login</a> |</td><td> <a href="{getUrl('act','dispMemberSignUpForm')}">회원가입</a> |</td><td> <a href="">사이트소개</a> |</td><td> <a href="">Foreigner</a> |</td><td><img class="zbxe_widget_output" widget="language_select" skin="default" colorset="white" /></td>
</tr></table>
<!--@end-->
</div>
</div>
<!-- 로고 -->
<div class="center_wrapper">
<div id="logo">
<a href="../zbxe/main">
<img src="images/logo.png" alt="logo" />
</a>
</div>
</div>
<!-- Droppy Navigation -->
<div id="globalNavi">
<ul id="nav">
<li loop="$main_menu->list=>$key1,$val1" class="active"|cond="$val1['selected']">
<a href="{$val1['href']}" target="_blank"|cond="$val1['open_window']=='Y'">{$val1['link']}</a>
<ul cond="$val1['list']">
<li loop="$val1['list']=>$key2,$val2" class="active"|cond="$val2['selected']">
<a href="{$val2['href']}" target="_blank"|cond="$val2['open_window']=='Y'">{$val2['link']}</a>
</li>
</ul>
</li>
</ul>
</div>
<!-- Login 부분 -->
<div class="center_wrapper">
<!--@if($is_logged)-->
<div id="after">
<img src="{$logged_info->profile_image->src}" id="profile" alt="profile" />
<a href="{getUrl('act','dispMemberLogout')}"><img src="images/after_logout.png" alt="logout" id="btn_logout" /></a>
</div>
<!--@else-->
<div id="login">
<img src="images/before_profile.png" alt="profile" /><br />
<a href="{getUrl('act','dispMemberLoginForm')}"><img src="images/before_login.png" alt="login" /></a>
</div>
<!--@end-->
</div>
<!-- Login 부분 끝 -->
<!-- Content -->
<div id="content">
{$content}
<center><img src="images/copyright.png" alt="copyright(c)dropnote all rights reserved." /></center>
</div>
<!--Login 메뉴-->
<div class="center_wrapper">
<div id="login_menu">
<!--@if($is_logged)-->
<a href="{getUrl('act','dispMemberInfo')}"><img src="images/after_info.png" alt="info" /></a>
<a href="{getUrl('act','dispCommunicationMessages')}"><img src="images/after_memo.png" alt="memo" /></a>
<a href="{getUrl('act','dispMemberOwnDocument')}"><img src="images/after_write.png" alt="texts I wrote" /></a>
<!--@end-->
<a href="javascript:toggleDisplay('div1');"><img src="images/search.png" alt="search" /></a>
</div>
<div id="div1">
<form action="{getUrl()}" method="get"><input type="hidden" name="vid" value="{$vid}" /><input type="hidden" name="mid" value="{$mid}" /><input type="hidden" name="act" value="IS" /><input id="searchinput" type="text" name="is_keyword" value="{$is_keyword}" /><span><input id="btnsubmit" type="image" src="images/search_button.png" value="{$lang->cmd_search}" /></span></form>
</div>
</div>
<!--Login 메뉴 끝-->
<!-- 공지사항-->
<div class="center_wrapper">
<div id="notice">
<table>
<tr>
<td id="nicon">
<img src="images/notice_icon.png" alt="notice_icon" />
</td>
<td id="ncontent">
<img class="zbxe_widget_output" widget="content" skin="default" colorset="black" content_type="document"
module_srls="288" list_type="normal" tab_type="none" markup_type="table" list_count="1" page_count="1" subject_cut_size="40"
option_view="title" show_browser_title="Y" show_comment_count="N" show_trackback_count="N" show_category="Y" show_icon="N" order_target="list_order" order_type="desc" thumbnail_type="crop" />
</td>
</tr>
</table>
</div>
</div>
댓글 1
-
윈컴이
2012.04.08 17:45
-
윈컴이
2012.04.08 17:45
PS. droppy하고는 상관 없어요. -
말라랑칼물렁컹이
2012.04.08 18:10
음 ㅠㅠ ; 그런데 여는 스크립트는 widget 자체에 있는 것 같아요.. 소스보기를 하면 <script type="text/javascript" src="/zbxe/widgets/language_select/skins/default/js/language_select.js?20120407180013"></script> 이렇게 나와있는데 ㅠㅠ;; -
말라랑칼물렁컹이
2012.04.08 18:10
그리고 스크립트 유무의 여부 때문이라면 ㅠㅠ; widget.css에서 position에 해당하는 부분을 지워버리면 작동하는게 좀 의문이네요 ㅠㅠ;;;;
확인 해본 결과 아예 여는 부분 자바스크립트가 없는 듯 해요.
어떤건지는 잘 모르겠네요 ^^;;
위젯 말고 직접 만들어 쓰셔도 되는데~ ;;