mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-29 08:09:58 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@875 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
1b54d7f781
commit
790412cd63
3 changed files with 9 additions and 3 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 43 B |
|
|
@ -7,7 +7,7 @@ function getNaverMap() {
|
|||
if(typeof(opener)=="undefined") return;
|
||||
|
||||
var node = opener.editorPrevNode;
|
||||
if(!node || node.nodeName != "DIV") return;
|
||||
if(!node || node.nodeName != "IMG") return;
|
||||
|
||||
var x = node.getAttribute("x");
|
||||
var y = node.getAttribute("y");
|
||||
|
|
@ -38,10 +38,8 @@ function insertNaverMap(obj) {
|
|||
var address = xGetElementById("address").value;
|
||||
|
||||
var width = xGetElementById("map_width").value;
|
||||
if(!width) width = 640;
|
||||
|
||||
var height = xGetElementById("map_height").value;
|
||||
if(!height) height= 480;
|
||||
|
||||
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+"\" />";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue