问题
I got a page tab - ok - so far so good. http://www.facebook.com/pages/Team-Vermont/210976122316498?sk=app_201737266589689 I want the user to click on video 1 and have a youtube vid play in a lightbox. Right now all I can figure out is the ugly onclick popper.
So - images and video in a popup on an iframe page tab. What is the secret?
I seriously have been searching for answers for about 6 hours and tried and failed about 12 times.
Thanks!
回答1:
You are using the <map>
tag, I'm not sure how this would help you to achieve a lightbox effect?
Just a small note, you cannot have your lightbox outside the page tab iframe overlaying the Facebook content (left sidebar and right ads and other components). So in short, you cannot have a similar effect to the Facebook photo album!
Just make sure that the lightbox content + padding + borders + shaddow is <= 520 px, otherwise you'll get the ugly horizontal scrollbar!
来源:https://stackoverflow.com/questions/8953997/image-and-video-lightbox-in-page-tab-iframe