how to use ligthbox inside a facebook app

Posted on 2012-09-16
Last Modified: 2012-09-16
im trying to use lytebox (from in a facebook app, but when Im inside the facebook page of my company it show the ligthbox effect inside the facebook area to apps
but if you enter to the same page outside facebook (, it works without problem.
What Im doing wrong??

What is missing??

it is possible to use lytebox in a facebook app???
Question by:altariamx2003

    Author Comment

    at the top of the page I put this code

    <script type="text/javascript" language="javascript" src=""></script>
    <link rel="stylesheet" href="" type="text/css" media="screen" />

    Open in new window

    and I call lytebox with this code:
    <a href="vacio.php?recordID='.$clave.'" class="lytebox" data-title="Biblioteca de videos" data-lyte-options="width:1024 height:560 scrollbars:no">TITULO</a></font>

    Open in new window

    LVL 81

    Accepted Solution

    Facebook embed application inside an iframe (a window inside a browser window), a lighbox is, most of time, a DIV with some HTML content, you CAN'T put this HTML content outside your iframe.

    What about a true popup window?

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit ( and similar technologies have enjoyed wide adoption, making it possib…
    Part of the Global Positioning System A geocode ( is the major subset of a GPS coordinate (, the other parts being the altitude and t…
    Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
    In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now