Results 1 to 2 of 2

Thread: Lightbox help with php file include...

  1. #1
    Join Date
    Jan 2007
    Location
    The stage
    Posts
    568
    Thanks
    23
    Thanked 6 Times in 6 Posts

    Default Lightbox help with php file include...

    1) Script Title: Lightbox 2.03

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...box2/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...
    PHP Code:
    <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
    HTML Code:
    <html>
    <head>
    </head>
    <body>
    <div class="comments">
    <table>
    <?php include("comments.php"); ?>
    </table>
    </div>
    </body>
    </html>
    and heres the contents of comments.php
    PHP Code:
    <tr>
    <
    td>Says:</td><td>I look forward to seeing these new updates...</td><td>Time</td>
    </
    tr
    Thanks for helping

  2. #2
    Join Date
    Jan 2007
    Location
    The stage
    Posts
    568
    Thanks
    23
    Thanked 6 Times in 6 Posts

    Default

    Ok, I think I'm gonna use iFrames because the latest version of firefox DOES support them...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •