Check out:
http://officialtwits.com/fancy.php
Using 1.3.1, I'm using iframe type for links with class="quick_view"
My first 3 links are hard-coded in my php file and work find but my
last link to Twitter.com is coded as
<li><a class="quick_view" href="<?php echo 'http://twitter.com'; ?
>">Twitter</a></li>
And this doesn't work.
Need help!!
Quy
It's a question of who has the right to tell the user how he/she must
view a page. You are saying the user MUST view the Twitter page in an
iframe. Twitter is saying the user MUST view it outside of any frame.
Neither of you are giving the user a choice, but so far Twitter is winning.
--
Jan Wilson
How can I detect if a page is using an iframe buster or not? I don't
want to use iframe fancybox if the page is going to bust it?
Quy
Since you know Twitter does that, you could:
1. Not include Twitter in your links.
2. Include a link to Twitter, but not try to put it in an iframe. You
could use target="_blank" to try to force it to open in a new window.
Again, this is saying YOU have the right to decide how the user wants to
open windows, rather than letting the user decide it. That also
probably breaks the BACK button history.
3. Just leave it as it is and let Twitter continue to break the iframe
(which really isn't all that bothersome).
4. As you can probably tell, I hate websites that try to put other
websites in frames, including iframes, as a rule. Or even force them to
open in new windows. I do it when a customer insists, but I still don't
like it. There are very legitimate uses for iframes, like Google Maps,
and local popup information, or other pages that are designed to take up
a small amount of space, but I don't like putting something like a
Google search in an iframe. Why do we get the right to restrict the
user to less than a full page of results?
I am allowing my users to open up sites in a new window using
target=_blank
I just wanted to put another option called "Quick View" for users who
want to see the page in an iframe without leaving my site since my
site is focused on reading a lot of news articles.
Quy