WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Lightbox + Foliage mod (need same javascript effect on footer images) (3 posts)

  1. alpha
    Member
    Posted 7 years ago #

    Here is the site in question.

    I am using a modified version of Foliage Mod by Derek Punsalan and this lightbox plugin.

    All I need is basically for a way to have the images in the bottom portion of the screen behave in the same way as the images that live in the posts. I am not very experienced with Javascript at all. I've tried to call the same scripts listed on the header into "bottom.php" but no dice.

    I've been back and forth with this for a while now and I can't think of what else to do. According to rhe plugin documentation, it scans the body of the page for images to assign the Javascript effects to them so it's obviously not scanning the bottom template for these even though it's still part of the body of the page. The links in the bottom are sctructured in the same way and have the same syntax as all other images on posts.

    Any thoughts or advice would be greatly appreciated.

  2. alpha
    Member
    Posted 7 years ago #

    By the way, I did read How to use Javascript in Template Files. I made the call for the scripts inside the div where the pictures are but it's not working for me.

  3. alpha
    Member
    Posted 7 years ago #

    Issue resolved. Turns out my syntax was not correctly written. Lesson: Check syntax twice, then check it again.

Topic Closed

This topic has been closed to new replies.

About this Topic