Display fb and twitter shared page in lightbox

I need help, is it possible to display the fb or twitter share page in a lightbox instead of a new popup?

I would like to open a url something like this to a lightbox:

twitter: https://twitter.com/share?text=Check%20out%20Trinity%20Web%20Tech%20-%20http%3A%2F%2Fbit.ly%2FzwYo0C%20via% 20 @ bwg % 20http% 3A% 2F % 2Fbit.ly% 2Fz6Rc0b

facebook: http://www.facebook.com/sharer.php?u=http%3A%2F%2Fstaging.creativisite.com%2Fbwg%2F2012%2F03%2F05%2Ftrinity-web-tech%2F&t=Trinity%20Web% 20Tech

Currently, when it is opened to a lightbox, its white border is displayed. I think this is because twitter or fb does not allow opening in an iframe.

Any workaround would be nice? Thanks everyone

+3


source to share


1 answer


You can use this lightbox with this code:

<a title="This is an Inception ! zoombox inside a zoombox inside a zoombox" href="http://grafikart.fr/zoombox" class="zoombox">Iframe</a>

      



The last code will give the following:

<a title="Twitter" href="https://twitter.com/share?text=Check%20out%20Trinity%20Web%20Tech%20-%20http%3A%2F%2Fbit.ly%2FzwYo0C%20via%20@bwg%20http%3A%2F%2Fbit.ly%2Fz6Rc0b" class="zoombox">Twitter</a>
<a title="Facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fstaging.creativisite.com%2Fbwg%2F2012%2F03%2F05%2Ftrinity-web-tech%2F&t=Trinity%20Web%20Tech" class="zoombox">Facebook</a>

      

0


source







All Articles