Changeset 8652
- Timestamp:
- 07/05/10 08:34:48 (2 months ago)
- Location:
- branches/1.8
- Files:
-
- 2 modified
-
interface/owner/entry/edit/index.php (modified) (4 diffs)
-
resources/script/common2.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.8/interface/owner/entry/edit/index.php
r8534 r8652 750 750 751 751 <hr class="hidden" /> 752 752 753 <div id="setting-section"> 754 <script type="text/javascript"> 755 //<![CDATA[ 756 var settingMenus = new Array("upload-container","tag-location-container","power-container"); 757 //]]> 758 </script> 753 759 <div id="upload-section" class="section"> 754 <h3><a href="#void" onclick=" toggleLayer('upload-detail');return false;"><?php echo _t('업로드');?></a></h3>755 <div id="upload- detail">760 <h3><a href="#void" onclick="focusLayer('upload-container',settingMenus);return false;"><?php echo _t('업로드');?></a></h3> 761 <div id="upload-container"> 756 762 <div id="attachment-container" class="container"> 757 763 <?php … … 788 794 789 795 <div id="taglocal-section" class="section"> 790 <h3>< ?php echo _t('태그 & 위치');?></h3>796 <h3><a href="#void" onclick="focusLayer('tag-location-container',settingMenus);return false;"><?php echo _t('태그 & 위치');?></a></h3> 791 797 792 798 <div id="tag-location-container" class="container"> … … 835 841 836 842 <div id="power-section" class="section"> 843 <h3><a href="#void" onclick="focusLayer('power-container',settingMenus);return false;"><?php echo _t('기타 설정');?></a></h3> 844 837 845 <div id="power-container" class="container"> 838 846 <dl id="permalink-line" class="line"<?php if($isKeyword) echo ' style="display: none"';?>> … … 886 894 </div> 887 895 </div> 888 896 </div><!-- setting-section --> 889 897 <hr class="hidden clear" /> 890 898 -
branches/1.8/resources/script/common2.js
r8634 r8652 230 230 return true; 231 231 } 232 233 function focusLayer(id, others) { 234 try { 235 var obj = document.getElementById(id); 236 obj.style.display = "block"; 237 for (x in others) { 238 if(others[x] != id) { 239 var obj = document.getElementById(others[x]); 240 obj.style.display = "none"; 241 } 242 } 243 } catch (e) { 244 } 245 return true; 246 } 247 232 248 function showLayer(id) { 233 249 document.getElementById(id).style.display = "block";
