View Full Version : Lightbox help with php file include...

08-31-2007, 05:20 PM
1) Script Title: Lightbox 2.03

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/lightbox2/index.htm

3) Describe problem:
It really isn't a problem but its more of a help...
I have a site which has videos...

I wanted to try doing this:
Using the lightbox to bring up the video player and then underneath that have the comments...
But when I put this into the file...

<a href="Videos/images/banner.png" rel="lightbox" title=".:: Welcome to Pureadd ::.<br>We update this video every time we have a weekly upload to show you what we're working on. We hope you enjoy the features coming up...<?php include('Comments/Videos/1/1.php'); ?>">.:: Welcome to Pureadd ::.</a>
iT doesn't show it in the lightbox, it shows it on the page...

here is the contents of included file

<div class="comments">
<?php include("comments.php"); ?>
and heres the contents of comments.php

<td>Says:</td><td>I look forward to seeing these new updates...</td><td>Time</td>

Thanks for helping

08-31-2007, 05:49 PM
Ok, I think I'm gonna use iFrames because the latest version of firefox DOES support them...