mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-30 00:29:58 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@780 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
95ecf91bc7
commit
a576bdc326
3 changed files with 18 additions and 29 deletions
|
|
@ -5,9 +5,7 @@
|
|||
<form action="./" method="get" onSubmit="search_address(); return false;" id="fo">
|
||||
<input type="hidden" id="map_x" name="x" value="" />
|
||||
<input type="hidden" id="map_y" name="x" value="" />
|
||||
<input type="hidden" id="marker_1" name="marker_1" value="" />
|
||||
<input type="hidden" id="marker_2" name="marker_2" value="" />
|
||||
<input type="hidden" id="marker_3" name="marker_3" value="" />
|
||||
<input type="hidden" id="marker" name="marker_1" value="" />
|
||||
<div class="editor_window">
|
||||
<div class="editor_title">{$component_info->title} ver. {$component_info->version} <a href="#" onclick="winopen('./?module=editor&act=viewComponentInfo&component_name={$component_info->component_name}','ComponentInfo','left=10,top=10,width=10,height=10,resizable=no,scrollbars=no,toolbars=no');return false;"><img src="../../../tpl/images/about_component.gif" title="{$lang->about_component}" alt="{$lang->about_component}" class="about_component_icon" border="0" /></a></div>
|
||||
|
||||
|
|
|
|||
|
|
@ -34,9 +34,7 @@ function insertNaverMap(obj) {
|
|||
|
||||
var x = xGetElementById("map_x").value;
|
||||
var y = xGetElementById("map_y").value;
|
||||
var marker_1 = xGetElementById("marker_1").value;
|
||||
var marker_2 = xGetElementById("marker_2").value;
|
||||
var marker_3 = xGetElementById("marker_3").value;
|
||||
var marker = xGetElementById("marker").value;
|
||||
var address = xGetElementById("address").value;
|
||||
|
||||
var width = xGetElementById("map_width").value;
|
||||
|
|
@ -45,7 +43,7 @@ function insertNaverMap(obj) {
|
|||
var height = xGetElementById("map_height").value;
|
||||
if(!height) height= 480;
|
||||
|
||||
var text = "<div editor_component=\"naver_map\" class=\"editor_component_output\" address=\""+address+"\" x=\""+x+"\" y=\""+y+"\" width=\""+width+"\" height=\""+height+"\" style=\"width:"+width+"px;height:"+height+"px;\" marker_1=\""+marker_1+"\" marker_2=\""+marker_2+"\" marker_3=\""+marker_3+"\"></div>";
|
||||
var text = "<div editor_component=\"naver_map\" class=\"editor_component_output\" address=\""+address+"\" x=\""+x+"\" y=\""+y+"\" width=\""+width+"\" height=\""+height+"\" style=\"width:"+width+"px;height:"+height+"px;\" marker=\""+marker+"\"></div>";
|
||||
|
||||
opener.editorFocus(opener.editorPrevSrl);
|
||||
|
||||
|
|
@ -106,8 +104,8 @@ function complete_search_address(ret_obj, response_tags, selected_address) {
|
|||
/* 마커 표시 */
|
||||
var marker_count = 1;
|
||||
function addMarker(pos) {
|
||||
if(marker_count>4) return;
|
||||
xGetElementById("marker_"+marker_count).value = pos;
|
||||
if(marker_count>10) return;
|
||||
xGetElementById("marker").value += '|@|'+pos;
|
||||
marker_count++;
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue