Below is my code for imagelinking which is similar to this boards IMG formatting button. This code gives the poster one line to add an URL. In the pop-up box I wish to have multiple input lines in one pop-up box to add multiple URLS. Can this be done by modifying this code? Thanks in advance.


function imagelinkmembers (text) {
if (document.userpass) {
// if (document.userpass.format_imagelinkmembers.value == 1) {
// document.members.src = img_members.src;
// insertText(document.userpass.message, '}');
// document.userpass.format_imagelinkmembers.value = "";
// } else {
var myuser = document.userpass.username.value = readcookie("user")
myuser=myuser.toLowerCase();
var l = prompt("Place the filename of your photo here.", "http://www.mysite.com/members/"+myuser+"/" );
if (l != null) {
// document.button_members.src = img_members.src;
insertText(document.userpass.message, '\\imagelinkmembers{'+l+'}');
// document.userpass.format_imagelinkmembers.value = "1";
// }
}
document.userpass.message.focus();
}
return false;
}