> 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(
Would using a div functioning as a "modal" window help?
Kinda like what Facebook does with its notifications.
___
New York PHP Users Group Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
http://www.nyphp.org/Show-Participation
Thanks for your reply, John.
Your code example didn't solve the problem it just opened duplicate
tabs each time the link was clicked in Google Chrome & Firefox.
Testing it with Safari on the Mac it didn't open a new tab, but a new
window just as the code example I provided did.
There were
I don't know why this isn't working, but using window.open is a
terrible practice.
What is wrong with:
http://face..."; target="friend">Become a friend on Facebook:
If you do it that way it loads in a new tab, which is much faster than
creating a new window, and doesn't irritate the user. Why w