[Zope-dev] Save As ...
Juan Javier Carrera Obrero
jcarrera@uco.es
Fri, 05 May 2000 13:41:15 +0200
Hello,
I would like to use a link for saving the active document (.html file
generated with a dtml-document) for Netscape.
Anybody knows to how to do it (without press CTRL-S, or not go File /
Save As) with Zope or using JavaScript ?
I know it for Microsoft Internet Explorer:
var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0
CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
WebBrowser1.ExecWB(4, 0);
WebBrowser1.outerHTML = "";
However, it does not run in Nestscape.
Anybody can help me ?
Thanks.
JUAN JAVIER CARRERA OBRERO
e-mail: jcarrera@uco.es