function insert_Image() { var img=oControl; img.src = document.getElementById("TargetUrl").value; if (document.getElementById("Width").value) img.width = document.getElementById("Width").value; if (document.getElementById("Height").value) img.height = document.getElementById("Height").value; if (document.getElementById("VSpace").value) img.vspace = document.getElementById("VSpace").value; if (document.getElementById("HSpace").value) img.hspace = document.getElementById("HSpace").value; if (document.getElementById("Border").value) img.border = document.getElementById("Border").value; try { img.style.borderColor = document.getElementById("bordercolor").value; } catch(er) { alert("Please enter a correct color value."); return false; } if (document.getElementById("Align").value) img.align = document.getElementById("Align").value; if (document.getElementById("AlternateText").value) img.alt = document.getElementById("AlternateText").value; if (document.getElementById("TargetUrl").value == "") { alert("Please choose an image to insert"); return false; } img.style.position='absolute'; window.returnValue=img; window.close(); }
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx Web Messenger: http://cutesoft.net/Web-Messenger/default.aspxasp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspxasp wysiwyg html editor: http://cutesoft.net/ASP asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx Live Support: http://cutesoft.net/live-support/default.aspx