WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. toxiccosmos
    Member
    Posted 1 year 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.

    http://www.soulabstract.com/exhibitions

    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. :]

    http://wordpress.org/extend/plugins/photospace/

  2. toxiccosmos
    Member
    Posted 1 year ago #

    Here's how the page is set up:
    http://pastebin.com/zTqBJTN5

  3. verysadpanda
    Member
    Posted 1 year ago #

    if you get ride of

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

    that should fix the problem

  4. toxiccosmos
    Member
    Posted 1 year 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.

    Tox

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic