sheldonlg wrote:
> Jonathan N. Little wrote:
>> Beauregard T. Shagnasty wrote:
>>
>>> Please explain why you want to embed someone else's site, and I'll tell
>>> you how mine won't be in your frame.
>>>
>>
>> Frame jacking maybe?
>>
>> <http://skitzzo.com/archives/who-owns-the-content-framejacking-in-web-20.php>
>>
> The embedding is of a site from a sister government organization in
> Florida.
>
> You provided your example that did what I wanted. If, instead, you
> embedded www.employflorida.com, does it still stay within the bounds
> when you click one of the buttons below the picture?
Works just fine *if* you have JavaScript disabled. No mystery there, as
many of us suspected a little bit of JavaScript on
www.employflorida.com's pages:
if(top != self) {top.location.href = location.href;}
Now you have a few options:
To use the IFRAME since this an "authorized" sharing of content have
www.employflorida.com remove their frame-breaker script, or modify it to
allow your URL in top window.
Or abandon the IFRAME and use server-side scripting like PHP and CURL
and slurp and convert... Have fun! They have all kinds of JavaScript
controlling sessions so this may not be a very easy or elegant route.
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com