git-svn-id: http://xe-core.googlecode.com/svn/trunk@1044 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-09 05:42:07 +00:00
parent 7142f18d07
commit e543d58f81
18 changed files with 38 additions and 44 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 528 B

View file

@ -21,10 +21,10 @@
<div class="map_scale_box">
<div class="map_scale_header">{$lang->map_width}</div>
<div class="map_scale_body"><input type="text" class="input_map_size" id="map_width" value="640" />px</div>
<div class="map_scale_body"><input type="text" class="input_map_size" id="map_width" value="400" />px</div>
<div class="map_scale_header">{$lang->map_height}</div>
<div class="map_scale_body"><input type="text" class="input_map_size" id="map_height" value="480" />px</div>
<div class="map_scale_body"><input type="text" class="input_map_size" id="map_height" value="300" />px</div>
</div>
<div class="editor_button_area">

View file

@ -25,8 +25,8 @@ function getNaverMap() {
search_address(address);
}
xGetElementById("map_width").value = width-6;
xGetElementById("map_height").value = height-6;
xGetElementById("map_width").value = width-4;
xGetElementById("map_height").value = height-4;
}
function insertNaverMap(obj) {
@ -38,10 +38,9 @@ function insertNaverMap(obj) {
var address = xGetElementById("address").value;
var width = xGetElementById("map_width").value;
var height = xGetElementById("map_height").value;
var text = "<img src=\"./common/tpl/images/blank.gif\" 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+"\" />";
var text = "<img src=\"./common/tpl/images/blank.gif\" editor_component=\"naver_map\" address=\""+address+"\" x=\""+x+"\" y=\""+y+"\" width=\""+width+"\" height=\""+height+"\" style=\"width:"+width+"px;height:"+height+"px;border:2px dotted #3CBC2f;background:url(./modules/editor/components/naver_map/tpl/navermap_component.gif) no-repeat center;\" marker=\""+marker+"\" />";
opener.editorFocus(opener.editorPrevSrl);