new_to_this
05-29-2011, 05:49 PM
Hi
I am designing a php code to open a Light Box if the statement calls true.
The else is here:
else {
header('Location: http://www.this_domain.co/light_box/image-1.jpg');
But i want to have this attribute included: rel="lightbox" or it won't open the iframe that the Light Box is meant to be in.
With out that bit of code the image just opens in a browser window, and without the iframe.
Does anyone know how to fix this?
thanks
steve
I am designing a php code to open a Light Box if the statement calls true.
The else is here:
else {
header('Location: http://www.this_domain.co/light_box/image-1.jpg');
But i want to have this attribute included: rel="lightbox" or it won't open the iframe that the Light Box is meant to be in.
With out that bit of code the image just opens in a browser window, and without the iframe.
Does anyone know how to fix this?
thanks
steve