[Maf] iframe + maf

Christopher Ottley xknight at users.sourceforge.net
Wed Oct 18 15:29:10 PDT 2006


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
>
>
>   




More information about the Maf mailing list