simple open new window

function fenster(url) {
  newin = window.open(url,"name","depend=yes,width=400,height=500,  \
  menubar=yes,scrollbars,status=yes,resizable");
  newin.focus();
}

tata – save data in file


saveData(data);
function saveData(data) {
    return window.open("data:x-application/gaga; charset=utf-8," + escape(data));
}

Sag etwas dazu: