From nemo at heimdall.net Sat Oct 14 05:58:50 2006 From: nemo at heimdall.net (Francois Aichelbaum) Date: Sat, 14 Oct 2006 14:58:50 +0200 Subject: [Maf] iframe + maf Message-ID: <4530DF0A.3090302@heimdall.net> Hi, i'm working on some project where I need to open .mht files in an iframe. It works out of the box with IE6 but in FF1.5, it opens a new Tab, which is not what we want. Is there a way to have MAF open the .mht files in the iframe as intended or do I have to think the whole thing again ? Regards, Francois. From nemo at heimdall.net Tue Oct 17 11:34:24 2006 From: nemo at heimdall.net (Francois Aichelbaum) Date: Tue, 17 Oct 2006 20:34:24 +0200 Subject: [Maf] iframe + maf In-Reply-To: <4530DF0A.3090302@heimdall.net> References: <4530DF0A.3090302@heimdall.net> Message-ID: <45352230.20400@heimdall.net> Francois Aichelbaum a ?crit : > Hi, > > i'm working on some project where I need to open .mht files in an > iframe. It works out of the box with IE6 but in FF1.5, it opens a new > Tab, which is not what we want. Is there a way to have MAF open the .mht > files in the iframe as intended or do I have to think the whole thing > again ? > > Regards, > Francois. > _______________________________________________ > Maf mailing list > Maf at mozdev.org > http://mozdev.org/mailman/listinfo/maf > Does any one have any information about this or know where I can look inside the code to remove the "new tab" function ? From xknight at users.sourceforge.net Wed Oct 18 15:29:10 2006 From: xknight at users.sourceforge.net (Christopher Ottley) Date: Wed, 18 Oct 2006 18:29:10 -0400 Subject: [Maf] iframe + maf In-Reply-To: <45352230.20400@heimdall.net> References: <4530DF0A.3090302@heimdall.net> <45352230.20400@heimdall.net> Message-ID: <4536AAB6.1050904@users.sourceforge.net> Hi Francois, Sorry it took me so long to get back to you on this. Basically you can't just remove the new tab functionality and have it work in the iframe. The problem is the channel the request and response are going through. I didn't design MAF to load archives over a network initially and digging through the document loader process for Mozilla is complicated. Opening the result in a new tab was the most reliable way of showing the result without having to worry about if a frame, iframe or window made the request. Basically, the easiest way to get the functionality that you want right now is to use the maf:// protocol in the source of the iframe. Using that protocol MAF has full control over the channel. Regards, Christopher. Francois Aichelbaum wrote: > Francois Aichelbaum a ?crit : > >> Hi, >> >> i'm working on some project where I need to open .mht files in an >> iframe. It works out of the box with IE6 but in FF1.5, it opens a new >> Tab, which is not what we want. Is there a way to have MAF open the .mht >> files in the iframe as intended or do I have to think the whole thing >> again ? >> >> Regards, >> Francois. >> _______________________________________________ >> Maf mailing list >> Maf at mozdev.org >> http://mozdev.org/mailman/listinfo/maf >> >> > Does any one have any information about this or know where I can look > inside the code to remove the "new tab" function ? > _______________________________________________ > Maf mailing list > Maf at mozdev.org > http://mozdev.org/mailman/listinfo/maf > > >