Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Embed WEB app within iframe/object
Thu, Aug 16 2012 12:54 PMPermanent Link

KZ

I thought I saw a post regarding EWB apps being appropriate for embedding with an <object> tag for existing web sites. What about iframes?  Which one is preferable?

As an EWB app appears to be "self contained" with its own .js and .css, my idea is to have a web site shell that handles authentication and then allows access to various EWB apps via loading them (with injected authorization headers) into iframes.

Any obvious gotchas with this approach?

Would this approach be superior to injecting an EWB app into a div via AJAX?
Mon, Aug 20 2012 5:15 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com


<< I thought I saw a post regarding EWB apps being appropriate for embedding
with an <object> tag for existing web sites. What about iframes?  Which one
is preferable? >>

I would use an iframe instead.

<< As an EWB app appears to be "self contained" with its own .js and .css,
my idea is to have a web site shell that handles authentication and then
allows access to various EWB apps via loading them (with injected
authorization headers) into iframes.

Any obvious gotchas with this approach? >>

None that I can think of off the top of my head.  As long as each EWB
application gets its own iframe, then they should behave, especially if
you're only talking about one EWB app per "page".

<< Would this approach be superior to injecting an EWB app into a div via
AJAX? >>

Yes, most definitely.  I would not put an EWB application into just a div.
It may work, but you might find that there are issues with that approach.

If you have any other questions, please let me know.

Tim Young
Elevate Software
www.elevatesoft.com
Image