Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8324823
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T00:13:03+00:00 2026-06-09T00:13:03+00:00

When the link to my lightbox is clicked on – it moves the contents

  • 0

When the link to my lightbox is clicked on – it moves the contents of the page below the light box. I have put z-index on css for my lightbox but I believe this isn’t enough. I’m not sure which direction I need to go next. I am trying to keep the lightbox over top of the page content. I don’t want the content on the page to move down, I would like the lightbox to overlay the original page’s content.

My Fiddle: http://jsfiddle.net/stillb4llin/zZvLG/

I would think I need to create another function in jquery to insert into where I have put positionLightBox1(); (commented out)

I also think I’m doing the CSS wrong. I’d like to believe I have a firm grasp on css, but I’m sure you won’t!

Experience with jquery: I’ve been playing with jquery for a few weeks
(editing code and making it work for me) and I’ve done some reading
and have created a few fiddles. Right now I’ve felt comfortable
enough to create this with the help of some of my experience and some
stack overflow answers.

Your comments are appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T00:13:06+00:00Added an answer on June 9, 2026 at 12:13 am

    Just make position:absolute on #lightBoxContent instead of position:relative

    http://jsfiddle.net/zZvLG/9/

    …this removes the lightbox from “the flow” and prevents it from pushing the other page contents further down.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem in lightbox. This is the link when i clicked login
I'm using a light box(jquery.lightbox-0.5.js) for my gallery page. And my code for display
i have some swf apps that open in a lightbox when a link to
I have a page with 8 thumbnails, which when clicked pop up a jquery
I have implemented the jquery thick box in my page to show another page
to show light-box <a href=images/image-1.jpg rel=lightbox> <img src=images/thumb-1.jpg width=100 height=40 alt= /> </a> i
On this page I have a link to a google map which opens in
I have a page where i have several links that when clicked, load a
If I have a lightbox gallery, is it possible to link one of the
I have a page with a link to a view in another controller and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.