insert image





Insert Image





window.resizeTo(700, 100);

function Init() {
__dlg_init();
var param = window.dialogArguments;
if (param) {
document.getElementById("f_url").value = param["f_url"];
document.getElementById("f_alt").value = param["f_alt"];
document.getElementById("f_border").value = param["f_border"];
document.getElementById("f_align").value = param["f_align"];
document.getElementById("f_vert").value = param["f_vert"];
document.getElementById("f_horiz").value = param["f_horiz"];
window.ipreview.location.replace(param.f_url);
}
document.getElementById("f_url").focus();
};

function onOK() {
var required = {
"f_url": "You must enter the URL"
};
for (var i in required) {
var el = document.getElementById(i);
if (!el.value) {
alert(required[i]);
el.focus();
return false;
}
}
// pass data back to the calling window
var fields = ["f_url", "f_alt", "f_align", "f_border",
"f_horiz", "f_vert"];
var param = new Object();
for (var i in fields) {
var id = fields[i];
var el = document.getElementById(id);
param[id] = el.value;
}
__dlg_close(param);
return false;
};

function onCancel() {
__dlg_close(null);
return false;
};

function onPreview() {
var f_url = document.getElementById("f_url");
var url = f_url.value;
if (!url) {
alert("You have to enter an URL first");
f_url.focus();
return false;
}
window.ipreview.location.replace(url);
return false;
};



html, body {
background: #EEEEEE;
color: #000000;
font: 11px Tahoma,Verdana,sans-serif;
margin: 0px;
padding: 0px;
}
body { padding: 0px; }
table {
font: 11px Tahoma,Verdana,sans-serif;
}
form p {
margin-top: 5px;
margin-bottom: 5px;
}
.fl { width: 9em; float: left; padding: 2px 5px; text-align: right; }
.fr { width: 6em; float: left; padding: 2px 5px; text-align: right; }
fieldset { padding: 0px 10px 5px 5px; }
select, input, button { font: 11px Tahoma,Verdana,sans-serif; }
button { width: 70px; }
.space { padding: 2px; }

.title { background: #336699; color: #FFFFFF; font-weight: bold; font-size: 120%; padding: 3px 10px; margin-bottom: 10px;
letter-spacing: 2px;
}
form { padding: 0px; margin: 0px; }





   Browse Media /media {NAME} .browser { padding: 5px; padding-top: 0; } .browser ul, .browser li { margin: 0; padding: 0; display: block; list-style-type: none; } .browser li { padding: 5px 0px 5px 0px; }      
Insert Image






Image URL:

Preview



Alternate text:









Layout



Alignment:

Not set
Left
Right
Texttop
Absmiddle
Baseline
Absbottom
Bottom
Middle
Top




Border thickness:







Spacing



Horizontal:




Vertical:









Image Preview:



OK
Cancel



  




Wyszukiwarka

Podobne podstrony:
insert image
insert image
insert image button
insert image button
insert image button
insert image
insert image button
insert image button
insert image button
insert image button
insert image button
insert image button
insert image button
insert image button
insert image button

więcej podobnych podstron