Julian,

Getting the contents from an IFrame served from the same domain works
fine.  The security only kicks in for x-domain content.

Mike

On 10/15/07, juliandormon <[EMAIL PROTECTED]> wrote:
>
>
> Thanks Mike,
> That makes sense.
> And what if it was the same domain? This is also the case with our new site.
> I should have been more specific. I apologize.
>
>
>
> malsup wrote:
> >
> >
> > Julian,
> >
> > You cannot access the contents of an IFrame which is sourced from a
> > different domain.  This is part of the browser's cross-domain security
> > model.
> >
> > Mike
> >
> >
> > On 10/15/07, juliandormon <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >> Hoping anyone can help.
> >> I use a custom scroll bar jquery plug-in which requires the content to be
> >> within a DIV.
> >>
> >> Some of the content I want to load is from other web sites.
> >>
> >> I am pretty sure it is possible to load the content into a hidden iframe
> >> and
> >> then, once it has finished loading, suck the data in the iframe into my
> >> div
> >> and then apply my scrollbar plugin to the newly fitted div.
> >>
> >>
> >> What's the proper method and plug-ins used to achieve this please?
> >>
> >> What are some of the pitfalls in doing this, if any?
> >> --
> >> View this message in context:
> >> http://www.nabble.com/How-to-suck-web-content-from-an-iframe-to-a-div-tf4630767s27240.html#a13223056
> >> Sent from the jQuery General Discussion mailing list archive at
> >> Nabble.com.
> >>
> >>
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/How-to-suck-web-content-from-an-iframe-to-a-div-tf4630767s27240.html#a13223518
> Sent from the jQuery General Discussion mailing list archive at Nabble.com.
>
>

Reply via email to