mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-02-01 17:49:58 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@536 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f8b0d472bd
commit
cc0b017bcc
4 changed files with 17 additions and 4 deletions
|
|
@ -8,13 +8,14 @@ function insertImage(obj) {
|
|||
else if(xGetElementById("align_left").checked==true) align = "left";
|
||||
else if(xGetElementById("align_middle").checked==true) align = "middle";
|
||||
else if(xGetElementById("align_right").checked==true) align = "right";
|
||||
var border = parseInt(xGetElementById("image_border").value,10);
|
||||
|
||||
if(!url) {
|
||||
window.close();
|
||||
return;
|
||||
}
|
||||
|
||||
var text = "<img src=\""+url+"\" border=\"0\"";
|
||||
var text = "<img src=\""+url+"\" border=\""+border+"\" plugin=\"image_link\" ";
|
||||
if(alt) text+= " alt=\""+alt+"\"";
|
||||
if(align) text+= " align=\""+align+"\" ";
|
||||
text+= " />";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue