Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Problem with a layer using lightbox

Posted on 2006-11-02
5
Medium Priority
?
274 Views
Last Modified: 2006-11-18
I have set up a lighbox slide show on this page.

http://www.expat-online.com/club/irishclub/slideshow/thumb_nails.cfm?album=4

As you can see, my top menu which is coded in js/dhtml is on top of the fusebox layer. I was going to simply lower the lightbox but would prefer to leave it where it is and have code to make sure that the nav info is not displayed.

Appreciate your help.

John
0
Comment
Question by:tubize
  • 4
5 Comments
 
LVL 16

Expert Comment

by:ellandrd
ID: 17860391
give your nav menu a z-index of -1

like:

z-index:-1;  in your CSS styling sheet
0
 

Author Comment

by:tubize
ID: 17860560
Thanks for your prompt response. Changed my css for header to this:

#header{background-color:#BBA97C; padding:5px 0;  height:60px; z-index:-1}

Other relevant css code is below.

#header{background-color:#BBA97C; padding:5px 0;  height:60px;}
 
#toplogo{ width:280px;  float:left; display:inline;  margin:14px 15px 0 14px}
#toplogo img{ display:block;  border:0px solid; margin-left:50px}
 
#topbanner{ float:center; width:auto;  text-align:center; display:inline;  margin:0 10px 0 75px}
#topnav{ height:2.1em;  background:#BBA97C; font-size:.8em;  z-index:-1}
#topnav a{padding:5px 0; width:inherit}

Thanks

John




but it doesn't cut it.

John
0
 
LVL 16

Accepted Solution

by:
ellandrd earned 800 total points
ID: 17860583
ok then set your lightbox to something like: z-index:2000; to force it on top.

if that dont work, play about with z-index on your nav bar that shows through lightbox...

i have used lightboxes before i didnt have this issue so this is why im saying set z-index on your menu bar or nav bar...
0
 
LVL 16

Expert Comment

by:ellandrd
ID: 17860900
thanks for the points and grade!

ellandrd
0
 
LVL 16

Expert Comment

by:ellandrd
ID: 17860906
p.s are you Irish?
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question