Posts Tagged ‘LightBox’

Open a JavaScript LightBox From Whithin a Flash Movie

Sunday, February 21st, 2010

While working on a recent project we were faced with the issue of having to invoke a PHP event calendar in a completely Flash base site. Popping up a window was not an option because of the pop-up blocker issue. Many of the lightbox scripts out there have a difficult time showing active content like PHP, SWF, video, etc. Additionally, many of them do not expose a function that allows you to open the light box without responding to an object event. After doing a little research we cam across a jQuery plug-in called ColorBox. ColorBox can open any content using an iFrame. It can also open Flash and PHP content in a window without having to use an iFrame. Another great advantage of the ColorBox interface is that it implement call-back events so you can create complex exentions to the standard LightBox functionality. Let’s tak a look at how we used the ColorBox script to solve our Flash call problem.

Read the rest of this entry »