Solved

Problem with a layer using lightbox

Posted on 2006-11-02
5
265 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 200 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
The viewer will learn how to dynamically set the form action using jQuery.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

803 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