what I would like to not do is open an other window, but I'm gonna try to continue with the mime, I think I'm almost at the end! a few tests more and that's all!
maybe webinterface could have this utility in this time... Blackhold +++++++++++++++++++++++++ Material SCG08 http://associacio-aoe.org/scg/charlas +++++++++++++++++++++++++ Respect free software communities and use free and/or standard formats while sending attached files. Files such .doc, .xls, are formats that don't follow the standard rules and may cause problems on viewing or in the format of the text when these are opened with programs where thousands users communities develops free software. So that I ask for the files that are sent to me, to be odf, ods, odp, svg, png or in default pdf. Thanks you a lot... On Fri, Jul 18, 2008 at 2:29 PM, Debajyoti Bera <[EMAIL PROTECTED]> wrote: >> <a href="return of function openhit()" onClick="openhit(...)"> >> >> then, in function openhit >> >> function openhit(url){ >> direccio = modification of value url; >> >> return(direccio); >> >> } >> >> then in href, nor #, go the edited link, then we don't need to use >> mimetype and nothing more... > > From what I understand about HTTP servers, even then you would have the same > problem. document.open(...), window.open(...) or clicking on an href uses the > same HTTP calls and browser functions to open a new "document". AFAIK, its > the HTTP servers responsibility to inform the browser about the mimetype. You > can test this, in openhit(), instead of opening a new window with the > document, open a blank window and set its href to direccio. That will achieve > the same effect as clicking on a link. > > See e.g. http://www.irt.org/articles/js128/index.htm#4.1 > > -- > ----------------------------------------------------- > Debajyoti Bera @ http://dtecht.blogspot.com > beagle / KDE / Mandriva / Inspiron-1100 > _______________________________________________ Dashboard-hackers mailing list [email protected] http://mail.gnome.org/mailman/listinfo/dashboard-hackers
