This function can be used for oppenign of popup window with content in it
function openwin(txt){
var previewWnd = window.open('','embed_preview','width=500,height=400,scrollbars=1,status=0,location=0,directories=0,');
previewWnd.document.body.innerHTML = txt.replace(/\n/g,"
");
previewWnd.focus();
}
Вашият коментар