[thelist] Applying stylesheets to IFRAMEs

Stephen Rider evolt_org at striderweb.com
Mon Apr 30 16:26:16 CDT 2007


On Apr 28, 2007, at 7:39 PM, Rick den Haan wrote:

> Brent Eades wrote:
>> [I]s there an alternative to <iframe> that I'm not
>> thinking of?
>
> A non-XHR method would be what Peter suggested.  Hide the <iframe>,  
> but
> leave it in the document.  Post the forms to it, grab the result  
> and drop it
> into a <div>.

The best of both worlds would probably be to use XHR, and make it  
degrade gracefully to the iframe version if XHR doesn't fire for some  
reason (JavaScript turned off, old browser, etc...)

Stephen Rider
http://striderweb.com/



More information about the thelist mailing list