how to use ligthbox inside a facebook app

Posted on 2012-09-16
Medium Priority
Last Modified: 2012-09-16
im trying to use lytebox (from lytebox.com) 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 (http://www.grupossc.com/facebook/videos/index.php), 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

ID: 38402841
at the top of the page I put this code

<script type="text/javascript" language="javascript" src="http://www.grupossc.com/contenidos/lytebox.js"></script>
<link rel="stylesheet" href="http://www.grupossc.com/contenidos/lytebox.css" 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 83

Accepted Solution

leakim971 earned 2000 total points
ID: 38403937
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?

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Owning a franchise can be the dream of a lifetime. It provides a chance for economic growth. You can be as successful as you want.  To make your franchise successful, you need to market it successfully. Here are six of the best marketing strategies …
The title says it all. Writing any type of PHP Application or API code that provides high throughput, while under a heavy load, seems to be an arcane art form (Black Magic). This article aims to provide some general guidelines for producing this typ…
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 …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses
Course of the Month17 days, 4 hours left to enroll

864 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