Photospace Gallery
Using with Facebox & Hidden Divs (4 posts)

  1. toxiccosmos
    Posted 4 years ago #

    I'm having an issue using this, Photospace, with Facebox/hidden divs.

    My page is divided into two vertical sections. On the left are a list of galleries and on the right is a blank space. When the name of a gallery is clicked on, it opens a hidden div, using Facebox, to display the Photospace gallery of that post.

    The gallery displays fine this way, but I am unable to view the other thumbnails in a gallery. I'm guessing it might not like being hidden in a div for some reason as when I set all the hidden divs to show, they work just fine.

    Maybe it has something to do with the url? When I click on a title, #gallery is appended to the url. When I click on another thumb, it tries to add #2 or #3 or so to the original url. Not sure if that would be a problem.


    Here's how the page is set up:
    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    What do you guys think? Is there a fix for this?

    Thanks. :]


  2. toxiccosmos
    Posted 4 years ago #

    Here's how the page is set up:

  3. verysadpanda
    Posted 4 years ago #

    if you get ride of

    <div id="right">
            <div id="gallery<?php the_ID(); ?>" style="display:none;">
                    <?php echo do_shortcode('[photospace]'); ?>

    that should fix the problem

  4. toxiccosmos
    Posted 4 years ago #

    Hey verysadpanda,

    Thanks for the reply.
    Problem is, I need that section in order for my page to work correctly, the way I want it. The gallery must be hidden until the viewer clicks on the title of the gallery. Otherwise, I'll have 3+ galleries showing up at the same time, which is not what I'm looking for. I want the illusion of the gallery being created when the viewer wants to see it.

    Maybe there's another way of doing what I want that won't involve photospace? :/ I'm open to all suggestions.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Photospace Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic