Jump to content

Recommended Posts

Doing a horizontal scrolling site project and trying to use Lightbox to show portfolio images. Here's the deal--I have everything working but there's one wrinkle. I have the gallery content loading in an iframe because that works best in the horizontal scrolling design. When you click on a thumbnail you can't go to another page like in a normal design because the site is one big page. So the page "album.php" loads in an iframe. However once it's loaded and you click on an image, the Lightbox loads in the iframe too which is not big enough to have the full screen effect I need. That's the wrinkle. Is there a way to modify the PHP code to have the lightbox content load in the full screen, something like target="parent" instead of in the iframe?

 

Here's the link so you can see what I mean:

 

http://staging.workshop-marketing.com/index-current.php#Approach

 

The page in question, not in the iframe showing the full screen effect I need:

 

http://staging.workshop-marketing.com/album.php

 

Here's the code I think needs to be modified, however I'm not a PHP coder:

 

<?php <br /> if(isset($_GET['s'])) {

$opts = array(

'template' =>'c_list_image.html'

);

perch_gallery_album($_GET['s'], $opts);

} ?>

 

Thanks for any suggestions and help--

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.