Jump to content

Lightbox with PHP?


mcfmullen

Recommended Posts

I am in desperate need of a lightbox script that will open dynamic php pages.

 

What I have is a php file that holds a MySql table. Each row has animal names. Clicking an animal name opens animalspec.php and display the specs on that animal. All of this functions.

 

What I want is to have each animal name open the animalspec.php file in a lightbox window. I've tried many clones of lightbox including the one found here:

http://www.richandstephsipe.com/wordpress/2006/12/20/lightbox-with-iframes-reloaded/

 

With that script, I use a code that looks like this inside my php file:

echo "<a href='http://www.domain.com/animalspec.php?animal={$row['nameUser']}' rel='lightbox|800|800'>{$row['nameAnimal']}</a>";

 

All I get is a white page inside a lightbox window. I do not get what the url should display.

 

Does anyone know of a good, working script for this type of url?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.