You found it first ⚡ 50% off any plan for 6 months, exclusive to new subscribers for a limited time only.

Join the Treehouse affiliate program and earn 25% recurring commission!

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
      • • Vibe Coding
  • Martin Coutts
    Martin Coutts
    18,154 Points

    Issue with positioning of Overlay

    Posted July 6, 2017 12:19pm by Martin Coutts
    Martin Coutts
    18,154 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Simple Lightbox
    • Perfect

    1 Answer

  • Robert Leonardi
    Robert Leonardi
    17,151 Points

    Perfecting Simple lightbox. Can anybody check my code whether it is best practice or not?

    Posted February 5, 2017 3:54am by Robert Leonardi
    Robert Leonardi
    17,151 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Simple Lightbox
    • Perfect

    3 Answers

  • matthew steiner
    matthew steiner
    6,264 Points

    Image/Overlay order

    Posted December 13, 2015 4:24am by matthew steiner
    matthew steiner
    6,264 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Simple Lightbox
    • Perfect

    1 Answer

  • Rifqi Fahmi
    Rifqi Fahmi
    23,164 Points

    improve overlay

    Posted November 15, 2015 4:30pm by Rifqi Fahmi
    Rifqi Fahmi
    23,164 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Simple Lightbox
    • Perfect

    3 Answers

  • Eleanor Campbell
    Eleanor Campbell
    8,630 Points

    Task 1 keeps failing on task 2 in Challenge.

    Posted November 7, 2015 10:03pm by Eleanor Campbell
    Eleanor Campbell
    8,630 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Simple Lightbox
    • Perfect

    4 Answers

  • Juan Martin
    Juan Martin
    14,335 Points

    Adding a bit more functionality to the Lightbox :)

    Posted October 30, 2015 5:48am by Juan Martin
    Juan Martin
    14,335 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Simple Lightbox
    • Perfect

    5 Answers

  • Rishit Shah
    Rishit Shah
    4,975 Points

    adding sign up form to overlay

    Posted August 30, 2015 6:44pm by Rishit Shah
    Rishit Shah
    4,975 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Simple Lightbox
    • Perfect

    1 Answer

  • Anke Altmann
    Anke Altmann
    2,396 Points

    Problem with displaying a video <iframe> in a lightbox

    Posted July 23, 2015 7:33am by Anke Altmann
    Anke Altmann
    2,396 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Simple Lightbox
    • Perfect

    0 Answers

  • Gabriel D. Celery
    Gabriel D. Celery
    13,810 Points

    Hiding overlay issue

    Posted July 17, 2015 1:01pm by Gabriel D. Celery
    Gabriel D. Celery
    13,810 Points
    • CSS
    • jQuery Basics (2014)
    • Creating a Simple Lightbox
    • Perfect

    2 Answers

  • Anke Altmann
    Anke Altmann
    2,396 Points

    This is soo awesome!

    Posted July 17, 2015 10:22am by Anke Altmann
    Anke Altmann
    2,396 Points
    • CSS
    • jQuery Basics (2014)
    • Creating a Simple Lightbox
    • Perfect

    1 Answer

  • J J
    J J
    15,775 Points

    Help

    Posted June 16, 2015 5:01pm by J J
    J J
    15,775 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Simple Lightbox
    • Perfect

    1 Answer

  • Aleksandr Vinogradov
    Aleksandr Vinogradov
    12,113 Points

    Image lightbox.. What if your image is scrolled down?

    Posted February 11, 2015 7:25am by Aleksandr Vinogradov
    Aleksandr Vinogradov
    12,113 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Simple Lightbox
    • Perfect

    2 Answers

  • Tom Checkley
    Tom Checkley
    25,181 Points

    I'm using the append overlay code alongside showing pop up divs, it works fine, apart from some of the css

    Posted January 20, 2015 1:52pm by Tom Checkley
    Tom Checkley
    25,181 Points
    • CSS
    • jQuery Basics (2014)
    • Creating a Simple Lightbox
    • Perfect

    3 Answers

  • Paul Miller
    Paul Miller
    1,277 Points

    Was the code to center the image within the light box ever discussed?

    Posted November 12, 2014 7:43pm by Paul Miller
    Paul Miller
    1,277 Points
    • CSS
    • jQuery Basics (2014)
    • Creating a Simple Lightbox
    • Perfect

    2 Answers

  • David Jarrin
    PLUS
    David Jarrin
    Courses Plus Student 11,182 Points

    getting lightbox to center on page no matter the portal width

    Posted September 4, 2014 1:22pm by David Jarrin
    David Jarrin
    Courses Plus Student 11,182 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Simple Lightbox
    • Perfect

    3 Answers

  • Michael Miller
    Michael Miller
    5,747 Points

    CSS for Jquery created elements

    Posted July 16, 2014 7:19pm by Michael Miller
    Michael Miller
    5,747 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Simple Lightbox
    • Perfect

    1 Answer

  • Samiullah khan
    PLUS
    Samiullah khan
    Courses Plus Student 5,994 Points

    Making overlay Responsive

    Posted May 11, 2014 9:04am by Samiullah khan
    Samiullah khan
    Courses Plus Student 5,994 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Simple Lightbox
    • Perfect

    1 Answer

  • Greg Galus
    Greg Galus
    13,228 Points

    Lightbox video intro to website

    Posted May 1, 2014 7:58pm by Greg Galus
    Greg Galus
    13,228 Points
    • JavaScript
    • jQuery Basics (2014)
    • Creating a Simple Lightbox
    • Perfect

    6 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.