On Tue, Apr 7, 2009 at 10:02 AM, Carmen Sarlo <[email protected]> wrote:

> Hello All,
>
> Has anyone been able to implement inline gadgets instead of using iframes
> for gadgets?


I wouldn't recommend true 'inlining', but if you're using caja or strictly
sanitized gadgets you can make this work by creating iframes on the parent
page and then writing the content of the sanitized gadget into the frame.
This skips the HTTP round trip, allows for fast RPC calls, but still
maintains the styling isolation.

If styling isn't an issue, writing the gadget content directly to the host
document can work (again, assuming the gadget is either cajoled or
sanitized)


>
>
> Carmen
>

Reply via email to