>  If my theory is
> wrong about facebook.com, can someone explain why they might be doing this
> and what advantage is there to Facebook.com being more difficult than the
> other websites? :-)

Facebook, like many other sites, uses frame breaking code.  Facebook's
first line of javascript is:

if(top != self) { ...  }

Facebook does not want their site embedded as an iframe or as a child
window to your site.  Letting other sites control the window is a
security issue for facebook, and they want to control the experience
on their own site.   Sorry, there is nothing you can do.

Regards,
John Campbell
_______________________________________________
New York PHP Users Group Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

http://www.nyphp.org/Show-Participation

Reply via email to