mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-29 16:19:58 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1044 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7142f18d07
commit
e543d58f81
18 changed files with 38 additions and 44 deletions
BIN
modules/editor/components/naver_map/tpl/navermap_component.gif
Normal file
BIN
modules/editor/components/naver_map/tpl/navermap_component.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 528 B |
|
|
@ -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">
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue